Is this an "ld" problem? what version of ld does OS X come with? You might
want the GNU binutils version.
-----Original Message-----
From: Karan, Cem (Civ, ARL/CISD) [mailto:CKaran@arl.army.mil]
Sent: Friday, April 08, 2005 11:16 AM
To: Richard Jones; users@subversion.tigris.org
Subject: RE: Problems building on OS X
Try running the autogen script, and then rerunning configure. If that
doesn't work, rerun configure, but with the maintainer mode on, and with
shared libraries disabled (when you run the autogen script, it will tell
you about those options)
Good luck,
Cem Karan
-----Original Message-----
From: Richard Jones [mailto:richard@commonground.com.au]
Sent: Fri 08-Apr-05 02:45 AM
To: users@subversion.tigris.org
Cc:
Subject: Problems building on OS X
I'm having trouble building version 1.1.3 on OS X.
The configure (no arguments) and make steps appear to work correctly.
When I "make install" though, I get a ton of problems with linking errors
like:
...
/bin/sh /usr/local/src/subversion-1.1.3/apr/libtool --mode=install cp
libaprutil-0.la /usr/local/apr/lib
libtool: install: warning: relinking `libaprutil-0.la'
(cd /usr/local/src/subversion-1.1.3/apr-util; /bin/sh
/usr/local/src/subversion-1.1.3/apr/libtool --mode=relink gcc -g -O2
-DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/usr/local/src/subversion-1.1.3/apr-util/include
-I/usr/local/src/subversion-1.1.3/apr-util/include/private
-I/usr/local/src/subversion-1.1.3/apr/include
-I/usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib -version-info
9:5:9 -o libaprutil-0.la -rpath /usr/local/apr/lib buckets/apr_brigade.lo
buckets/apr_buckets.lo buckets/apr_buckets_alloc.lo
buckets/apr_buckets_eos.lo buckets/apr_buckets_file.lo
buckets/apr_buckets_flush.lo buckets/apr_buckets_heap.lo
buckets/apr_buckets_mmap.lo buckets/apr_buckets_pipe.lo
buckets/apr_buckets_pool.lo buckets/apr_buckets_refcount.lo
buckets/apr_buckets_simple.lo buckets/apr_buckets_socket.lo
crypto/apr_md4.lo crypto/apr_md5.lo crypto/apr_sha1.lo crypto/getuuid.lo
crypto/uuid.lo dbm/apr_dbm.lo dbm/apr_dbm_berkeleydb.lo
dbm/apr_dbm_gdbm.lo dbm/apr_dbm_ndbm.lo dbm/apr_dbm_sdbm.lo
dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo
dbm/sdbm/sdbm_pair.lo encoding/apr_base64.lo hooks/apr_hooks.lo
ldap/apr_ldap_compat.lo ldap/apr_ldap_url.lo uri/apr_uri.lo xml/apr_xml.lo
misc/apr_date.lo misc/apr_queue.lo misc/apr_reslist.lo misc/apr_rmm.lo
misc/apu_version.lo strmatch/apr_strmatch.lo xlate/xlate.lo
-L/usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib -ldb-4.2
/usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib/libexpat.la
-liconv /usr/local/src/subversion-1.1.3/apr/libapr-0.la -lresolv
-lpthread)
gcc -r -keep_private_externs -nostdlib -o
.libs/libaprutil-0.0.9.5.dylib-master.o buckets/apr_brigade.lo
buckets/apr_buckets.lo buckets/apr_buckets_alloc.lo
buckets/apr_buckets_eos.lo buckets/apr_buckets_file.lo
buckets/apr_buckets_flush.lo buckets/apr_buckets_heap.lo
buckets/apr_buckets_mmap.lo buckets/apr_buckets_pipe.lo
buckets/apr_buckets_pool.lo buckets/apr_buckets_refcount.lo
buckets/apr_buckets_simple.lo buckets/apr_buckets_socket.lo
crypto/apr_md4.lo crypto/apr_md5.lo crypto/apr_sha1.lo crypto/getuuid.lo
crypto/uuid.lo dbm/apr_dbm.lo dbm/apr_dbm_berkeleydb.lo
dbm/apr_dbm_gdbm.lo dbm/apr_dbm_ndbm.lo dbm/apr_dbm_sdbm.lo
dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo
dbm/sdbm/sdbm_pair.lo encoding/apr_base64.lo hooks/apr_hooks.lo
ldap/apr_ldap_compat.lo ldap/apr_ldap_url.lo uri/apr_uri.lo xml/apr_xml.lo
misc/apr_date.lo misc/apr_queue.lo misc/apr_reslist.lo misc/apr_rmm.lo
misc/apu_version.lo strmatch/apr_strmatch.lo xlate/xlate.lo && gcc
-dynamiclib -flat_namespace -undefined suppress -o
.libs/libaprutil-0.0.9.5.dylib .libs/libaprutil-0.0.9.5.dylib-master.o
-L/usr/local/src/subversion-1.1.3/apr-util/xml/expat/lib
/usr/local/lib/libdb-4.2.dylib /usr/local/apr/lib/libexpat.dylib
/usr/lib/libiconv.dylib /usr/local/apr/lib/libapr-0.dylib -lresolv
-lpthread -lc -install_name /usr/local/apr/lib/libaprutil-0.0.dylib
-compatibility_version 10 -current_version 10.5
gcc: /usr/local/apr/lib/libapr-0.dylib: Too many levels of symbolic links
libtool: install: error: relink `libaprutil-0.la' with the above command
before installing it ...
The relevant contents of /usr/local/apr/lib are:
lrwxr-xr-x 1 root wheel 20 8 Apr 16:34 libapr-0.dylib ->
libapr-0.0.9.5.dylib
lrwxr-xr-x 1 root wheel 16 8 Apr 16:17 libapr-0.0.9.5.dylib ->
libapr-0.0.dylib
lrwxr-xr-x 1 root wheel 20 8 Apr 16:34 libapr-0.0.dylib ->
libapr-0.0.9.5.dylib
which quite obviously causes the "Too many levels of symbolic links"
error. Google doesn't seem to offer any help here - other people have hit
this problem, but with no real resolution (someone mentioned that adding
--with-ssl to the configure args fixed his build, but this didn't work for
me).
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 8 17:45:59 2005