← Back to team overview

yade-users team mailing list archive

Re: [Question #175843]: examples can't be run after I upgrade my ubuntu version

 

Question #175843 on Yade changed:
https://answers.launchpad.net/yade/+question/175843

Jack Wang gave more information on the question:
Dear Anton
After upgrading I once try to recompile yade, but there were problems.

kinn@kinn-desktop:~/yade-0.60.3$ scons PREFIX=/home/kinn/YADE60 optimize=1 linkStrategy=monolithic features=python,opengl,openmp,log4cxx,gts,vtk,qt4 
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `0.60.3' (0.60.3), installed files will be suffixed with `-0.60.3'.
All intermediary files will be in `/home/kinn/build-0.60.3/dbg'.
Mkdir("/home/kinn/build-0.60.3/dbg")
Checking whether c++ compiler "g++" works...yes
Finding libstdc++ library... (cached) /usr/lib/i386-linux-gnu/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_program_options, boost_python
Checking for C++ header file boost/foreach.hpp... yes
Checking for C++ header file Eigen/Core... yes
Checking for C++ header file loki/NullType.h... yes

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

Check `/home/kinn/build-0.60.3/dbg/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/kinn/YADE60

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

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

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

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: 1

exclude: Yade components that will not be built
    (all|none|comma-separated list of names)
    allowed names: gui extra common dem lattice snow
    default: none
    actual: 

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 python gl2ps devirt-functors qt4 never_use_this_one
    default: log4cxx,opengl,gts,openmp,vtk
    actual: gts log4cxx opengl openmp python 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: 0.60.3

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

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/eigen2:/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/eigen2 /usr/include/vtk /home/kinn/build-0.60.3/dbg/include /usr/include/python2.7

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/i386-linux-gnu/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

mono: [experimental] Build only one shared library and make all other files (python objects, for instance) only be symlinks. (yes|no)
    default: 0
    actual: False

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

defThreads: Default number of OpenMP threads to run with, unless overridden with -j. Keep unset (negative) to default to using all cores.
    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

So where  are the problems?
Thanks.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.