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

Can't build Subversion against installed libapr, but build against libapr source tree is fine

From: Stephen Clouse <stephenc_at_theiqgroup.com>
Date: 2002-06-21 03:15:13 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

With repository tip as of about five minutes ago (r2302) and configured like
so:

        ./configure --prefix=/home/stephenc/bin/subversion \
                --with-apr=/home/stephenc/bin/apache-2.0 \
                --with-apr-util=/home/stephenc/bin/apache-2.0 \
                --with-apxs=/home/stephenc/bin/apache-2.0/bin/apxs \
                --enable-maintainer-mode

make fails with the following:

cd subversion/libsvn_subr && /bin/sh
        /home/stephenc/devel/bleeding-edge/subversion/libtool --silent
        --mode=link gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
        -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -Wall
        -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
        -pthread -DNEON_ZLIB -DNEON_SSL -Wpointer-arith -Wwrite-strings
        -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I.
        -I/home/stephenc/bin/apache-2.0/include
        -I/home/stephenc/bin/apache-2.0/include -I/usr/include/neon
        -rpath /usr/local/lib -o libsvn_subr-1.la config.lo config_file.lo
        config_win.lo getdate.lo hash.lo io.lo path.lo quoprint.lo sorts.lo
        svn_base64.lo svn_error.lo svn_string.lo target.lo time.lo xml.lo
        /home/stephenc/bin/apache-2.0/lib/libaprutil.la -lgdbm -ldb -lexpat
        /home/stephenc/bin/apache-2.0/lib/libapr.la -lm -lcrypt -lnsl -ldl
libtool: link: warning: library
        `/home/stephenc/bin/apache-2.0/lib/libaprutil.la' was moved.
libtool: link: warning: library `/home/stephenc/bin/apache-2.0/lib/libapr.la'
        was moved.
gcc: /home/stephenc/bin/apache-2.0/lib/.libs/libaprutil.a: No such file or
        directory
gcc: /home/stephenc/bin/apache-2.0/lib/.libs/libapr.a: No such file or
        directory
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

However, if I point configure at my Apache source tree for apr and apr-util,
Subversion builds fine. Seems like libtool is tripping over itself somewhere
(of course, it seems to do that a lot -- it doesn't want to install mod_dav_svn
without some tweaking either).

- --
Stephen Clouse <stephenc@theiqgroup.com>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9En4hA4aoazQ9p2cRAhhnAKCuocFBO+Rk9c3C8rwUXYQ8nz9NBQCdEjiG
FeyyP6pNY+czY5be+zQKF90=
=6BZJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 21 03:15:51 2002

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.