# db/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. Presently, this distro uses "db" release 5.3.28. Important: Releases numbered 6.X or above should not be used as they have problematic licenses. Release 5.3.28 may be used permanently. #--------------------------------------------------------------------- 2. "db" supports Tcl, but we've disabled this feature so that we can build "db" at an earlier point. This simplifies things, since we'd like to build Perl before X Windows and Tcl/Tk, and Perl relies on "db". #--------------------------------------------------------------------- [buildtimes] 00.02 hours (or 001.10 minutes) - HP EliteBook 8560w 32GB RAM 00.03 hours (or 001.55 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.97 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.15 hours (or 009.27 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] exepack = yes fortran = disabled license = See "license.txt" under installed tree nls = disabled tmpsize = 170M title = Berkeley DB #--------------------------------------------------------------------- [depends] actools gawk grep sed sharutils:forward #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE # Courtest of BLFS: sed -e 's/\(__atomic_compare_exchange\)/\1_db/' \ -i src/dbinc/atomic.h chown -R 0.0 . cd build_unix ../dist/configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ \ --disable-cryptography \ --disable-cxx \ --disable-debug \ --disable-debug_rop \ --disable-debug_wop \ --disable-debug \ --disable-java \ --disable-mingw \ --disable-replication \ --disable-tcl \ --disable-test \ \ --enable-compat185 \ --enable-cxx \ --enable-dbm \ --enable-largefile \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE #--------------------------------------------------------------------- [build] cd build_unix smpmake LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread" make install #--------------------------------------------------------------------- [postbuild] DOCDIR=$PKGDIR_PROD/doc mkdir -p $DOCDIR cp -p LICENSE $DOCDIR/ chown -R 0.0 $PKGDIR_PROD rm -fr $PKGDIR_PROD/docs/ cd $PKGDIR_PROD/lib/ ln -s libdb-4.7.la libdb.la #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = n/a # Didn't have 4.7 as of late 2008 url_home = http://www.oracle.com/technology/products/\ berkeley-db/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ content/databases.html#db url_tarball = https://anduin.linuxfromscratch.org/BLFS/\ bdb/db-5.3.28.tar.gz #--------------------------------------------------------------------- [history] 210912 Updated from 4.7.25 to 5.3.28