[pybsddb] BerkeleyDB path problem

Adam Huffman adam.huffman at crick.ac.uk
Wed Apr 5 13:34:29 CEST 2017


Hello

I’m trying to write an easyconfig in order to build a module of pybsddb for installation on a cluster.

The problem I’m having is with the specification of the BerkeleyDB library location, during the build step.

This works fine if I do the following:

load the DB and Python modules

manually run ‘python setup.py --berkeley-db=$EBROOTDB build’

(where $EBROOTDB holds the location of the library)

If I do that within EasyBuild, to build the module automatically, the build step doesn’t resolve the value of that variable for some reason.

I’ve added an echo statement, before setup.py, and the variable does resolve there, so it should be available.

The easyconfig is at:

https://github.com/verdurin/easybuild-easyconfigs-devel/blob/master/bsddb3-6.2.4-foss-2016b-Python-2.7.12.eb

Cheers,
Adam

--

Adam Huffman
Senior HPC and Cloud Systems Engineer
The Francis Crick Institute
1 Midland Road
London NW1 1AT

T: 020 3796 1175
E: adam.huffman at crick.ac.uk
W: www.crick.ac.uk





The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 1 Midland Road London NW1 1AT


More information about the pybsddb mailing list