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

1.2 build possible bug with '--enable-all-static'

From: Gal Aviel <galaviel_at_yahoo.com>
Date: 2005-06-09 16:35:25 CEST

Hi All,

I am building Subversion 1.2 on a linux box, hoping to accomplish two things:

(a) create a statically linked 'svn' cmdline client, so I can put it somewhere
on a network drive for all the users, and

(b) build the required mod_dav_svn Apache module, so I can upgrade my apache to
use subversion 1.2.

It appears, that (a) is mutually exclusive with (b), i.e. when
specifying '--enable-all-static' to configure, some shared libs don't get created
in subversion's $PREFIX/lib, thus when I try to launch Apache I get :

  /opt/apache2/bin/apachectl start
  Syntax error on line 232 of /opt/apache2/conf/httpd.conf:
  Cannot load /opt/apache2/modules/mod_dav_svn.so into server:
libsvn_repos-1.so.0: cannot open shared object file: No such file or directory

When doing 'ls -la' in e.g. /opt/subversion1.2/lib (that's where I installed
1.2), I indeed don't see an "so" version of the libsvn_repos library, only the
".a" (static) version. Also, the "so" of other libs is missing as well.

Now, according to './configure --help', the '--enable-all-static' is suppose to
      "Build completely static (standalone) binaries". BUT it doesn't say
anything about not building any shared libs while using this flag.

So, either the 'configure' help message or the behaviour of the build process
needs to be modified.

Am I making sense here ?

If so, should I submit this as a bug ?

Thanks in advance, Gal.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 9 17:14:31 2005

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.