Boost local install
From DGC Wiki
- Planning Getting Started
- Boost root install
- Boost local install
- Boost Compile from scratch
[edit]
Copying boost headers+libraries to a local installation
These are instructions for copying the headers and libraries from the grandchallenge server to a local installation (for example a laptop or a CDS workstation). You do not need to do this if you are working on grandchallenge because on gc there is a root boost installation. The libraries were compiled from my CDS account which runs the 2.4.20 kernel, so this might give problems if the local install you're going to make uses another kernel (check with the linux commmand uname -a).
Follow these instructions:
- You must have a ~/local directory existing on the local computer. If not you have to create one.
- Login to your account at grandchallenge.caltech.edu. Then do (change username and computer address of course):
$ cd ~henrik/local_install $ scp -r boost/* username@local.computer.ip-address:local/
- If you don't have the CPATH environment variable set to your ~/local/include directory you must do that too. You will also need the LD_LIBRARY_PATH and LIBRARY_PATH variables set. Edit your ~/.bashrc and add these.
$ export CPATH=$HOME/local/include $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/lib $ export LIBRARY_PATH=$LD_LIBRARY_PATH $ export PATH=$PATH:$HOME/dgc/bin:$HOME/dgc/bob/bin
- Source your .bashrc:
$ . ~/.bashrc
Now you should be able to compile the DGC source tree with the boost libraries. --Henrik 12:24, 30 Jun 2004 (PDT)
![[Main Page]](../../../../upload/alice.jpg)