Software:PeptideSieve:Build
From SPCTools
(Difference between revisions)
Revision as of 18:33, 1 November 2007 Dcampbel (Talk | contribs) ← Previous diff |
Current revision Parag (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | PeptideSieve can be built using the boost build system and bjam. | ||
- | # 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: | + | BOOST_BUILD_PATH=/hpc/share/boost/tools/build/v2/ |
- | # : <include>/stf/home/atrium/darren/local/include | + | PATH=$PATH:/hpc/bin/bjam |
- | and say where boost includes live | ||
- | |||
- | 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.