← Back to team overview

yade-users team mailing list archive

[Question #509268]: Error in installation from source code

 

New question #509268 on Yade:
https://answers.launchpad.net/yade/+question/509268

Dear Yade users,

I'm trying to install Yade in Ubuntu from source code. I followed the instruction from http://yade-dem.org/doc/installation.html but get stuck with the following step:
When i copy this command to the terminal:
sudo apt-get install cmake git freeglut3-dev libloki-dev \
libboost-all-dev fakeroot dpkg-dev build-essential g++ \
python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \
libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \
python-xlib python-pyqt5 pyqt5-dev-tools python-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse \
libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \
libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen

The error is: 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-pyqt5
E: Unable to locate package python-pyqt5.qtwebkit
E: Couldn't find any package by regex 'python-pyqt5.qtwebkit'
---------------------------
When i continued with the CMAKE: Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-pyqt5
E: Unable to locate package python-pyqt5.qtwebkit
E: Couldn't find any package by regex 'python-pyqt5.qtwebkit'

I got anther error:

Version is set to Unknown
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Could NOT find GL2PS (missing:  GL2PS_LIBRARY GL2PS_INCLUDE_DIR) 
-- Could NOT find Loki (missing:  LOKI_INCLUDE_DIR LOKI_LIBRARY) 
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.54.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_python
          boost_filesystem
          boost_iostreams
          boost_regex

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:92 (FIND_PACKAGE)


--   Boost_VERSION: 105400
--   Boost_LIB_VERSION: 1_54
--   Boost_INCLUDE_DIRS: /usr/include
--   Boost_LIBRARIES: 
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (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:315 (_FPHSA_FAILURE_MESSAGE)
  cMake/FindLoki.cmake:14 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:105 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/tatthann/CMakeFiles/CMakeOutput.log".
See also "/home/tatthann/CMakeFiles/CMakeError.log".
-------------------------------------------
Could you pls show me how to solve the problem. and what's step may I make the mistake?

Thank you so much!
Thang






You received this question notification because your team yade-users is
an answer contact for Yade.