Question #643703 on Yade changed: https://answers.launchpad.net/yade/+question/643703
David Helminiak proposed the following answer: Salutations Cedric. I have been trying to compile Yade 2017 on a Scientific Linux 7 distribution and have managed to achieve a running installation. However, I only am able to run it with the ENABLE_GUI option disabled. Here are the installation instructions I have put together thus far. For 2017 yade specifically: Open a new terminal: wget "https://launchpad.net/yade/trunk/yade-1.00.0/+download/yade-2017.01a.tar.gz" tar -xvf yade-2017.01a.tar.gz sudo rm yade-2017.01a.tar.gz mkdir yade17 mv trunk-2017.01a yade17/ cd yade17 mv trunk-2017.01a trunk mkdir build mkdir install mkdir DEPENDENCIES cd sudo mv yade17 /usr/share/ Alternatively for 2016 yade specifically: Open a new terminal: wget "https://launchpad.net/yade/trunk/yade-1.00.0/+download/yade-2016.06a.tar.gz " mkdir yade16 mv yade-2016.06a.tar. yade16/ cd yade16 tar -xvf yade-2016.06a.tar.gz sudo rm yade-2016.06a.tar.gz mv trunk-2016.01a trunk mkdir build mkdir install mkdir DEPENDENCIES cd sudo mv yade16 /usr/share/ sudo cp -r /usr/include/vtk/* /usr/include/ vi /usr/share/yade16/trunk/py/wrapper/yadeWrapper.cpp Append the following to the bottom of the includes section: #include <csignal> For either, or both installations: sudo yum remove pyqt4 sudo yum groupinstall 'Development Tools' && sudo yum install curl file git irb python-setuptools ruby boost-devel python34-setuptools eigen3-devel bzip2-devel libXmu-devel tkinter scons qt3-devel freeglut-devel boost-devel boost-date-time boost-filesystem boost-thread boost-regex fakeroot gcc gcc-c++ boost-iostreams log4cxx log4cxx-devel python-devel boost-python ipython python-matplotlib sqlite-devel gnuplot doxygen graphviz-python s bzr python-xlib gmp-devel metis metis-devel mpfr mpfr-devel netpbm-devel netpbm && sudo yum install qt5* qt4* --skip-broken cd /usr/share/yade17/DEPENDENCIES/ wget "https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.3/sip-4.19.3.tar.gz" tar -xzf sip-4.19.3.tar.gz cd sip-4.19.3/ python configure.py make -j8 sudo make install -j8 cd /usr/share/yade17/DEPENDENCIES/ wget "https://downloads.sourceforge.net/project/pyqt/PyQt4/PyQt-4.12.1/PyQt4_gpl_x11-4.12.1.tar.gz?r=&ts=1499644245&use_mirror=iweb" mv PyQt4_gpl_x11-4.12.1.tar.gz\?r\=\&ts\=1499644245\&use_mirror\=iweb PyQt4_gpl_x11-4.12.1.tar.gz tar -xzf PyQt4_gpl_x11-4.12.1.tar.gz cd PyQt4_gpl_x11-4.12.1 python configure.py --qmake /usr/lib64/qt5/bin/qmake make -j8 sudo make install -j8 cd /usr/share/yade17/DEPENDENCIES/ wget "https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.9/PyQt5_gpl-5.9.tar.gz" tar -xzf PyQt5_gpl-5.9.tar.gz cd PyQt5_gpl-5.9 python configure.py --qmake /usr/lib64/qt5/bin/qmake make -j8 sudo make install -j8 cd /usr/share/yade17/DEPENDENCIES/ cd /etc/yum.repos.d/ sudo curl -s -SLO https://copr.fedoraproject.org/coprs/rineau/libQGLViewer-qt5/repo/epel-7/rineau-libQGLViewer-qt5-epel-7.repo rpm --import https://copr-be.cloud.fedoraproject.org/results/rineau/libQGLViewer-qt5/pubkey.gpg sudo yum install libQGLViewer-qt5-devel.x86_64 yum clean all wget "https://pypi.python.org/packages/dc/bc/24261f50af82ab2bec92b3aa73d4c05d98a39be9d393dba0e81c1cab7e31/minieigen-0.5.3.tar.gz#md5=b9cd1a29a03419129ae52192e0b8a847" tar -xzf minieigen-0.5.3.tar.gz cd minieigen-0.5.3/ sudo python setup.py install cd /usr/share/yade17/DEPENDENCIES/ wget "https://downloads.sourceforge.net/project/loki-lib/Loki/Loki%200.1.7/loki-0.1.7.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Floki-lib%2Ffiles%2FLoki%2FLoki%25200.1.7%2F&ts=1499401735&use_mirror=svwh" mv loki-0.1.7.tar.gz\?r\=https\:%2F%2Fsourceforge.net%2Fprojects%2Floki-lib%2Ffiles%2FLoki%2FLoki%200.1.7%2F\&ts\=1499401735\&use_mirror\=svwh loki-0.1.7.tar.gz tar -xvf loki-0.1.7.tar.gz cd loki-0.1.7 make -j8 sudo make install cd /usr/share/yade17/DEPENDENCIES/ wget "https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.8/CGAL-4.8.tar.xz" tar -xvf CGAL-4.8.tar.xz cd CGAL-4.8/ cmake . make -j8 sudo make install cd /usr/share/yade17/DEPENDENCIES/ wget "http://www.graphviz.org/pub/graphviz/stable/redhat/el7/x86_64/os/gts-0.7.6-21.20111025.el7.x86_64.rpm" wget "http://www.graphviz.org/pub/graphviz/stable/redhat/el7/x86_64/os/gts-devel-0.7.6-21.20111025.el7.x86_64.rpm" sudo rpm -Uhv gts-0.7.6-21.20111025.el7.x86_64.rpm sudo rpm -Uhv gts-devel-0.7.6-21.20111025.el7.x86_64.rpm cd /usr/share/yade17/build/ cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DENABLE_GUI=OFF make -j8 sudo make install .bashrc additions LIBGL_ALWAYS_SOFTWARE=1 export LIBGL_ALWAYS_SOFTWARE export PATH=$PATH:/usr/lib64/openmpi/bin export PATH=/usr/local/bin/:/usr/local/sbin/:$PATH export PATH=${PATH}:/usr/bin/ export CONDOR_CONFIG=/etc/condor/condor_config export PATH=$PATH:/usr/lib64/qt5/bin/ export PATH=$PATH/usr/lib64/ export PATH=$PATH:/usr/local/lib/ export PATH=$PATH:/usr/local/include/ export PATH=$PATH:/usr/include/ export PATH=$PATH:/usr/share/Qt5.1.1/5.1.1/* export PATH=$PATH:/usr/local/cuda/bin/ export PATH=$PATH:/usr/local/cuda-7.5/lib64/ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64/ alias crcondor='cp -r /usr/condor_submission/* ./ && mkdir ./condor_output' alias rmcondor='rm cs.submit executable.sh' -- 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

