You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Christian Schaffner <ch...@users.sourceforge.net> on 2004/07/19 13:31:18 UTC

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

[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

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

Posted by David Summers <da...@summersoft.fay.ar.us>.
On Mon, 19 Jul 2004, Ben Reser wrote:

> On Mon, Jul 19, 2004 at 03:31:18PM +0200, Christian Schaffner wrote:
> > [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?
> 
> We were using 1.4.3 because there were problems if we didn't, but I'd
> have to go looking through the list archives to figuer out what they
> were.
> 
> I can try upgrading to 1.5.6 and see if it works for everyone on the
> next rc.
> 

+1 from me.  I can try it tonight or tomorrow on MAC OS X 10.3.4.

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 


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

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

Posted by Ben Reser <be...@reser.org>.
On Mon, Jul 19, 2004 at 03:31:18PM +0200, Christian Schaffner wrote:
> [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?

We were using 1.4.3 because there were problems if we didn't, but I'd
have to go looking through the list archives to figuer out what they
were.

I can try upgrading to 1.5.6 and see if it works for everyone on the
next rc.

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

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