Commits

Giacomo Lacava  committed 376ad06

moved bdb location to var

  • Participants
  • Parent commits d3c9611

Comments (0)

Files changed (1)

File install-dbxml-py-in-virtualenv.sh

 
 # This script installs dbxml and python bindings
 # I use it in virtualenvs, should work for generic installs as well
-# assumes all prereqs are installed, and bdb is found under /usr/local/lib
+# assumes all prereqs are installed
+
+# TODO: add the prereqs
 
 export DBXML_SRC=/usr/src/dbxml-2.5.16
 export BSDDB_SRC=$DBXML_SRC/dbxml/src/python/bsddb3-4.8.1
+export BDB_ROOT=/usr/local/lib
 
 cd $BSDDB_SRC
-python setup.py build --berkeley-db=/usr/local/lib
-python setup.py install --berkeley-db=/usr/local/lib
+python setup.py build --berkeley-db=$BDB_ROOT
+python setup.py install --berkeley-db=$BDB_ROOT
 cd $DBXML_SRC/dbxml/src/python
 python setup.py build
 python setup.py install