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

0.25 build problem

From: Scott Sanders <ssanders_at_dotnot.org>
Date: 2003-07-10 20:57:14 CEST

Currently using 0.24.2, so I downloaded the 0.25 tarball, and ran into
this problem during make:

/bin/sh /root/dev/subversion-0.25/libtool --silent --mode=compile gcc
-D_GNU_SOURCE -g -pthread -DNEON_ZLIB -Wpointer-arith -Wwrite-strings
-Wshadow -DSVN_DEBUG -DAP_DEBUG -std=c89 -I./subversion/include -I.
-I/root/dev/subversion-0.25/neon/src -I/usr/local/include/neon
-I/usr/local/BerkeleyDB.4.0/include -I/usr/local/apr/include/apr-0
-I/usr/local/apr/include/apr-0 -o subversion/libsvn_subr/xml.lo -c
cd subversion/libsvn_subr && /bin/sh /root/dev/subversion-0.25/libtool
--silent --mode=link gcc -g -pthread -DNEON_ZLIB -Wpointer-arith
-Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -std=c89 -rpath
/usr/local/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 /usr/local/apr/lib/libaprutil-0.la -lgdbm -ldb
-lexpat /usr/local/apr/lib/libapr-0.la -lm -lcrypt -lnsl -ldl
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

I ran configure like this (same script that built 0.24.2):

./configure \
   --enable-maintainer-mode \
   --with-apxs=/usr/local/apache2/bin/apxs \
   --with-jdk=/usr/java/jdk \
   --with-apr=/usr/local/apr/bin/apr-config \

and ldconfig -p | grep libdb gives me:

    libdb1.so (libc6) => /usr/lib/libdb1.so
         libdb_tcl.so (libc6) => /usr/lib/libdb_tcl.so
         libdb_tcl-3.3.so (libc6) => /usr/lib/libdb_tcl-3.3.so
         libdb_tcl-3.2.so (libc6) => /usr/lib/libdb_tcl-3.2.so
         libdb_tcl-3.1.so (libc6) => /usr/lib/libdb_tcl-3.1.so
         libdb_cxx-4.0.so (libc6) => /usr/lib/libdb_cxx-4.0.so
         libdb_cxx-3.3.so (libc6) => /usr/lib/libdb_cxx-3.3.so
         libdb_cxx-3.2.so (libc6) => /usr/lib/libdb_cxx-3.2.so
         libdb_cxx-3.1.so (libc6) => /usr/lib/libdb_cxx-3.1.so
         libdb.so.3 (libc6) => /usr/lib/libdb.so.3
         libdb.so.2 (libc6) => /usr/lib/libdb.so.2
         libdb.so (libc6) => /usr/local/BerkeleyDB.4.0/lib/libdb.so
         libdb-4.0.so (libc6) => /lib/libdb-4.0.so
         libdb-4.0.so (libc6) =>
         libdb-4.so (libc6) => /usr/local/BerkeleyDB.4.0/lib/libdb-4.so
         libdb-3.3.so (libc6) => /lib/libdb-3.3.so
         libdb-3.2.so (libc6) => /lib/libdb-3.2.so
         libdb-3.1.so (libc6) => /lib/libdb-3.1.so

What have I done wrong?

Scott Sanders

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 20:58:15 2003

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.