← Back to team overview

yade-dev team mailing list archive

python-scientific problems on debian etch.

 

OK, I thought I'll give it a try and installed:

  [INSTALL, DEPENDENCIES] blt
  [INSTALL, DEPENDENCIES] liblog4cxx9c2a
  [INSTALL, DEPENDENCIES] libnetcdf3
  [INSTALL, DEPENDENCIES] python-netcdf
  [INSTALL, DEPENDENCIES] python-numeric-ext
  [INSTALL, DEPENDENCIES] python-tk
  [INSTALL] liblog4cxx9-dev
  [INSTALL] python-scientific

that's a copy'n'paste from /var/log/aptitude


So I got this:

Checking whether c++ compiler "distcc g++" works...yes
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for glutGetModifiers() in C library glut... yes
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... no
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time... yes
Checking for boost::thread::thread() in C++ library boost_thread-mt... no
Checking for boost::thread::thread() in C++ library boost_thread... yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... no
Checking for boost::filesystem::path() in C++ library boost_filesystem... yes
Checking for Wm3::Math<double>::PI in C++ library Wm3Foundation... yes
Checking for qt-mt in /usr/share/qt3... yes
Checking for QGLViewer(1) in C++ library QGLViewer... no
Checking for QGLViewer(1) in C++ library qglviewer... yes
Checking for log4cxx::Logger::getLogger("foo") in C++ library log4cxx... yes
Checking for Python development files... yes
Checking for scientific python module (debian: python-scientific)... (cached) yes
Checking for boost::python::scope() in C++ library boost_python-mt... no
Checking for boost::python::scope() in C++ library boost_python... yes
scons: done reading SConscript files.


And so I got this error:


/usr/include/python2.4/object.h:343: error: expected unqualified-id before ';' token
/usr/include/python2.4/object.h:343: error: abstract declarator 'PyObject*' used as declaration
distcc[9016] ERROR: compile gui/qt3/GLViewer.cpp on localhost failed
scons: *** [/home/janek/20-Programowanie/10-cpp/50-Yade/Code/CURRENT/build-svn1244-moment_law2/gui/qt3/GLViewer.os] Error 1
/usr/include/python2.4/object.h:343: error: expected unqualified-id before ';' token
/usr/include/python2.4/object.h:343: error: abstract declarator 'PyObject*' used as declaration
distcc[9031] ERROR: compile gui/qt3/QtCodeGenerator.cpp on localhost failed
scons: *** [/home/janek/20-Programowanie/10-cpp/50-Yade/Code/CURRENT/build-svn1244-moment_law2/gui/qt3/QtCodeGenerator.os] Error 1
extra/BrefcomTestGen.cpp: In member function 'virtual bool BrefcomTestGen::generate()':
extra/BrefcomTestGen.cpp:136: warning: unused variable 'id3'
/usr/include/python2.4/object.h:343: error: expected unqualified-id before ';' token
/usr/include/python2.4/object.h:343: error: abstract declarator 'PyObject*' used as declaration
distcc[9015] ERROR: compile gui/qt3/GLSimulationPlayerViewer.cpp on tien/2 failed
scons: *** [/home/janek/20-Programowanie/10-cpp/50-Yade/Code/CURRENT/build-svn1244-moment_law2/gui/qt3/GLSimulationPlayerViewer.os] Error 1
scons: building terminated because of errors.

Vaclav, I have no idea how to fix those python 2.4 related errors. I
guess that I cannot run pyView in that case?



So now I'm gonna uninstall those packages and use yade as before. BUT
I had python-devel installed. So yade is compiling when following
stuff is detected:


Checking whether c++ compiler "distcc g++" works...yes
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for glutGetModifiers() in C library glut... yes
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... no
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time... yes
Checking for boost::thread::thread() in C++ library boost_thread-mt... no 
Checking for boost::thread::thread() in C++ library boost_thread... yes 
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... no
Checking for boost::filesystem::path() in C++ library boost_filesystem... yes
Checking for Wm3::Math<double>::PI in C++ library Wm3Foundation... yes
Checking for qt-mt in /usr/share/qt3... yes 
Checking for QGLViewer(1) in C++ library QGLViewer... no
Checking for QGLViewer(1) in C++ library qglviewer... yes 
Checking for log4cxx::Logger::getLogger("foo") in C++ library log4cxx... no
Checking for Python development files... yes 
Checking for scientific python module (debian: python-scientific)... (cached) no
scons: done reading SConscript files.


Care to help with that?

-- 
Janek Kozicki
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups