yade installation in redhat
Hi, all
I'm trying to install yade in redhat. I tried to compile it from source, and I installed all the necessary prerequisites (not optional). But there was an error when I tried to compile it. Please help. Thanks in advance.
[root@node01 build]# cmake -DINSTALL_
-- The C compiler identification is GNU 4.4.6
-- The CXX compiler identification is GNU 4.4.6
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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/local/
-- Found PythonInterp: /usr/local/
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Found OpenMP: -fopenmp
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.5.3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.23")
-- Version is set to 2014-07-
-- Looking for XOpenDisplay in /usr/lib64/
-- Looking for XOpenDisplay in /usr/lib64/
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/
-- Found OpenGL: /usr/lib64/libGL.so
-- GSL using pkgconfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- PKGCONFIG() indicates that gts is not installed (install the package which contains gts.pc if you want to support this feature)
FindGTS.cmake: gts-config/
-- ERROR: GTS was not found.
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- CGAL not found.
-- Found NumPy: version "1.8.1" /usr/local/
-- Found Loki: /usr/include
-- Boost version: 1.56.0
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- Boost_VERSION: 105600
-- Boost_LIB_VERSION: 1_56
-- Boost_INCLUDE_DIRS: /usr/local/include
-- Boost_LIBRARIES: /usr/local/
-- Found Eigen3: /usr/local/
-- Found BZip2: /usr/lib64/
-- Looking for BZ2_bzCompressInit in /usr/lib64/
-- Looking for BZ2_bzCompressInit in /usr/lib64/
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Found Eigen3, version: 3.2.1
-- Disable vectorization
-- Found VTK
-- Found OpenMP
-- GSL using pkgconfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- PKGCONFIG() indicates that gts is not installed (install the package which contains gts.pc if you want to support this feature)
FindGTS.cmake: gts-config/
-- ERROR: GTS was not found.
-- checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - found
-- GTS NOT found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.5.3")
-- Found GLUT: /usr/local/
-- Found QGLViewer: /usr/lib/
-- Found GUI-LIBS
-- GMP libs: /usr/lib64/
-- Found GMP: /usr/include
-- CGAL not found.
-- GMP libs: /usr/lib64/
-- CGAL NOT found
-- CGAL NOT found: PFVFLOW disabled
-- Could NOT find Cholmod (missing: CHOLMOD_LIBRARIES CHOLMOD_INCLUDE_DIR AMD_LIBRARY CAMD_LIBRARY COLAMD_LIBRARY CCOLAMD_LIBRARY)
-- Could NOT find OpenBlas (missing: OPENBLAS_LIBRARY)
-- Could NOT find Metis (missing: METIS_INCLUDE_DIR METIS_LIBRARY)
-- Missing dependency for LINSOLV, disabled
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- GL2PS NOT found
LBMFLOW is still experimental, building and running LBM engine are at your own risk!
Yade will be installed to /root/Yade/
-- Suffix is set to -2014-07-
-- LIBRARY_OUTPUT_PATH is set to lib64
-- runtimePREFIX is set to /root/Yade/
Traceback (most recent call last):
File "/usr/bin/pyuic4", line 6, in <module>
from PyQt4 import QtCore
ImportError: No module named PyQt4
-- Could NOT find minieigen (missing: PY_minieigen)
-- Use embedded version of minieigen. Please, consider installing the corresponding package
-- Found Tkinter: /usr/local/
-- VTK version 6 is found
-- =======
-- Yade configured with following features: Odeint VTK OpenMP GUI LBMFLOW
-- Disabled features: GTS CGAL PFVFLOW LINSOLV SPH LIQMIGRATION GL2PS MASK_ARBITRARY
-- Optimized build
-- =======
-- Configuring done
-- Generating done
-- Build files have been written to: /root/Yade/
[root@node01 build]# make
[ 1%] Generating qt4/moc_
[ 2%] Generating qt4/moc_
Scanning dependencies of target _GLViewer
[ 3%] Building CXX object gui/CMakeFiles/
[ 3%] Building CXX object gui/CMakeFiles/
[ 4%] Building CXX object gui/CMakeFiles/
[ 5%] Building CXX object gui/CMakeFiles/
[ 6%] Building CXX object gui/CMakeFiles/
[ 6%] Building CXX object gui/CMakeFiles/
[ 7%] Building CXX object gui/CMakeFiles/
Linking CXX shared library lib64/_GLViewer.so
/usr/bin/ld: /usr/local/
/usr/local/
collect2: ld returned 1 exit status
make[2]: *** [gui/lib64/
make[1]: *** [gui/CMakeFiles
make: *** [all] Error 2
Zixuan Xu
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Zixuan Xu for more information if necessary.