SciDB 15.12 installation in Ubuntu 14.04


#1

Hi,
I am getting the following error while installing SciDB.
I reached till the step where you run ./run.py setup
However, I am getting the following error: CMake was unable to find CityHash
Here is the log:
– ****************** BEGIN CMakeLists.txt ******************
– The C compiler identification is GNU 4.9.4
– The CXX compiler identification is GNU 4.9.4
– 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/purva/15.12/scidbtrunk/stage/install
– Found Git: /usr/bin/git (found version “1.9.1”)
– Reading revision from file: 4cadab5
– Build type (use -DCMAKE_BUILD_TYPE=[RelWithDebInfo]/Debug/Release/Profile/CC/Valgrind): Debug
– DISTRO_NAME_VER is Ubuntu-14.04.5
– Found PkgConfig: /usr/bin/pkg-config (found version “0.26”)
– Found LibRT: /usr/lib/i386-linux-gnu/librt.so
CMake Error at cmake/Modules/FindCityHash.cmake:29 (message):
CMake was unable to find CityHash
Call Stack (most recent call first):
CMakeLists.txt:257 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/purva/15.12/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/purva/15.12/scidbtrunk/stage/install’, ‘/home/purva/15.12/scidbtrunk’]
run.py: ERROR: Make sure commands setup,make,install,start are performed (in that order) before stop,stopForce,tests

I think it traces back to the deployment.sh prepare_toolchain step.
It completes without any errors although it is unable to find some boost libraries:
Reading state information…
E: Unable to locate package scidb-15.12-libboost1.54-all-dev
E: Couldn’t find any package by regex 'scidb-15.12-libboost1.54-all-dev’
E: Unable to locate package scidb-15.12-libmpich2-dev
E: Couldn’t find any package by regex 'scidb-15.12-libmpich2-dev’
E: Unable to locate package scidb-15.12-mpich2
E: Couldn’t find any package by regex 'scidb-15.12-mpich2’
E: Unable to locate package scidb-15.12-libcsv
E: Couldn’t find any package by regex 'scidb-15.12-libcsv’
E: Unable to locate package scidb-15.12-cityhash
E: Couldn’t find any package by regex ‘scidb-15.12-cityhash’

I have been stuck with this issue for the past two weeks now and have gone through almost all the installation questions on this forum.

Please help! Any help is appreciated.


#2

As root you need to run ./deployment/deploy.sh prepare_toolchain localhost. That should install all the packages you need


#3

I ran the same command as root. Still the ./run.py setup gives the same error. Is there any way I can install the packages that are missing separately?


#4

I got cityhash installed separetely. However, now the ./run.py setup command is giving the following error:
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):
Unable to find the requested Boost libraries.

Boost version: 1.54.0

Boost include path: /opt/scidb/15.12/3rdparty/boost

Could not find the following Boost libraries:

  boost_system
  boost_program_options
  boost_serialization
  boost_regex
  boost_filesystem
  boost_thread
  boost_date_time

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:270 (find_package)

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

I have installed boost at that location
/opt/scidb/15/12/3rdparty/boost. And the boost folder and libs folder
contain the above mentioned packages. Did anyone face this issue? How do I resolve it?


#5

Try running ./deployment/deploy.sh prepare_toolchain localhost
again and look at /opt/scidb/15.12/3rdparty/boost
there should be 3 directories in there “doc include lib”