Similarly, I'm having trouble having subversion find my versions of
things. LD_LIBRARY_PATH appears to have cleared up most of that (still
not using my openssl, but the OS's should be acceptable), but I'm now
getting:
cd subversion/libsvn_subr && /bin/sh
/svn/build/subversion-0.36.0/libtool --silent --mode=link gcc -g -O2
-g -O2 -pthread -DNEON_ZLIB -DNEON_SSL -L/svn/pkg/openssl-0.9.7c/lib
-L/svn/pkg/db-4.2.52/lib -L/svn/pkg/httpd-2.0.48/lib
-L/svn/pkg/db-4.2.52/lib -rpath /svn/pkg/subversion-0.36.0/lib -o
libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo
config_file.lo config_win.lo error.lo getdate.lo hash.lo io.lo md5.lo
opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo
svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo
/svn/pkg/httpd-2.0.48/bin/libaprutil-0.la -lgdbm -ldb -lexpat
/svn/pkg/httpd-2.0.48/bin/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
libtool: link: cannot find the library
`/svn/pkg/httpd-2.0.48/bin/libaprutil-0.la' <=============
I can't figure out why it's looking in the bin directory (I tried just
specifying the httpd-2.0.48 install dir rather than the
httpd-2.0.48/bin/apr-config, but I got the same thing. I tried
--with-apache= rather than --with-apxs, but then config died looking
for mod_dav source in my httpd install, which wasn't there, presumably
because mod_dav was compiled into httpd. I think the directions did
say that with-apache needs the apache build dirs. Anyway if apxs will
work, that's fine. I don't think this is related to the
bin/libaprutil-0.la error.
Below are my configurations.
-Travis Pouarz
==== db4 =====
../dist/configure --prefix=/svn/pkg/db-4.2.52
====== httpd =====
env CPPFLAGS='-I/svn/pkg/openssl-0.9.7c/include
-I/svn/pkg/openssl-0.9.7c/include/openssl -I/svn/pkg/db-4.2.52/include'
\
LDFLAGS='-L/svn/pkg/openssl-0.9.7c/lib -L/svn/pkg/db-4.2.52/lib'
LD_LIBRARY_PATH='/svn/pkg/db-4.2.52/lib:/svn/pkg/openssl-0.9.7c/lib' \
./configure --prefix=/svn/pkg/httpd-2.0.48 --enable-ssl --enable-dav
--enable-so \
--with-berkeley-db=/svn/pkg/db-4.2.52
tpouarz$ env
LD_LIBRARY_PATH='/svn/pkg/db-4.2.52/lib:/svn/pkg/openssl-0.9.7c/lib'
ldd /svn/pkg/httpd-2.0.48/bin/httpd
libaprutil-0.so.0 =>
/afs/eda/u/tpouarz/svn/pkg/httpd-2.0.48/lib/libaprutil-0.so.0
(0x40017000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x4003b000)
libdb-4.2.so => /svn/pkg/db-4.2.52/lib/libdb-4.2.so (0x40042000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x400f0000)
libapr-0.so.0 =>
/afs/eda/u/tpouarz/svn/pkg/httpd-2.0.48/lib/libapr-0.so.0 (0x40110000)
librt.so.1 => /lib/tls/librt.so.1 (0x4012e000)
libm.so.6 => /lib/tls/libm.so.6 (0x40140000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40162000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4018f000)
libdl.so.2 => /lib/libdl.so.2 (0x401a5000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x401a9000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
====== subversion =====
env CPPFLAGS='-I/svn/pkg/openssl-0.9.7c/include
-I/svn/pkg/openssl-0.9.7c/include/openssl -I/svn/pkg/db-4.2.52/include'
\
LDFLAGS='-L/svn/pkg/openssl-0.9.7c/lib -L/svn/pkg/db-4.2.52/lib
-L/svn/pkg/httpd-2.0.48/lib'
LD_LIBRARY_PATH='/svn/pkg/db-4.2.52/lib:/svn/pkg/openssl-0.9.7c/lib:/
svn/pkg/httpd-2.0.48/lib' \
./configure --prefix=/svn/pkg/subversion-0.36.0 \
--with-apxs=/svn/pkg/httpd-2.0.48/bin/apxs \
--with-ssl \
--with-apr=/svn/pkg/httpd-2.0.48/bin/apr-config \
--with-apr-util=/svn/pkg/httpd-2.0.48
The build dies with:
cd subversion/libsvn_subr && /bin/sh
/svn/build/subversion-0.36.0/libtool --silent --mode=link gcc -g -O2
-g -O2 -pthread -DNEON_ZLIB -DNEON_SSL -L/svn/pkg/openssl-0.9.7c/lib
-L/svn/pkg/db-4.2.52/lib -L/svn/pkg/httpd-2.0.48/lib
-L/svn/pkg/db-4.2.52/lib -rpath /svn/pkg/subversion-0.36.0/lib -o
libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo
config_file.lo config_win.lo error.lo getdate.lo hash.lo io.lo md5.lo
opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo
svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo
/svn/pkg/httpd-2.0.48/bin/libaprutil-0.la -lgdbm -ldb -lexpat
/svn/pkg/httpd-2.0.48/bin/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
libtool: link: cannot find the library
`/svn/pkg/httpd-2.0.48/bin/libaprutil-0.la'
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 16 01:37:11 2004