Illumina / paragraph

Graph realignment tools for structural variants
Other
150 stars 28 forks source link

Issue's with Native Build and Boost #80

Open david2905 opened 1 year ago

david2905 commented 1 year ago

Hi, I tried to build paragraph from sources. When I follow the Install Instruction from https://github.com/Illumina/paragraph/blob/master/doc/Installation.md I get the error

CMake Error at /usr/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package):
  Could not find a package configuration file provided by
  "boost_program_options" (requested version 1.72.0) with any of the
  following names:

    boost_program_optionsConfig.cmake
    boost_program_options-config.cmake

  Add the installation prefix of "boost_program_options" to CMAKE_PREFIX_PATH
  or set "boost_program_options_DIR" to a directory containing one of the
  above files.  If "boost_program_options" provides a separate development
  package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/share/cmake-3.25/Modules/FindBoost.cmake:594 (find_package)
  paragraph-build/external/graphtools-src/CMakeLists.txt:29 (find_package)

Then I tried latest version from boost 1.82 and paragraph find the correct location

CMake Error at /scratch/local2/der_jan/lib/cmake/Boost-1.82.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    /scratch/local2/der_jan/lib/cmake/boost_iostreams-1.82.0/boost_iostreams-config.cmake

  but it set boost_iostreams_FOUND to FALSE so package "boost_iostreams" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_iostreams.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

Call Stack (most recent call first):
  /scratch/local2/der_jan/lib/cmake/Boost-1.82.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/share/cmake-3.25/Modules/FindBoost.cmake:594 (find_package)
  CMakeLists.txt:54 (find_package)

Next I tried boost 1.72 I get similar error

CMake Error at /scratch/local2/der_jan/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package):
  Found package configuration file:

    /scratch/local2/der_jan/lib/cmake/boost_program_options-1.72.0/boost_program_options-config.cmake

  but it set boost_program_options_FOUND to FALSE so package
  "boost_program_options" is considered to be NOT FOUND.  Reason given by
  package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_program_options.a (static, default is shared, set
  Boost_USE_STATIC_LIBS=ON to override)

Call Stack (most recent call first):
  /scratch/local2/der_jan/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/share/cmake-3.25/Modules/FindBoost.cmake:594 (find_package)
  paragraph-build/external/graphtools-src/CMakeLists.txt:29 (find_package)