Software:PeptideSieve:Build
From SPCTools
(Difference between revisions)
Revision as of 23:58, 24 April 2008 Jtasman (Talk | contribs) (→bjam build instructions) ← Previous diff |
Revision as of 01:59, 28 May 2008 Parag (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
- | '''Important Note:''' | + | PeptideSieve can be built using the boost build system and bjam. |
- | PeptideSieve has been removed from public distribution until important bugs can be fixed. Thank you for your patience. | + | |
- | + | ||
- | + | ||
===bjam build instructions=== | ===bjam build instructions=== | ||
- | 1. Obtain and install boost libraries for your platform. (Most linux systems should have boost already installed somewhere.) | + | 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] |
- | 2. Set boost_build directory environment variable and add and bjam to your path | + | 2. Set a few environment variables and add bjam to your path |
- | 3. Go into the peptideSieve directory and edit the Jamfile to | ||
- | |||
- | uncomment and edit the line below to point at the boost include dir: | ||
- | |||
- | <nowiki>#</nowiki> : <include>/stf/home/atrium/darren/local/include | ||
- | |||
- | |||
- | ''or'' set the following environment variables: | ||
- | |||
- | BOOST_BUILD_PATH=/stf/home/atrium/darren/local/share/boost-build | ||
+ | BOOST_BUILD_PATH=/hpc/share/boost/tools/build/v2/ | ||
+ | PATH=$PATH:/hpc/bin/bjam | ||
CPLUS_INCLUDE_PATH=/stf/home/atrium/darren/local/include | CPLUS_INCLUDE_PATH=/stf/home/atrium/darren/local/include | ||
+ | LIBRARY_PATH=/tools/lib:/hpc/lib | ||
+ | LD_LIBRARY_PATH=/tools/lib:/hpc/lib | ||
- | LIBRARY_PATH=/stf/home/atrium/darren/local/lib | + | 4) Type 'bjam' and it should compile a binary into peptideSieve/bin. |
- | + | ||
- | + | ||
- | 4) Type 'bjam' and it just works. | + | |
- | + | ||
[http://tools.proteomecenter.org/wiki/index.php?title=Software:PeptideSieve Back] to main PeptideSieve page. | [http://tools.proteomecenter.org/wiki/index.php?title=Software:PeptideSieve Back] to main PeptideSieve page. | ||
- | |||
- | ===Old build instructions=== | ||
- | |||
- | 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. Change directories to peptideSieveDistribution/src/peptideSieve and run make |
Revision as of 01:59, 28 May 2008
PeptideSieve can be built using the boost build system and bjam.
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
4) Type 'bjam' and it should compile a binary into peptideSieve/bin.
Back to main PeptideSieve page.