• install zlib
  • add zlib to ld path> export LD_LIBRARY_PATH=”/global/home/users/kigumen/modules/zlib/1.2.7/lib/:$LD_LIBRARY_PATH”
  • download bzr source.
  • extract it.
  • get gsrc:
  1. ./bzr-2.5.1/bzr checkout bzr://bzr.savannah.gnu.org/gsrc/trunk/ gsrc
  1. $ cd gsrc
  2. $ ./bootstrap # to create the configure script
  3. $ mkdir ../gnu
  4. $ ./configure –prefix=$HOME/gnu # directory to install the packages
  5. $ make -C gnu/gcc
  6. $ make -C gnu/gcc install
Advertisements