New question #235466 on Yade: https://answers.launchpad.net/yade/+question/235466
Hi, I just tried building the trunk according to [1]. (Ubuntu 12.04 LTS and latest trunk version of source code) Unfortunately copy&pasting the first commands from Prerequisities gives the first error: Q9400 @ yade: ~ / Yade / source $ sudo apt-get install-dev libmetis Reading package lists ... finished Dependency tree Status information is read ... finished Libmetis-dev package is not available, but is of a different package referenced. This may mean that the package is missing, has replaced or is available from a different source. However the following packages replace it: libscotchmetis-dev E: Package 'libmetis-dev' has no installation candidate Just ignoring and following the next commands (which I expected to fail), I end up with errors during cmake [2]. Maybe the first error is the most important: -- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) It's the first time that I build source code by myself. Could you please help me with that? [1] https://yade-dem.org/doc/installation.html [2] q9400@yade:~/Yade/source/build$ cmake -DINSTALL_PREFIX=~/Yade/yadeBuilt ~/Yade/source/trunk -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PythonLibs: /usr/lib/libpython2.7.so -- Found PythonInterp: /usr/bin/python (found version "2.7.3") -- 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 -- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) -- VTK not found. Set the VTK_DIR cmake cache entry to the directory containing VTKConfig.cmake. This is either the root of the build tree, or PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of UseVTK.cmake. This is either the root of the build tree or PREFIX/include/vtk for an installation. -- Version is set to 2013-09-10.git-b3489b1 -- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR) -- CGAL not found. -- Found NumPy: version "1.6.1" /usr/lib/python2.7/dist-packages/numpy/core/include -- Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message): Unable to find the requested Boost libraries. Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. Call Stack (most recent call first): CMakeLists.txt:66 (FIND_PACKAGE) -- Boost_VERSION: -- Boost_LIB_VERSION: -- Boost_INCLUDE_DIRS: Boost_INCLUDE_DIR-NOTFOUND -- Boost_LIBRARIES: CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) cMake/FindLoki.cmake:14 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:78 (FIND_PACKAGE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Boost_INCLUDE_DIR (ADVANCED) used as include directory in directory /home/q9400/Yade/source/trunk -- Configuring incomplete, errors occurred! q9400@yade:~/Yade/source/build$ cmake -DINSTALL_PREFIX=~ ~/Yade/source/trunk-- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) -- VTK not found. Set the VTK_DIR cmake cache entry to the directory containing VTKConfig.cmake. This is either the root of the build tree, or PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of UseVTK.cmake. This is either the root of the build tree or PREFIX/include/vtk for an installation. -- Version is set to 2013-09-10.git-b3489b1 -- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR) -- CGAL not found. -- Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message): Unable to find the requested Boost libraries. Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. Call Stack (most recent call first): CMakeLists.txt:66 (FIND_PACKAGE) -- Boost_VERSION: -- Boost_LIB_VERSION: -- Boost_INCLUDE_DIRS: Boost_INCLUDE_DIR-NOTFOUND -- Boost_LIBRARIES: CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) cMake/FindLoki.cmake:14 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:78 (FIND_PACKAGE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Boost_INCLUDE_DIR (ADVANCED) used as include directory in directory /home/q9400/Yade/source/trunk -- Configuring incomplete, errors occurred! You received this question notification because you are a member of yade-users, which 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

