Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a package configuration file provided by "boost_system" #15

Open
jmp75 opened this issue Aug 8, 2023 · 1 comment
Open

Comments

@jmp75
Copy link
Member

jmp75 commented Aug 8, 2023

Context: trying to compile on EASI-hub
cmake installed from source because

cloud-based image on AWS. the apt repository shows a libboost package (no sub-packages like in Debian)

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by "boost_system"
  (requested version 1.74.0) with any of the following names:

    boost_systemConfig.cmake
    boost_system-config.cmake

  Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
  "boost_system_DIR" to a directory containing one of the above files.  If
  "boost_system" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:258 (boost_find_component)
  /home/jovyan/build/usr/local/share/cmake-3.27/Modules/FindBoost.cmake:594 (find_package)
  CMakeLists.txt:60 (find_package)
@jmp75
Copy link
Member Author

jmp75 commented Aug 8, 2023

If I compare the directory "/usr/lib/x86_64-linux-gnu/cmake/boost_system-1.74.0" on my machine compared to the AWS image, probably Ubuntui, indeed there is only a subset of the subdrectory in the image. How to I install the modules if not available from APT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant