Unable to find the requested Boost libraries on 15.7


#1

I’m trying to install SciDB 15.7 on a Debian 3.2.51-1 x86_64 GNU/Linux, at the point 7.1.1 of the installation guides the setup procedure fails saying that it doesn’t find the Boost Library

sudo ./run.py setup
run.py: WARNING: Deleting old CMakeCache file:/home/scidb/scidbtrunk/stage/build/CMakeCache.txt
WARNING: about to delete *all* contents of /home/scidb/scidbtrunk/stage/build/* [y]|n: y
-- ****************** BEGIN CMakeLists.txt ******************
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- The Fortran compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc-4.9
-- Check for working C compiler: /usr/bin/gcc-4.9 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-4.9
-- Check for working CXX compiler: /usr/bin/g++-4.9 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran-4.9
-- Check for working Fortran compiler: /usr/bin/gfortran-4.9  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran-4.9 supports Fortran 90
-- Checking whether /usr/bin/gfortran-4.9 supports Fortran 90 -- yes
-- CMAKE_INSTALL_PREFIX not Initialized to default keeping: /home/scidb/scidbtrunk/stage/install
-- Found Subversion: /usr/bin/svn (found version "1.8.10") 
-- Found Git: /usr/bin/git (found version "2.0.0.rc2") 
-- Reading revision from file: 9267
-- Build type (use -DCMAKE_BUILD_TYPE=[RelWithDebInfo]/Debug/Release/Profile/CC/Valgrind): Debug
-- DISTRO_NAME_VER is Debian-
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- Found LibRT: /usr/lib/x86_64-linux-gnu/librt.so  
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1130 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:283 (find_package)


CMake Error at CMakeLists.txt:286 (message):
  Could not find any version of boost (1.54 required)


-- Configuring incomplete, errors occurred!
See also "/home/scidb/scidbtrunk/stage/build/CMakeFiles/CMakeOutput.log".
run.py: ERROR: Command setup failed: Abnormal return code: 1 on command ['cmake', '-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_INSTALL_PREFIX=/home/scidb/scidbtrunk/stage/install', '/home/scidb/scidbtrunk']
run.py: ERROR: Make sure commands setup,make,install,start are performed (in that order) before stop,stopForce,tests

The boost libraries are correctly installed

BOOST_ROOT = /home/scidb/boost/boost_1_54_0/
BOOST_INCLUDEDIR=/home/scidb/boost/boost_1_54_0/boost

How can I fix it? thanks


#2

I install 15.7 on centos
I install boost library on /usr/include/boost
I think you should check CMakeLists.txt ,you must change it or change your boost library path