Thanks to Max Horn there is now a new revision (0.9.2-2) in fink unstable tree which should fix this problem with apr-util. Could you 'fink selfupdate-cvs' and tell me if it works?
Thanks a lot, Chris.
On Sonntag, Februar 9, 2003, at 05:42 Uhr, jfm wrote:
On Sunday, Feb 9, 2003, at 13:03 Europe/Brussels, Roland Bramm wrote:
Hi,I had the same _ quite strange _ error (which was reported to the maintainer).
i wanted to use svn (subversion) (i'm in the unstable branch) which needs the apr, but the apr cant compile due to:
mv /sw/src/root-apr-0.9.2-1/sw/lib/libaprutil-0.0.9.2.dylib /sw/src/root-apr-shlibs-0.9.2-1/sw/lib/
mv: cannot stat `/sw/src/root-apr-0.9.2-1/sw/lib/libaprutil-0.0.9.2.dylib': No such file or directory
### execution of mv failed, exit code 1
Failed: installing apr-shlibs-0.9.2-1 failed
which earlyer failed
/bin/sh /sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr/libtool --mode=install cp libaprutil-0.la /sw/src/root-apr-0.9.2-1/sw/lib
libtool: install: warning: relinking `libaprutil-0.la'
.....(very long gcc comandline ;-)
gcc: /sw/lib/libapr-0.dylib: No such file or directory
libtool: install: error: relink `libaprutil-0.la' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /sw/lib'
What do you get with the following ? ls -l /sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr-util/.libs
The error seems here to happen earlier _ one shouldn't probably get to that relinking at all:
1) While libapr is fully built _ cf
/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr/.libs# ls -l ; ls -l ../libapr*
-rwxr-xr-x 1 root 100 616300 Feb 9 00:49 libapr-0.0.9.2.dylib
-rw-r--r-- 1 root 100 625604 Feb 9 00:49 libapr-0.0.9.2.dylib-master.o
lrwxr-xr-x 1 root 100 20 Feb 9 00:49 libapr-0.0.dylib -> libapr-0.0.9.2.dylib
-rw-r--r-- 1 root 100 779812 Feb 9 00:49 libapr-0.a
lrwxr-xr-x 1 root 100 20 Feb 9 00:49 libapr-0.dylib -> libapr-0.0.9.2.dylib
lrwxr-xr-x 1 root 100 14 Feb 9 00:49 libapr-0.la -> ../libapr-0.la
-rw-r--r-- 1 root 100 718 Feb 9 00:49 libapr-0.lai
-rw-r--r-- 1 root 100 717 Feb 9 00:49 ../libapr-0.la
_ the following command, which is the exact analog for libaprutil to the one that created libapr :
/bin/sh /Volumes/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr/libtool --silent --mode=link gcc -g -O2
-DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-isystem /sw/include -I/Volumes/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr-util/include
-I/Volumes/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr-util/include/ private
-I/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr/include -I/Volumes/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr/include
-I/sw/include -version-info 9:2:9 -o libaprutil-0.la -rpath /sw/lib buckets/apr_buckets_file.lo
buckets/apr_buckets_pool.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_refcount.lo
buckets/apr_buckets_heap.lo buckets/apr_buckets_simple.lo buckets/apr_buckets.lo
buckets/apr_buckets_mmap.lo buckets/apr_buckets_socket.lo buckets/apr_buckets_eos.lo
buckets/apr_buckets_pipe.lo buckets/apr_brigade.lo buckets/apr_buckets_alloc.lo crypto/apr_sha1.lo
crypto/apr_md4.lo crypto/apr_md5.lo crypto/uuid.lo crypto/getuuid.lo dbm/sdbm/sdbm.lo
dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo dbm/apr_dbm.lo
dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm_sdbm.lo dbm/apr_dbm_ndbm.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_rmm.lo misc/apr_reslist.lo misc/apr_queue.lo misc/apu_version.lo
strmatch/apr_strmatch.lo xlate/xlate.lo -L/sw/lib -lgdbm -ldb-4.0 /sw/lib/libexpat.la -liconv
/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr/libapr-0.la -lm
is followed by no error msg whatsoever (nor preceded), the make goes straight to the next step :
gawk -f /Volumes/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr/build/ make_exports.awk /Volumes/sw/src/apr-0.9.2-1/httpd-2.0.44/srclib/apr-util/include/*.h > exports.c
but doesn't seem to create any libaprutil...
(Forget about the details of the commands, results are similar without -isystem...)
JF Mertens
------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
