← Back to team overview

yade-dev team mailing list archive

[Bug 972737] Re: problem of the libraries of Python

 

Hi all,
Hi Anton,

I compile successfully the yade installation (with the command 'scons').
However, when starting Yade for running my script, I got the following
error:

Welcome to Yade bzr3055
Traceback (most recent call last):
  File "./yade-trunk-erosion", line 118, in <module>
    import yade
  File "/home/3S-LAB/attong/YADE//lib/yade-trunk-erosion/py/yade/__init__.py", line 57, in <module>
    import boot
ImportError: /home/3S-LAB/attong/YADE//lib/yade-trunk-erosion/py/yade/../../lib/../lib/libyade-support.so: undefined symbol: __gmpq_init


And, in the config.log, the following error that I saw:


/home/3S-LAB/attong/YADE/build-trunk-erosion/.sconf_temp/conftest_17qrc <-
  |
pyrcc4
PyQt resource compiler
Usage: pyrcc4  [options] <inputs>

Options:
    -o file           Write output to file rather than stdout
    -py2              Generate code for any Python v2.x version (default)
    -py3              Generate code for any Python v3.x version
    -name name        Create an external initialization function with name
    -threshold level  Threshold to consider compressing files
    -compress level   Compress input files by level
    -root path        Prefix resource access path with root path
    -no-compress      Disable all compression
    -version          Display version
    -help             Display this information
/home/3S-LAB/attong/YADE/build-trunk-erosion/.sconf_temp/conftest_18ui <-
  |
pyuic4
Error: one input ui-file must be specified


what is my probleme ?  Anybody could give me a solution for my problem?
Thanks !
Anh Tuan

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/972737

Title:
  problem of the libraries of Python

Status in Yet Another Dynamic Engine:
  Invalid

Bug description:
  Hi all,

  when I tried to install Yade on my PC (using Kubuntu 12.04), I get this error message below:
  Anybody would help me solve my problems? 

  Thanks a lot.

  scons: Reading SConscript files ...
  @@@ Using profile last (scons.profile-last) @@@
  Eigen 2 math library will be used
  Yade version is `attong' (bzr3063), installed files will be suffixed with `-attong-last'.
  All intermediary files will be in `/home/3S-LAB/attong/YADE/build-attong-last'.
  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_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/3S-LAB/attong/YADE/build-attong-last/config.log' for
  possible causes, note that there are options that you may need to
  customize:

  
  PREFIX: Install path prefix
      default: /usr/local
      actual: attong@braves:~/YADE/

  runtimePREFIX: Runtime path prefix; DO NOT USE, inteded for packaging only.
      default: None
      actual: attong@braves:~/YADE/

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

  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: cgal log4cxx opengl openmp qt4 vtk

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

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

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

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

  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-5.8:/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-5.8 /usr/include/vtk /usr/include/eigen2 /home/3S-LAB/attong/YADE/build-attong-last/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: -DFLOW_ENGINE

  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

  eigen2: Force to use eigen2, if even eigen3 persists in the system. (yes|no)
      default: False
      actual: False

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/972737/+subscriptions


References