← Back to team overview

yade-users team mailing list archive

Yade on AIX cluster installation problem II

 

Hello

After conpiling the boost 1.38 library witch updated g++ compiler and
setting Yade like this:

export QTDIR="/opt/freeware/qt" QTINC="/opt/freeware/qt/include" \
 QTLIB="/opt/freeware/qt/lib"

scons \
        PREFIX=/opt/yade \
        CPPPATH="/opt/sqlite3/include /opt/boost/include/boost-1_38" \
        LIBPATH="/opt/sqlite3/lib /opt/boost/lib" \
        QTDIR=/opt/freeware/qt \
        SHCCFLAGS="-lbz2 -lz" \
        LINKFLAGS="-lbz2 -lz" \
        SHLINKFLAGS="-lbz2 -lz" \
        CXX="g++ -lbz2 -lz -lboost_system" \
        jobs=2 \
        version=aix \
        variant='-power5' \
        exclude=gui,qt3,log4cxx,snow \
        features=python \
        optimize=1 \
        openmp=1 \
;

many of the initial check are passed:

Checking whether c++ compiler "g++ -lbz2 -lz -lboost_system"
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... yes
Checking for boost::thread::thread() in C++ library boost_thread-mt...
yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-
mt... yes
Checking for boost::iostreams::file_sink("") in C++ library
boost_iostreams-mt... yes
Checking for boost::regex("") in C++ library boost_regex-mt... yes
Checking for C++ header file boost/foreach.hpp... yes
Checking for sqlite3_close(0L) in C++ library sqlite3... yes
Checking for qt-mt in /opt/freeware/qt... no
AttributeError: 'NoneType' object has no attribute 'split':
  File "/opt/yade/SConstruct", line 331:
    ok=(conf.CheckPython() and conf.CheckIPython() and
CheckLib_maybeMT(conf,'boost_python','boost/python.hpp','c++','boost::python::scope();')
and conf.CheckCXXHeader(['Python.h','numpy/ndarrayobject.h'],'<>'))
  File "/opt/freeware/lib/scons-1.2.0/SCons/SConf.py", line 636:
    ret = apply(self.test, (context,) +  args, kw)
  File "/opt/yade/SConstruct", line 255:
context.env.Append(CPPPATH=ds.get_python_inc(),LIBS=ds.get_config_var('LIBS').split())
Checking for Python development files...

But the exclude parameter seen not to work as it wants log4cxx and gui
libraries

ListOption('features','Optional features that are turned
on','python,log4cxx',names=['python','log4cxx','binfmt','dummy']),

Compiling QT libraries is a bit difficult

When copiling Yade there are a lot of warnings cause SHCCFLAGS,
LINKFLAGS, SHLINKFLAGS, LDFLAGS are not used in the linking phase of
compilator and so there is the need of using "g++ -lz -lb2
-lboost_system"

How could I proceed ?

Thank you very much.

Marco
-- 
This message was sent from Launchpad by the user
MarcoDottor (https://launchpad.net/~marcodottor)
using the "Contact this team" link on the yade-users team page.
For more information see
https://help.launchpad.net/YourAccount/ContactingPeople



Follow ups