open-license-manager / licensecc

Software licensing, copy protection in C++. It has few dependencies and it's cross-platform.
http://open-license-manager.github.io/licensecc/
BSD 3-Clause "New" or "Revised" License
947 stars 300 forks source link

CMake failure on Fedora 34 #128

Open mikken opened 3 years ago

mikken commented 3 years ago

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 commented 3 years ago

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.