On Fri, Nov 22, 2002 at 05:08:36PM -0000, Pete Harvey wrote:
> and the make bombs out with:
>
> libtool: link: cannot find the library `/usr/subversion/src/subversion-3850/db/dist/libdb-4.0.la'
> *** Error code 1
> make: Fatal error: Command failed for target `subversion/libsvn_fs/libsvn_fs-1.la'
>
> (i've put a DB-4.1.24 source tree in builddir/db).
>
> It's correct, the .la file doesn't exist.. should it?
Funny, I was just looking at this. You can use the following patch
until it is fixed properly.
Matt
Index: ac-helpers/berkeley-db.m4
===================================================================
--- ac-helpers/berkeley-db.m4 (revision 3850)
+++ ac-helpers/berkeley-db.m4 (working copy)
@@ -105,7 +105,7 @@
# Linking directly to the .la is broken with --disable-shared
# because Berkeley db does not seem to generate a .la library.
if test "$enable_shared" = "yes"; then
- SVN_DB_LIBS="$dbdir/libdb-4.0.la"
+ SVN_DB_LIBS="$dbdir/libdb-$1.$2.la"
else
SVN_DB_LIBS="-L$dbdir -ldb" # ignoring $db_libname here on purpose.
fi
Index: configure.in
===================================================================
--- configure.in (revision 3850)
+++ configure.in (working copy)
@@ -163,7 +163,7 @@
# Build the filesystem library (and repository administration tool)
# only if we have an appropriate version of Berkeley DB.
SVN_FS_WANT_DB_MAJOR=4
-SVN_FS_WANT_DB_MINOR=0
+SVN_FS_WANT_DB_MINOR=1
SVN_FS_WANT_DB_PATCH=14
# Look for libdb4.so first:
SVN_LIB_BERKELEY_DB($SVN_FS_WANT_DB_MAJOR, $SVN_FS_WANT_DB_MINOR,
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 22 18:31:42 2002