Unable to find boost
Hi I currently trying to build corsika master with updated ubuntu and cmake 3.18
I run into problems while running cmake in the build directory:
$ cmake ../corsika_master -DCMAKE_INSTALL_PREFIX=../corsika-install -DWITH_PYTHON=ON
-- The CXX compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 9.3.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran - skipped
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 - yes
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.2", minimum required is "3")
-- Setting build type to 'Debug' as no other was specified.
Found corsika-data in /home/dominik/workspace/Cor8/data
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR)
-- Boost::iostreams not found, data tables need to be unpacked with bunzip2 manually!
-- The C compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build spdlog: 1.7.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Build type: Debug
***** Configuring boost version
-- USE_BOOST_C8='C8'
-- Building ThirdParty/boost using boost-107400.tar.bz2
-- Use ThirdParty boost include dir /home/dominik/workspace/Cor8/corsika-build/ThirdParty/boost/install/boost/..
***** Configuring eigen3 version
-- USE_EIGEN3_C8='C8'
-- Building ThirdParty/eigen3 using eigen-eigen-b3f3d4950030.tar.bz2
-- Use ThirdParty eigen3 include dir /home/dominik/workspace/Cor8/corsika-build/ThirdParty/eigen3/install/eigen/../eigen
***** Configuring Pythia8 version
-- USE_PYTHIA8_C8='C8'
-- Building ThirdParty/pythia8 using pythia8235-stripped.tar.bz2
-- This will take a bit.....
***** Configuring CxRoot/CONEX version
-- USE_CONEX_C8='C8'
-- Building conex obtained via git and compiled
-- This will take a bit.....
CMake Error at /usr/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.18/Modules/FindBoost.cmake:2177 (find_package_handle_standard_args)
Processes/UrQMD/CMakeLists.txt:50 (find_package)