Difference between revisions of "HOWTO build the CCDB"
From GlueXWiki
m |
|||
Line 5: | Line 5: | ||
2. Do the make: | 2. Do the make: | ||
− | make -f build_scripts/Makefile_ccdb CCDB_VERSION=0.08 # or 0.09 or your | + | make -f build_scripts/Makefile_ccdb CCDB_VERSION=0.08 # or 0.09 or your preferred version |
− | + | A source code tarball is retrieved from the appropriate web server and the build is done. | |
3. Set-up your environment for csh: | 3. Set-up your environment for csh: | ||
Line 24: | Line 24: | ||
ccdb -i | ccdb -i | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 15:08, 28 January 2014
1. Checkout a helper makefile:
svn checkout https://halldsvn.jlab.org/repos/trunk/scripts/build_scripts
2. Do the make:
make -f build_scripts/Makefile_ccdb CCDB_VERSION=0.08 # or 0.09 or your preferred version
A source code tarball is retrieved from the appropriate web server and the build is done.
3. Set-up your environment for csh:
setenv CCDB_HOME `pwd`/ccdb_0.08 source $CCDB_HOME/environment.csh setenv CCDB_CONNECTION mysql://ccdb_user@hallddb/ccdb
for bash:
export CCDB_HOME=`pwd`/ccdb_0.08 source $CCDB_HOME/environment.bash export CCDB_CONNECTION=mysql://ccdb_user@hallddb.jlab.org/ccdb
4. Launch the CCDB shell
ccdb -i