summary refs log tree commit diff
path: root/externals/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-01-07 15:53:14 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-01-07 15:53:14 +0000
commit7959354379416bd8513cb00e636c0310e42eaa01 (patch)
tree075f502ef3f4153c9695e3bfabf56d0bf8e1fc0c /externals/Makefile.am
parentabe8c8c2aa24646955b78cd2c826483d8d8a1149 (diff)
downloadguix-7959354379416bd8513cb00e636c0310e42eaa01.tar.gz
* Upgraded to Berkeley DB 4.2.52. The main advantage of 4.2 is that
  it automatically removes log files when they are no longer needed.

  *** IMPORTANT ***

  If you have an existing Nix installation, you must checkpoint the
  Nix database to prevent recent transactions from being undone.  Do
  the following:

  - optional: make a backup of $prefix/var/nix/db.

  - run `db_checkpoint' from Berkeley DB 4.1:
  
    $ db_checkpoint -h $prefix/var/nix/db -1

  - optional (?): run `db_recover' from Berkeley DB 4.1:

    $ db_recover -h $prefix/var/nix/db

  - remove $prefix/var/nix/db/log* and $prefix/var/nix/db/__db*
    

Diffstat (limited to 'externals/Makefile.am')
-rw-r--r--externals/Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/externals/Makefile.am b/externals/Makefile.am
index 61122f4ab0..c74cb227ea 100644
--- a/externals/Makefile.am
+++ b/externals/Makefile.am
@@ -1,11 +1,11 @@
 # Berkeley DB
 
-DB = db-4.1.25
+DB = db-4.2.52
 
 $(DB).tar.gz:
 	@echo "Nix requires Berkeley DB to build."
-	@echo "Please download version 4.1.25 from"
-	@echo "  http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz"
+	@echo "Please download version 4.2.52 from"
+	@echo "  http://www.sleepycat.com/update/snapshot/db-4.2.52.tar.gz"
 	@echo "and place it in the externals/ directory."
 	false
 
@@ -20,8 +20,9 @@ build-db: have-db
 	(pfx=`pwd` && \
 	cd $(DB)/build_unix && \
 	CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
-     ../dist/configure --prefix=$$pfx/inst \
-	 --enable-cxx --disable-shared && \
+	 ../dist/configure --prefix=$$pfx/inst \
+	 --enable-cxx --disable-shared --disable-cryptography \
+         --disable-replication --disable-verify && \
 	make && \
 	make install)
 	touch build-db