← Back to team overview

yade-dev team mailing list archive

Re: [Bug 516988] Re: crash launching fresh installed version

 

Well, the default strategy is the "monolitic" now.
Try __clean__ install. Just point in scons the minimal parameters. Default
settings seem working normal now.
______________________________

Anton Gladkyy


2010/2/4 Emanuele Catalano <catalano@xxxxxxxxxxx>

> I was wondering that was the problem, a previous bug I reported wasn't
> also giving any problem by just changing the link strategy.
>
> I have no interest to use per-class strategy in linking plugins, but why
> is it the default strategy?
>
> Anyway, thanks Anton. I'll try with the monolithic. But in my opinion
> the bug persists.
>
> Ema
>
>
> Anton Gladky a écrit :
> > Sorry, I have just tested it and it works ok for me. No crashes.
> >
> > linkStrategy: How to link plugins together
> (per-class|per-pkg[broken]|monolithic|static[broken])
> >     default: per-class
> >
> > Why do you use this linkStrategy?
> >
> >
>
> --
> crash launching fresh installed version
> https://bugs.launchpad.net/bugs/516988
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> Doing a fresh install (r2006), while launching I obtained this:
>
> Welcome to Yade unknown
> Traceback (most recent call last):
>  File "./yade-trunk-wtrsphrs", line 37, in <module>
>    import yade
>  File
> "/home/3S-LAB/ecatalano/server/lib/yade-trunk-wtrsphrs/py/yade/__init__.py",
> line 50, in <module>
>    import boot
> ImportError: liblog4cxx.so.9: cannot open shared object file: No such file
> or directory
>
> my scons options:
>
> PREFIX: Install path prefix
>    default: /usr/local
>    actual: /home/3S-LAB/ecatalano/server/
>
> runtimePREFIX: Runtime path prefix; DO NOT USE, inteded for packaging only.
>    default: None
>    actual: /home/3S-LAB/ecatalano/server/
>
> variant: Build variant, will be suffixed to all files, along with version
> (beware: if PREFIX is the same, headers of the older version will still be
> overwritten
>    default: -wtrsphrs
>    actual: -wtrsphrs
>
> debug: Enable debugging information and disable optimizations (yes|no)
>    default: 0
>    actual: False
>
> gprof: Enable profiling information for gprof (yes|no)
>    default: 0
>    actual: False
>
> optimize: Turn on heavy optimizations (yes|no)
>    default: 0
>    actual: False
>
> 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: lattice snow
>
> 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 eigen
>    default: log4cxx,opengl,gts,openmp,vtk
>    actual: cgal log4cxx opengl openmp
>
> jobs: Number of jobs to run at the same time (same as -j, but saved)
>    default: 4
>    actual: 2
>
> buildPrefix: Where to create build-[version][variant] directory for
> intermediary files
>    default: ..
>    actual: ..
>
> linkStrategy: How to link plugins together
> (per-class|per-pkg[broken]|monolithic|static[broken])
>    default: per-class
>    actual: per-class
>
> chunkSize: Maximum files to compile in one translation unit when building
> plugins.
>    default: 20
>    actual: 20
>
> version: Yade version (if not specified, guess will be attempted)
>    default: None
>    actual: trunk
>
> CPPPATH: Additional paths for the C preprocessor (colon-separated)
>    default: /usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/eigen2
>    actual: /usr/include/vtk-5.2 /usr/include/vtk-5.4 /usr/include/eigen2
>
> LIBPATH: Additional paths for the linker (colon-separated)
>    default: None
>    actual: None
>
> QTDIR: Directories where to look for qt3
>    default:
> /usr/share/qt3:/usr/lib/qt:/usr/lib/qt3:/usr/qt/3:/usr/lib/qt-3.3
>    actual: /usr/share/qt3 /usr/lib/qt /usr/lib/qt3 /usr/qt/3
> /usr/lib/qt-3.3
>
> 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
>
> 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
>
> useMiniWm3: use local miniWm3 library instead of Wm3Foundation (yes|no)
>    default: 1
>    actual: True
>
> Use scons -H for help about command-line options.
>
>
>

-- 
crash launching fresh installed version
https://bugs.launchpad.net/bugs/516988
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
Doing a fresh install (r2006), while launching I obtained this:

Welcome to Yade unknown
Traceback (most recent call last):
  File "./yade-trunk-wtrsphrs", line 37, in <module>
    import yade
  File "/home/3S-LAB/ecatalano/server/lib/yade-trunk-wtrsphrs/py/yade/__init__.py", line 50, in <module>
    import boot
ImportError: liblog4cxx.so.9: cannot open shared object file: No such file or directory

my scons options:

PREFIX: Install path prefix
    default: /usr/local
    actual: /home/3S-LAB/ecatalano/server/

runtimePREFIX: Runtime path prefix; DO NOT USE, inteded for packaging only.
    default: None
    actual: /home/3S-LAB/ecatalano/server/

variant: Build variant, will be suffixed to all files, along with version (beware: if PREFIX is the same, headers of the older version will still be overwritten
    default: -wtrsphrs
    actual: -wtrsphrs

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

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

optimize: Turn on heavy optimizations (yes|no)
    default: 0
    actual: False

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: lattice snow

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 eigen
    default: log4cxx,opengl,gts,openmp,vtk
    actual: cgal log4cxx opengl openmp

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

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

linkStrategy: How to link plugins together (per-class|per-pkg[broken]|monolithic|static[broken])
    default: per-class
    actual: per-class

chunkSize: Maximum files to compile in one translation unit when building plugins.
    default: 20
    actual: 20

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

CPPPATH: Additional paths for the C preprocessor (colon-separated)
    default: /usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/eigen2
    actual: /usr/include/vtk-5.2 /usr/include/vtk-5.4 /usr/include/eigen2

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

QTDIR: Directories where to look for qt3
    default: /usr/share/qt3:/usr/lib/qt:/usr/lib/qt3:/usr/qt/3:/usr/lib/qt-3.3
    actual: /usr/share/qt3 /usr/lib/qt /usr/lib/qt3 /usr/qt/3 /usr/lib/qt-3.3

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

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

useMiniWm3: use local miniWm3 library instead of Wm3Foundation (yes|no)
    default: 1
    actual: True

Use scons -H for help about command-line options.





Follow ups

References