[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: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-12-06 22:04:31 CET

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:

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 Wed Dec 6 22:05:32 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.