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

Re: Svn 1.1.0-rc1 fails to build on Mac OS X [SOLVED]

From: Christian Schaffner <chris01_at_users.sourceforge.net>
Date: 2004-07-19 15:31:18 CEST

[Replying to myself]

The libtool used to build the 1.0.1-rc1 tarball doesn't seem to be
compatible with Mac OS X. I used libtool 1.5.6 and ran

./autogen.sh

before ./configure. This seems to have fixed the build. Could anybody
also using Mac OS X verify this?

Thanks, Chris.

PS: Is there a reason why svn is not switching to the newer libtool?

On 15.07.2004, at 00:00, Christian Schaffner wrote:
> I am trying to update the Fink package for Mac OS X to the 1.1.0-rc1
> release. But the build fails with:
>
> ./configure --prefix=/sw --libexecdir='${prefix}/lib/svn'
> --mandir='${prefix}/share/man' --infodir='${prefix}/share/info'
> --with-neon=/sw --with-apr=/sw --with-apr-util=/sw --enable-shared
> --with-apxs=/sw/sbin/apxs --without-apache --disable-mod-activation
> --with-jdk=/System/Library/Frameworks/JavaVM.framework/Versions/
> CurrentJDK/Home --with-swig --with-python=/sw/bin/python2.3
> --with-perl=perl5.8.1 PYTHON2=/sw/bin/python2.3 PERL=perl5.8.1
> Configuring Subversion 1.1.0
>
> ...
>
> cd subversion/libsvn_repos && /bin/sh
> /sw/src/svn-ssl-1.1.0-rc1-11/subversion-1.1.0-rc1/libtool --silent
> --mode=link gcc -g -O2 -g -O2 -DNEON_ZLIB -DNEON_SSL -L/sw/lib
> -L/sw/lib -rpath /sw/lib -o libsvn_repos-1.la -no-undefined commit.lo
> delta.lo dump.lo fs-wrap.lo hooks.lo load.lo log.lo node_tree.lo
> replay.lo reporter.lo repos.lo rev_hunt.lo
> ../../subversion/libsvn_fs/libsvn_fs-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la /sw/lib/libaprutil-0.la
> -lldap -llber -lgdbm -ldb-4.2 -lexpat -liconv /sw/lib/libapr-0.la
> -lresolv -lpthread -lintl
> ld: warning -dylib_install_name /sw/lib/libsvn_repos-1.0.dylib not
> found in segment address table LD_SEG_ADDR_TABLE
> /sw/var/lib/fink/prebound/seg_addr_table
> ld: warning prebinding disabled because dependent library:
> /sw/lib/libsvn_fs-1.0.dylib is not prebound
> ld: warning can't open dynamic library: /sw/lib/libsvn_fs_fs-1.0.dylib
> (checking for undefined symbols may be affected) (No such file or
> directory, errno = 2)
> ld: warning can't open dynamic library:
> /sw/lib/libsvn_fs_base-1.0.dylib (checking for undefined symbols may
> be affected) (No such file or directory, errno = 2)
> ld: warning multiple definitions of symbol _locale_charset
> /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
> /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> ld: Undefined symbols:
> _svn_fs_base__init referenced from libsvn expected to be defined in
> /sw/lib/libsvn_fs_base-1.0.dylib
> _svn_fs_fs__init referenced from libsvn expected to be defined in
> /sw/lib/libsvn_fs_fs-1.0.dylib
> /usr/bin/libtool: internal link edit command failed
> make: *** [subversion/libsvn_repos/libsvn_repos-1.la] Error 1
> ### execution of make failed, exit code 2
> Failed: compiling svn-ssl-1.1.0-rc1-11 failed
>
> There are no libsvn* files installed in /sw/lib:
> ls: /sw/lib/libsvn*: No such file or directory
> and the build system shouldn't look there. At least that's what i
> think.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 19 15:31:38 2004

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