← Back to team overview

yade-dev team mailing list archive

[Bug 418107] Re: bzr1727 fails to compile on ubuntu 9.04

 

actually on my regular box the rev1728 it is not compiling either (and
two revisions ago it was!)! See this error:

/home/janek/tmp/ZZ/build-ZZ-test-fast/include/yade-ZZ-test/indexing_suite/slice_handler.hpp:48: error: `list' in namespace `boost::python' does not name a type
/home/janek/tmp/ZZ/build-ZZ-test-fast/include/yade-ZZ-test/indexing_suite/slice_handler.hpp: In static member function `static boost::python::api::object boost::python::indexing::slice_handler<Algorithms, Policy>::make_getitem(const Policy&)':
/home/janek/tmp/ZZ/build-ZZ-test-fast/include/yade-ZZ-test/indexing_suite/slice_handler.hpp:92: error: `get_slice' was not declared in this scope
/home/janek/tmp/ZZ/build-ZZ-test-fast/include/yade-ZZ-test/indexing_suite/slice_handler.hpp: At global scope:
/home/janek/tmp/ZZ/build-ZZ-test-fast/include/yade-ZZ-test/indexing_suite/slice_handler.hpp:180: error: expected constructor, destructor, or type conversion before `slice_handler'
In file included from /usr/include/boost/python.hpp:24,
                 from /home/janek/tmp/ZZ/build-ZZ-test-fast/include/yade-ZZ-test/yade/lib-serialization/Serializable.hpp:23,
                 from /home/janek/tmp/ZZ/yade/core/GeometricalModel.hpp:14,
                 from /home/janek/tmp/ZZ/yade/core/Body.hpp:13,
                 from /home/janek/tmp/ZZ/yade/core/Body.cpp:11,
                 from /home/janek/tmp/ZZ/build-ZZ-test-fast/core/core.cpp:1:
/usr/include/boost/python/dict.hpp:38: error: `list' does not name a type
/usr/include/boost/python/dict.hpp:50: error: `list' does not name a type
/usr/include/boost/python/dict.hpp:65: error: `list' does not name a type

-- 
bzr1727 fails to compile on ubuntu 9.04
https://bugs.launchpad.net/bugs/418107
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:
I even made a clean ubuntu 9.04 install under vmware to be sure that it's not some broken python configuration. When you type scons to compile you only get this error:

scons: Reading SCconscript files...
@@@ Using profile default (scons.profile default) @@@
TypeError: cannot concatenate 'str' and 'NoneType' objects:
  File "/home/janek/trunk/SConstruct", line 194:
    env['SUFFIX']='-'+env['version']+env['variant']


It doesn't even start checking what libraries are available.



References