centos5-8.rst 685 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ==========
  2. Centos 5.8
  3. ==========
  4. A version of Boost >= 1.39 must be installed.
  5. 1. Download epel-release-5-4.noarch.rpm (or suitable version) from http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
  6. 2. Install the EPEL repo list using "rpm -Uvh epel-release-5-4.noarch.rpm"
  7. 3. yum install boost141-devel
  8. 4. ln -s /usr/include/boost141/boost/ /usr/include/boost
  9. 5. export LDFLAGS="-L/usr/lib64/boost141"
  10. 6. export LD_LIBRARY_PATH=/usr/lib64/boost141:$LD_LIBRARY_PATH
  11. 7. sudo yum install e2fsprogs-devel e2fsprogs
  12. Then:
  13. 1. yum install gcc44 gcc-c++
  14. 2. export CC="gcc44"
  15. 3. export CXX="g++44"
  16. Compile and install:
  17. ./configure
  18. make
  19. sudo make install