Since we will build Java API, we should load the module java. In addition, we will use the latest version of GNU Compiler, which is 4.8.1.
% module unload PrgEnv-cray % module load PrgEnv-gnu % module load java
Now, it is time to begin.
% cd $WORK/setup % wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz % tar zxf db-4.8.30.tar.gz % cd db-4.8.30/build_unix/ % ../dist/configure --prefix=$WORK --enable-cxx --enable-java --enable-o_direct --enable-stl CC=gcc CXX=g++ CPP=cpp % make % make install
No comments:
Post a Comment