New question #685328 on Yade: https://answers.launchpad.net/yade/+question/685328
Hello The system is: Linux - 2.6.32-754.6.3.el6.x86_64 - x86_64 CentOS release 6 (Final) I have this problem with compiling YADE. I don't know if the Loki error is related to the current situation. echo $LOKI_LIBRARY /opt/loki/loki-0.1.7/lib echo $LOKI_INCLUDE_DIR /opt/loki/loki-0.1.7/include/loki -- Boost_VERSION: 106900 -- Boost_LIB_VERSION: 1_69 -- Boost_INCLUDE_DIRS: /opt/spack/opt/spack/linux-centos6-x86_64/gcc-4.7.0/boost-1.69.0-zpe6rz36tulbqq67p5dtqpuw7tq2ysdf/include -- Boost_LIBRARIES: /usr/lib64/libboost_python-mt.so/usr/lib64/libboost_thread-mt.so-lpthread/usr/lib64/libboost_filesystem-mt.so/usr/lib64/libboost_iostreams-mt.so/usr/lib64/libboost_regex-mt.so/usr/lib64/libboost_serialization-mt.so/usr/lib64/libboost_system-mt.so/usr/lib64/libboost_date_time-mt.so CMake Error at /opt/cmake/cmake-3.15.3-Linux-x86_64/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) Call Stack (most recent call first): /opt/cmake/cmake-3.15.3-Linux-x86_64/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cMake/FindLoki.cmake:14 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:115 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeOutput.log". Determining if the function pthread_create exists in the pthread passed with the following output: Change Dir: /opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_94b7e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_94b7e.dir/build.make CMakeFiles/cmTC_94b7e.dir/build gmake[1]: Entering directory `/opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_94b7e.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_94b7e.dir/CheckFunctionExists.c.o -c /opt/cmake/cmake-3.15.3-Linux-x86_$ Linking C executable cmTC_94b7e /opt/cmake/cmake-3.15.3-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94b7e.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_94b7e.dir/CheckFunctionExists.c.o -o cmTC_94b7e -lpthread gmake[1]: Leaving directory `/opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeTmp' ======================================================================================= See also "/opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeError.log". Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_a2567/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a2567.dir/build.make CMakeFiles/cmTC_a2567.dir/build gmake[1]: Entering directory `/opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a2567.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_a2567.dir/CheckFunctionExists.c.o -c /opt/cmake/cmake-3.15.3-Linux-x86_$ Linking C executable cmTC_a2567 /opt/cmake/cmake-3.15.3-Linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a2567.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_a2567.dir/CheckFunctionExists.c.o -o cmTC_a2567 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status gmake[1]: *** [cmTC_a2567] Error 1 gmake[1]: Leaving directory `/opt/yade/myYade/trunk-2019.01a/CMakeFiles/CMakeTmp' gmake: *** [cmTC_a2567/fast] Error 2 ======================================================================================= You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

