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

CMake failure on Fedora 34 #128

Open
mikken opened this issue Jul 29, 2021 · 1 comment
Open

CMake failure on Fedora 34 #128

mikken opened this issue Jul 29, 2021 · 1 comment

Comments

@mikken
Copy link

mikken commented Jul 29, 2021

I'm following the build instructions. I have openssl-devel (version 1.1.1k) and boost-devel (version 1.75) packages installed.
I have CMake 3.20.5 and GCC 11.1.1.

cmake .. -DCMAKE_INSTALL_PREFIX=../install
-- You should define a variable LCC_PROJECT_NAME containing the name of the software you want to add a license to.A mock project named DEFAULT has been added for you.
-- The CXX compiler identification is GNU 11.1.1
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Could NOT find lccgen (missing: lccgen_DIR)
-- Submodule update
CMake Error at extern/license-generator/CMakeLists.txt:35 (MESSAGE):
  Openssl not found - generator - required in Linux


-- Looking for C++ include pthread.h
-- Looking for C++ include 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  
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost (missing: date_time filesystem program_options system
  unit_test_framework) (found version "1.75.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindBoost.cmake:2345 (find_package_handle_standard_args)
  extern/license-generator/CMakeLists.txt:102 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/rondo/Development/3rd-party/licensecc/build/CMakeFiles/CMakeOutput.log".
See also "/home/rondo/Development/3rd-party/licensecc/build/CMakeFiles/CMakeError.log".

@gcontini
Copy link
Member

seem that boost was found but some boost module is missing, check you've installed boost_date_time boost_filesystem, boost_program_options boost_unittest... packages.

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

2 participants