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

Re: svnadmin trunk build problem MacOSX

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-06-09 15:42:31 CEST

On 6/9/06, Martin Hauner <Martin.Hauner@gmx.net> wrote:
> Hi,
>
> i have a problem building the trunk on MacOSX
>
> ./autogen.sh
> ./configure --enable-shared=false --with-ssl
> make
>
> fails with
>
> cd subversion/svnadmin && /bin/sh /Users/hauner/Development/subversion/svn-trunk/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -L/Users/hauner/Development/subversion/svn-trunk/apr-util/xml/expat/lib -rpath /usr/local/lib -o svnadmin main.o ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /Users/hauner/Development/subversion/svn-trunk/apr-util/libaprutil-0.la /Users/hauner/Development/subversion/svn-trunk/apr-util/xml/expat/lib/libexpat.la -liconv /Users/hauner/Development/subversion/svn-trunk/apr/libapr-0.la -lresolv -lpthread -lz
> /usr/bin/ld: Undefined symbols:
> _CFRelease
> _SecKeychainAddGenericPassword
> _SecKeychainFindGenericPassword
> _SecKeychainItemFreeContent
> _SecKeychainItemModifyAttributesAndData
> _SecKeychainSetUserInteractionAllowed
> collect2: ld returned 1 exit status
> make: *** [subversion/svnadmin/svnadmin] Error 1

Excellent! This is the second time I've heard reports of this kind of
build failure, it's good to know that the first time wasnt just
something screwed up on that person's machine.

To "fix" the problem last time we found we needed to add
$(SVN_KEYCHAIN_LIBS) to the link commands that were failing in
build-outputs.mk. The real question is why that was needed though.
In theory it seems like libsvn_subr should already be linked against
the appropriate frameworks, so it should pull them in when something
like svnadmin is linked against libsvn_subr...

Could you perhaps show us the output of 'otool -L' on libsvn_subr's
dylib (it might be living inside a .libs directory someplace in the
libsvn_subr directory).

You also might want to try rolling back changes to build.conf and the
various parts of the configure scripts, to see when the problem
occurred.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 9 15:46:15 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.