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 #21

Open
colemanalan opened this issue Nov 24, 2023 · 0 comments
Open

CMake Failure #21

colemanalan opened this issue Nov 24, 2023 · 0 comments

Comments

@colemanalan
Copy link
Collaborator

I am getting some basic CMake compilation errors and it seems like the files are not set up correctly. When I run make install it seems like the compilation instructions are not made because I get make: *** No targets specified and no makefile found. Stop.

Here is the whole CMake dump:

CMake Error at CMakeLists.txt:10 (cmake_policy):
  Policy "CMP0048" is not known to this version of CMake.


CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_VERSION_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_VERSION_COMPILER
CMake Error: Could not find cmake module file: /home/acoleman/software/RadioPropa/radiopropa/build/CMakeFiles/2.8.12.2/CMakeVERSIONCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_1.0.0_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_1.0.0_COMPILER
CMake Error: Could not find cmake module file: /home/acoleman/software/RadioPropa/radiopropa/build/CMakeFiles/2.8.12.2/CMake1.0.0Compiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_LANGUAGES_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_LANGUAGES_COMPILER
CMake Error: Could not find cmake module file: /home/acoleman/software/RadioPropa/radiopropa/build/CMakeFiles/2.8.12.2/CMakeLANGUAGESCompiler.cmake
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
CMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake
CMake Error: Could not find cmake module file: CMake1.0.0Information.cmake
CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake
-- Check for working C compiler: /sw/comp/gcc/11.3.0_rackham/bin/gcc
-- Check for working C compiler: /sw/comp/gcc/11.3.0_rackham/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /sw/comp/gcc/11.3.0_rackham/bin/g++
-- Check for working CXX compiler: /sw/comp/gcc/11.3.0_rackham/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_1.0.0_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage
-- RadioPropa version: 
-- Use --as-needed linker flags!
-- Build Type: Release
-- RadioPropa git version: version-1.1.0-2-g354f830 354f830a7928d096b848088cffbec393bef939c9 refs/heads/master
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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  
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp  
-- Google perftools: NOT Found!
--   Include: GOOGLE_PERFTOOLS_INCLUDE_DIR-NOTFOUND
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") 
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so  
-- Use absolute RPATH /usr/local/lib
-- Found PythonInterp: /home/acoleman/software/py-env/nu-radio/bin/python (found version "3.9.5") 
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.5") 
-- Found SWIG: /sw/apps/swig/4.1.1/rackham/bin/swig (found suitable version "4.1.1", minimum required is "3.0") 
-- Python: Found!
--   Version:     3.9/39
--   Executeable: /home/acoleman/software/py-env/nu-radio/bin/python
--   Include:     /sw/comp/python/3.9.5/rackham/include/python3.9
--   Library:     /usr/lib64/libpython2.7.so
--   Site-package directory: /usr/local/lib/python3.9/site-packages
-- Found numpy headers in /home/acoleman/software/py-env/nu-radio/lib/python3.9/site-packages/numpy/core/include
-- Configuring incomplete, errors occurred!
See also "/home/acoleman/software/RadioPropa/radiopropa/build/CMakeFiles/CMakeOutput.log".
See also "/home/acoleman/software/RadioPropa/radiopropa/build/CMakeFiles/CMakeError.log".
@colemanalan colemanalan changed the title CMake CMake Failure Nov 24, 2023
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