You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Laster <mi...@marketocracy.com> on 2005/04/08 12:55:14 UTC

Problems building Subversion 1.2.0 RC1 on OS X

On Apr 7, 2005, at 4:53 PM, Ben Reser wrote:

> The first release candidate of Subversion 1.2.0 is ready and available
> from:
>
>    http://subversion.tigris.org/tarballs/subversion-1.2.0-rc1.tar.gz
>    http://subversion.tigris.org/tarballs/subversion-1.2.0-rc1.tar.bz2
>    http://subversion.tigris.org/tarballs/subversion-1.2.0-rc1.zip

I'm having trouble getting this to build static binaries on OS X.

With 1.1.4 I would configure with:

./configure  --with-zlib --with-ssl --with -openssl --without-apache 
--without-apxs --enable-all-static

and it would build binaries without dynamically linking to anything but 
OS level shared libraries.

With 1.2.0 this same configuration no longer links.  It complains about 
missing /usr/lib/crt0.0.

It seems OS X *really* doesn't want you to fully static link files so 
they make it nearly impossible
by not providing key components.

But I don't really want fully static.  I just want it to not 
dynamically link against anything that is not
part of the standard OS install so that the svn binaries have no 
external dependencies.

I then tried using:

./configure --with-zlib --with-ssl --with-openssl --without-apache 
--without-apxs --disable-shared

This almost works, except that it is still dynamically linking against 
BerkeleyDB:

otool -Lv svn
svn:
         /usr/local/BerkeleyDB.4.3/lib/libdb-4.3.dylib (compatibility 
version 0.0.0, current version 0.0.0)
         time stamp 1112668813 Mon Apr  4 22:40:13 2005
         /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
version 5.0.0)
         time stamp 1103154356 Wed Dec 15 18:45:56 2004
         /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, 
current version 324.9.0)
         time stamp 1103154355 Wed Dec 15 18:45:55 2004
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.1.1)
         time stamp 1103154353 Wed Dec 15 18:45:53 2004
         /usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7, 
current version 0.9.7)
         time stamp 1103154391 Wed Dec 15 18:46:31 2004
         /usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, 
current version 0.9.7)
         time stamp 1103154356 Wed Dec 15 18:45:56 2004
         /usr/lib/libz.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)
         time stamp 1103154355 Wed Dec 15 18:45:55 2004

How can I compile Subversion to use BerkeleyDB but not dynamically link 
to the library?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org