Software:PeptideSieve:Build
From SPCTools
(Difference between revisions)
Revision as of 18:34, 1 November 2007 Dcampbel (Talk | contribs) ← Previous diff |
Current revision Parag (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | '''bjam build instructions''' | + | PeptideSieve can be built using the boost build system and bjam. |
- | 1. Obtain and install boost libraries for your platform. (Most linux systems should have boost already installed somewhere.) | + | ===bjam build instructions=== |
- | 2. Set boost_build directory environment variable and add and bjam to your path | + | 1. Obtain and install boost libraries for your platform. (Most linux systems should have boost already installed somewhere.) If not, you can get them from [http://www.boost.org/ here] |
- | 3. Go into the peptideSieve directory and edit the Jamfile to | + | 2. Set a few environment variables and add bjam to your path |
- | uncomment: | ||
- | \# : <include>/stf/home/atrium/darren/local/include | + | BOOST_BUILD_PATH=/hpc/share/boost/tools/build/v2/ |
- | and say where boost includes live | + | PATH=$PATH:/hpc/bin/bjam |
- | or create a few environment variables: | ||
- | |||
- | BOOST_BUILD_PATH=/stf/home/atrium/darren/local/share/boost-build | ||
CPLUS_INCLUDE_PATH=/stf/home/atrium/darren/local/include | CPLUS_INCLUDE_PATH=/stf/home/atrium/darren/local/include | ||
- | LIBRARY_PATH=/stf/home/atrium/darren/local/lib | ||
- | |||
- | 4) Type 'bjam' and it just works. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | LIBRARY_PATH=/tools/lib:/hpc/lib | ||
- | '''Old build instructions''' | + | LD_LIBRARY_PATH=/tools/lib:/hpc/lib |
- | 1. Obtain and install boost libraries for your platform. (Most linux systems should have boost already installed somewhere.) | ||
- | 2. Edit the peptideSieveDistribution/src/make/defaults.inc file to indicate library location. | + | 3) Type 'bjam' and it should compile a binary into peptideSieve/bin. |
- | 3. Change directories to peptideSieveDistribution/src/peptideSieve and run make | + | [http://tools.proteomecenter.org/wiki/index.php?title=Software:PeptideSieve Back] to main PeptideSieve page. |
Current revision
PeptideSieve can be built using the boost build system and bjam.
[edit]
bjam build instructions
1. Obtain and install boost libraries for your platform. (Most linux systems should have boost already installed somewhere.) If not, you can get them from here
2. Set a few environment variables and add bjam to your path
BOOST_BUILD_PATH=/hpc/share/boost/tools/build/v2/
PATH=$PATH:/hpc/bin/bjam
CPLUS_INCLUDE_PATH=/stf/home/atrium/darren/local/include
LIBRARY_PATH=/tools/lib:/hpc/lib
LD_LIBRARY_PATH=/tools/lib:/hpc/lib
3) Type 'bjam' and it should compile a binary into peptideSieve/bin.
Back to main PeptideSieve page.