← Back to team overview

yade-users team mailing list archive

Installing and compiling YADE

 

I am totally new to this field and I need to use Yade. I downloaded Yade
0.60.2 , extracted and also installed the prerequsted packages
mensioned. But in compiling (using scons) the followiing msg appears.

gayan@gayan-Prime-Series:~$ cd yade
gayan@gayan-Prime-Series:~/yade$ scons PREFIX=/home/gayan/YADE
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Eigen 2 math library will be used
Yade version is `bzr2845' (bzr2845), installed files will be suffixed
with `-bzr2845'.
All intermediary files will be in `/home/gayan/build-bzr2845'.
Mkdir("/home/gayan/build-bzr2845")
Checking whether c++ compiler "g++" works...yes
Finding libstdc++ library... (cached) /usr/lib/libstdc++.so.6
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for Python development files... error
Checking for required python modules... (cached) all ok
Checking boost libraries... Failures: boost_thread, boost_date_time,
boost_filesystem, boost_iostreams, boost_regex, boost_serialization,
boost_program_options, boost_python
Checking for C++ header file boost/foreach.hpp... no
(OK, local version will be used instead)
Checking for C++ header file Eigen/Core... no
Checking for C++ header file loki/NullType.h... no

One of the essential libraries above was not found, unable to continue.

Check `/home/gayan/build-bzr2845/config.log' for possible causes, note
that there are options that you may need to customize:

PREFIX: Install path prefix
    default: /usr/local
    actual: /home/gayan/YADE

runtimePREFIX: Runtime path prefix; DO NOT USE, inteded for packaging
only.
    default: None
    actual: /home/gayan/YADE

variant: Build variant, will be suffixed to all files, along with
version.
    default:
    actual:

debug: Enable debugging information (yes|no)
    default: 0
    actual: False

gprof: Enable profiling information for gprof (yes|no)
    default: 0
    actual: False

optimize: Turn on optimizations (-1, 0 or 1); negative value sets
optimization based on debugging: not optimize with debugging and vice
versa.
    default: -1
    actual: True

PGO: Whether to "gen"erate or "use" Profile-Guided Optimization
(|gen|use)
    default:
    actual:

features: Optional features that are turned on
    (all|none|comma-separated list of names)
    allowed names: opengl log4cxx cgal openmp gts vtk gl2ps qt4 sphere-
padder never_use_this_one subdomains
    default: log4cxx,opengl,gts,openmp,vtk,qt4
    actual: gts log4cxx opengl openmp qt4 vtk

jobs: Number of jobs to run at the same time (same as -j, but saved)
    default: 2
    actual: 2

buildPrefix: Where to create build-[version][variant] directory for
intermediary files
    default: ..
    actual: ..

hotPlugins: Files (without the .cpp extension) that will be compiled
separately even in the monolithic build (use for those that you modify
frequently); comma-separated.
    default:
    actual:

chunkSize: Maximum files to compile in one translation unit when
building plugins. (unlimited if <= 0, per-file linkage is used if 1)
    default: 7
    actual: 7

version: Yade version (if not specified, guess will be attempted)
    default: None
    actual: bzr2845

realVersion: Revision (usually bzr revision); guessed automatically
unless specified
    default: None
    actual: bzr2845

CPPPATH: Additional paths for the C preprocessor (colon-separated)
    default:
/usr/include/vtk-5.0:/usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/vtk-5.6:/usr/include/vtk
    actual: /usr/include/vtk-5.0 /usr/include/vtk-5.2
/usr/include/vtk-5.4 /usr/include/vtk-5.6 /usr/include/vtk
/usr/include/eigen2 /home/gayan/build-bzr2845/include
/usr/include/python2.6

LIBPATH: Additional paths for the linker (colon-separated)
    default: None
    actual:

libstdcxx: Specify libstdc++ location by hand (opened dynamically at
startup), usually not needed
    default: None
    actual: /usr/lib/libstdc++.so.6

QT4CXX: Specify a different compiler for files including qt4; this is
necessary for older qt version (<=4.7) which don't compile with clang
    default: None
    actual: None

QT4DIR: Directory where Qt4 is installed
    default: /usr/share/qt4
    actual: /usr/share/qt4

PATH: Path (not imported automatically from the shell) (colon-separated)
    default: None
    actual: None

CXX: The c++ compiler
    default: g++
    actual: g++

CXXFLAGS: Additional compiler flags for compilation (like -march=core2).
    default: None
    actual:

march: Architecture to use with -march=... when optimizing
    default: native
    actual: native

execCheck: Name of the main script that should be installed; if the
current one differs, an error is raised (do not use directly, only
intended for --rebuild
    default: None
    actual: None

defThreads: No longer used, specify -j each time yade is run (defaults
to 1 now)
    default: -1
    actual: -1

SHCCFLAGS: Additional compiler flags for linking (for plugins).
    default: None
    actual: -fPIC

QUAD_PRECISION: typedef Real as long double (=quad) (yes|no)
    default: 0
    actual: False

brief: Don't show commands being run, only what files are being
compiled/linked/installed (yes|no)
    default: True
    actual: True

gayan@gayan-Prime-Series:~/yade$

Sorry for this long mail but I don't know to fix this error and
loanching Yade. Your suggesions are highly appreciated.
Thanks.
-- 
This message was sent from Launchpad by
Gayan Wanasinghe (https://launchpad.net/~wanasinghegi)
using the "Contact this team" link on the yade-users team page
(https://launchpad.net/~yade-users).
For more information see
https://help.launchpad.net/YourAccount/ContactingPeople


Follow ups