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

Compilation error on OS X PowerPC: /usr/lib/libexpat.a: No such file or directory

From: McHenry, Matt <mmchenry_at_carnegielearning.com>
Date: Mon, 18 Aug 2008 15:03:32 -0400

        I'm trying to compile subversion 1.5.1 from source on OS X
Server 10.5. On an Intel machine, it works fine (albeit with lots of
warnings). But on a PowerPC machine it fails because it can't find
'libexpat.a'. (I get the same error with 1.5.0.) Any help is
appreciated!

# --- Intel output ---
$ uname -a
Darwin build-machine.carnegielearning.com 9.4.0 Darwin Kernel Version
9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
i386

$ make
<snip>
libtool: link: warning: `/usr/lib//libexpat.la' seems to be moved
libtool: link: warning: `/usr/lib//libiconv.la' seems to be moved
<ends with no errors>

$ ls -l /usr/lib/libexpat*
-rwxr-xr-x 1 root wheel 651248 Sep 23 2007
/usr/lib/libexpat.1.5.0.dylib
lrwxr-xr-x 1 root wheel 20 Jul 18 08:22 /usr/lib/libexpat.1.dylib
-> libexpat.1.5.0.dylib
-rw-r--r-- 1 root wheel 538508 Jul 21 16:21 /usr/lib/libexpat.a
lrwxr-xr-x 1 root wheel 20 Jul 18 08:22 /usr/lib/libexpat.dylib
-> libexpat.1.5.0.dylib
-rwxr-xr-x 1 root wheel 805 Sep 23 2007 /usr/lib/libexpat.la

# --- PowerPC output ---
$ uname -a
Darwin backup-build-machine.carnegielearning.com 9.4.0 Darwin Kernel
Version 9.4.0: Mon Jun 9 19:36:17 PDT 2008;
root:xnu-1228.5.20~1/RELEASE_PPC Power Macintosh

#second run, to isolate error:
$ make
------ making all in apr
make[2]: Nothing to be done for `local-all'.
------ completed all in apr
------ making all in apr-util
make[2]: Nothing to be done for `local-all'.
------ completed all in apr-util
------ making all in neon
make[2]: Nothing to be done for `all'.
------ completed all in neon
------ making all in serf
/Users/mmchenry/dl/subversion-1.5.1/apr/libtool --silent --mode=link gcc
-static -o test/serf_get libserf-0.la test/serf_get.lo
/Users/mmchenry/dl/subversion-1.5.1/apr-util/libaprutil-1.la -lsqlite3
-lexpat -liconv /Users/mmchenry/dl/subversion-1.5.1/apr/libapr-1.la
-lpthread -lz -lssl -lcrypto
powerpc-apple-darwin9-gcc-4.0.1: /usr/lib/libexpat.a: No such file or
directory
make[1]: *** [test/serf_get] Error 1
make: *** [external-all] Error 1

$ ls -l /usr/lib/libexpat*
-rwxr-xr-x 1 root wheel 651248 Sep 23 2007
/usr/lib/libexpat.1.5.0.dylib
lrwxr-xr-x 1 root wheel 20 Aug 18 10:52 /usr/lib/libexpat.1.dylib
-> libexpat.1.5.0.dylib
lrwxr-xr-x 1 root wheel 20 Aug 18 10:52 /usr/lib/libexpat.dylib
-> libexpat.1.5.0.dylib
-rwxr-xr-x 1 root wheel 805 Sep 23 2007 /usr/lib/libexpat.la

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-18 21:03:57 CEST

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

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