install yade on a virtual machine

Asked by wangxiaoliang on 2012-03-10

Hi all
when I tried to install yade on a virtual machine (ubuntu)
I have finished all the external software yade depends, except python-numeric ( sudo apt-get does not work for python-numeric)

then I try to install yade
error emerged below

anybody would help me solve my problems?
thanks a lot.

scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Eigen 2 math library will be used
Yade version is `0.70.0' (0.70.0), installed files will be suffixed with `-0.70.0'.
All intermediary files will be in `/home/wangxiaoliang/Yade/build-0.70.0'.
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... ok
Checking for C++ header file numpy/ndarrayobject.h... yes
Checking for required python modules... (cached) all ok
Checking boost libraries... Failures: boost_program_options
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/wangxiaoliang/Yade/build-0.70.0/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/wangxiaoliang/YADE

runtimePREFIX: Runtime path prefix; DO NOT USE, inteded for packaging only.
    default: None
    actual: /home/wangxiaoliang/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); with negative value (-1) optimization is based on debugging: not optimize with debugging (debug=True <=> optimize=False) and vice versa. With positive values optimization is performed (case of 1) or not (0) independent of debugging
    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: 0.70.0

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

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/wangxiaoliang/Yade/build-0.70.0/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

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

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
wangxiaoliang
Solved:
2012-03-10
Last query:
2012-03-10
Last reply:
2012-03-10
Anton Gladky (gladky-anton) said : #1

Hi,

do you have specific reasons not to install yade from packages?

Anton

wangxiaoliang (wangxiaoliang) said : #2

Hi Anton, I do not understand your comments.
I have installed (using scons) in the yade fold unpackage from the compressed file downloaded from the offical website. It works in my ubuntu system, but not works in virtual ubuntu.

Anton Gladky (gladky-anton) said : #3

If you are not going to add new contact-models, program something, but
only use yade, it is better to install yade-daily. No need to compile
yade each time.

Did you install libboost-program-options-dev to compile yade?

Anton

2012/3/10 wangxiaoliang <email address hidden>:
> Question #190237 on Yade changed:
> https://answers.launchpad.net/yade/+question/190237
>
>    Status: Answered => Open
>
> wangxiaoliang is still having a problem:
> Hi Anton, I do not understand your comments.
> I have installed (using scons) in the yade fold unpackage from the compressed file downloaded from the offical website. It works in my ubuntu system, but not works in virtual ubuntu.
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp

Hi,
as Anton suggested you can install Yade from packages following this link:
https://answers.launchpad.net/yade/+faq/1789
for stable versions. However, the difference being that in this case you
won't be able to modify the source code.

Chiara

On 10/03/2012 13:10, wangxiaoliang wrote:
> Question #190237 on Yade changed:
> https://answers.launchpad.net/yade/+question/190237
>
> Status: Answered => Open
>
> wangxiaoliang is still having a problem:
> Hi Anton, I do not understand your comments.
> I have installed (using scons) in the yade fold unpackage from the compressed file downloaded from the offical website. It works in my ubuntu system, but not works in virtual ubuntu.
>

wangxiaoliang (wangxiaoliang) said : #5

thanks nice guys, I like your help a lot