[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How do I install the "svn" client and NOT the server?

From: Jon Koerber <cryogen_at_mac.com>
Date: 2006-12-07 00:36:49 CET

On Dec 6, 2006, at 1:04 PM, Erik Huelsmann wrote:

> On 12/6/06, Eric Hanchrow <offby1@blarg.net> wrote:
>> >>>>> "Jon" == Jon Koerber <cryogen@mac.com> writes:
>> >> The tarball includes the sources for both the client and the
>> >> servers. I think you might be able to do a client-only build
>> >> using the right flags for ./configure.
>> Jon> Does anyone know if this is true or how to do this?
>> The first sentence is certainly true; the second I suspect is false.
> That's right. Subversion's executables are simple wrappers around the
> subversion libraries. The svnserve server isn't an exception and
> counts a trivial number of lines:

Excellent! That's exactly what I needed to hear and explains
everything. I suspected it was something like that, but since there
is no mention of how the binaries fit into the build process it was
unclear. Maybe i'll suggest a one-sentence addition to the INSTALL
document to point out that fact.

Thanks again Erik, and everyone else, for your comments and help!


> erik@bartje:~/src/svn$ cat subversion/svnserve/{*.c,*.h} | wc -l
> 4068
> Which means that the *total* number of lines (including comment lines
> and empty lines!) of the svnserve server program is 4068. There's no
> gain in not running those lines through a compiler... :-)
>> Why is it important that you not build the server? Are you missing
>> some library on which it depends? If so, just invoke make with the
>> "-k" option, which will tell it to continue despite errors; you'll
>> then wind up getting everything built than can be built.
>> Jon> There must be a way to accomplish this or am I missing
>> Jon> something?
>> As I said, I doubt there's any way to do this, since I can't think of
>> any value in not building the server. If you simply don't want to
>> use
>> the server bits, just let 'em build, and then ... don't use them :-)
> If you don't want it, simply remove the svnserve executable after
> running 'make install'...
> bye,
> Erik.
> BTW: In compiled form (including symbols!) it still has a trivial
> file size:
> erik@bartje:~/src/svn$ ls -l `which svnserve`
> -rwxr-xr-x 1 root root 180447 Nov 29 20:05 /usr/local/bin/svnserve
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 7 00:37:38 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.