PythonOgre Mint14 install problems

mzu

07-02-2013 14:29:59

Hello,

I'm trying to build PythonOgre 1.7.2 under Mint 14. However, after two days trying, reading, and searching, I decided to sign-up and post the problem. I follow the Wiki v4 steps, and the error occurs in step 3 (Steps 1 and 2 ran fine without any errors).

python python-ogre/BuildModule.py -b gccxml pygccxml cg pyplusplus boost_python --usesystem

This gives the following:

02-07 15:11 PythonOgre.BuildModule INFO Build Command mkdir -p gccxml-build
02-07 15:11 PythonOgre.BuildModule DEBUG Spawning 'mkdir -p gccxml-build' in '/home/michael/Ogre'
02-07 15:11 PythonOgre.BuildModule INFO Build Command cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/usr
02-07 15:11 PythonOgre.BuildModule DEBUG Spawning 'cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/usr' in '/home/michael/Ogre/gccxml-build'
02-07 15:11 PythonOgre.BuildModule INFO Build Command make
02-07 15:11 PythonOgre.BuildModule DEBUG Spawning 'make' in '/home/michael/Ogre/gccxml-build'
02-07 15:13 PythonOgre.BuildModule INFO Build Command sudo make install
02-07 15:13 PythonOgre.BuildModule DEBUG Spawning 'sudo make install' in '/home/michael/Ogre/gccxml-build'
02-07 15:13 PythonOgre.BuildModule INFO Build Command sudo python setup.py install
02-07 15:13 PythonOgre.BuildModule DEBUG Spawning 'sudo python setup.py install ' in '/home/michael/Ogre/pygccxml'
02-07 15:13 PythonOgre.BuildModule INFO Build Command sudo tar xvzf /home/michael/Ogre/downloads/Cg-2.2_October2009_x86_64.tgz --overwrite
02-07 15:13 PythonOgre.BuildModule DEBUG Spawning 'sudo tar xvzf /home/michael/Ogre/downloads/Cg-2.2_October2009_x86_64.tgz --overwrite' in '/'
02-07 15:13 PythonOgre.BuildModule INFO Build Command sudo python setup.py install
02-07 15:13 PythonOgre.BuildModule DEBUG Spawning 'sudo python setup.py install ' in '/home/michael/Ogre/pyplusplus'
02-07 15:13 PythonOgre.BuildModule INFO Build Command unzip -o /home/michael/Ogre/python-ogre/ThirdParty/boost_python.zip
02-07 15:13 PythonOgre.BuildModule DEBUG Spawning 'unzip -o /home/michael/Ogre/python-ogre/ThirdParty/boost_python.zip' in '/home/michael/Ogre'
02-07 15:13 PythonOgre.BuildModule INFO Build Command bjam -j8 release --with-python --with-thread --with-date_time --prefix=/usr
02-07 15:13 PythonOgre.BuildModule DEBUG Spawning 'bjam -j8 release --with-python --with-thread --with-date_time --prefix=/usr' in '/home/michael/Ogre/boost_python'
02-07 15:14 PythonOgre.BuildModule WARNING Task Failed
02-07 15:14 PythonOgre.BuildModule DEBUG warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/ ... ation.html

Building the Boost C++ Libraries.

After the build, the headers will be located at

/home/michael/Ogre/boost_python

The libraries will be located at

/home/michael/Ogre/boost_python/stage/lib

Use 'bjam install --prefix=<path>' if you wish to install headers and
libraries to a different location and remove the source tree.


...patience...
...patience...
...found 2209 targets...
...updating 117 targets...
common.mkdir stage
common.mkdir bin.v2
common.mkdir bin.v2/libs
common.mkdir stage/lib
common.mkdir bin.v2/libs/date_time
common.mkdir bin.v2/libs/python
common.mkdir bin.v2/libs/thread
common.mkdir bin.v2/libs/date_time/build
common.mkdir bin.v2/libs/thread/build
common.mkdir bin.v2/libs/python/build
common.mkdir bin.v2/libs/date_time/build/gcc-4.7
common.mkdir bin.v2/libs/thread/build/gcc-4.7
common.mkdir bin.v2/libs/python/build/gcc-4.7
common.mkdir bin.v2/libs/date_time/build/gcc-4.7/release
common.mkdir bin.v2/libs/thread/build/gcc-4.7/release
common.mkdir bin.v2/libs/python/build/gcc-4.7/release
common.mkdir bin.v2/libs/thread/build/gcc-4.7/release/threading-multi
common.mkdir bin.v2/libs/thread/build/gcc-4.7/release/link-static
common.mkdir bin.v2/libs/date_time/build/gcc-4.7/release/threading-multi
common.mkdir bin.v2/libs/python/build/gcc-4.7/release/threading-multi
common.mkdir bin.v2/libs/date_time/build/gcc-4.7/release/link-static
common.mkdir bin.v2/libs/python/build/gcc-4.7/release/link-static
common.mkdir bin.v2/libs/thread/build/gcc-4.7/release/threading-multi/pthread
common.mkdir bin.v2/libs/date_time/build/gcc-4.7/release/threading-multi/gregorian
common.mkdir bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi
common.mkdir bin.v2/libs/date_time/build/gcc-4.7/release/link-static/threading-multi
common.mkdir bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi
common.mkdir bin.v2/libs/date_time/build/gcc-4.7/release/link-static/threading-multi/gregorian
common.mkdir bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi/pthread
gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/threading-multi/pthread/thread.o
In file included from ./boost/thread/detail/platform.hpp:17:0,
from ./boost/thread/detail/config.hpp:20,
from libs/thread/src/pthread/thread.cpp:8:
./boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
libs/thread/src/pthread/thread.cpp: In function ‘void boost::this_thread::sleep(const system_time&)’:
libs/thread/src/pthread/thread.cpp:346:48: error: ‘to_timespec_duration’ was not declared in this scope

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/gcc-4.7/release/threading-multi/pthread/thread.o" "libs/thread/src/pthread/thread.cpp"

...failed gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/threading-multi/pthread/thread.o...
gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi/pthread/thread.o
In file included from ./boost/thread/detail/platform.hpp:17:0,
from ./boost/thread/detail/config.hpp:20,
from libs/thread/src/pthread/thread.cpp:8:
./boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
libs/thread/src/pthread/thread.cpp: In function ‘void boost::this_thread::sleep(const system_time&)’:
libs/thread/src/pthread/thread.cpp:346:48: error: ‘to_timespec_duration’ was not declared in this scope

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi/pthread/thread.o" "libs/thread/src/pthread/thread.cpp"

...failed gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi/pthread/thread.o...
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.7/release/link-static/threading-multi/gregorian/greg_weekday.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.7/release/link-static/threading-multi/gregorian/date_generators.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/long.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.7/release/threading-multi/gregorian/greg_month.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.7/release/link-static/threading-multi/gregorian/greg_month.o
gcc.archive bin.v2/libs/date_time/build/gcc-4.7/release/link-static/threading-multi/libboost_date_time.a
common.copy stage/lib/libboost_date_time.a
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/list.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/numeric.o
common.mkdir bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/converter
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/numeric.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/long.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/converter/from_python.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/list.o
common.mkdir bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/converter/registry.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/tuple.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/slice.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/dict.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/life_support.o
libs/python/src/object/life_support.cpp: In function ‘PyObject* boost::python::objects::make_nurse_and_patient(PyObject*, PyObject*)’:
libs/python/src/object/life_support.cpp:94:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/life_support.cpp:96:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/converter/type_id.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/errors.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/str.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/converter/arg_to_python_base.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/converter/builtin_converters.o
libs/python/src/converter/builtin_converters.cpp:369:13: warning: ‘boost::python::converter::{anonymous}::py_unicode_as_string_unaryfunc’ defined but not used [-Wunused-variable]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/enum.o
libs/python/src/object/enum.cpp: In function ‘boost::python::api::object boost::python::objects::{anonymous}::new_enum_type(const char*, const char*)’:
libs/python/src/object/enum.cpp:150:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/module.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/class.o
libs/python/src/object/class.cpp: In function ‘int boost::python::property_init(PyObject*, PyObject*, PyObject*)’:
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp: In function ‘PyObject* boost::python::objects::static_data()’:
libs/python/src/object/class.cpp:211:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/class.cpp: In function ‘boost::python::type_handle boost::python::objects::class_metatype()’:
libs/python/src/object/class.cpp:319:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/class.cpp: In function ‘boost::python::type_handle boost::python::objects::class_type()’:
libs/python/src/object/class.cpp:473:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/pickle_support.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/function.o
libs/python/src/object/function.cpp: In constructor ‘boost::python::objects::function::function(const boost::python::objects::py_function&, const boost::python::detail::keyword*, unsigned int)’:
libs/python/src/object/function.cpp:108:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/function.cpp:110:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/iterator.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/stl_iterator.o
gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi/pthread/once.o
In file included from ./boost/thread/detail/platform.hpp:17:0,
from ./boost/thread/once.hpp:12,
from libs/thread/src/pthread/once.cpp:7:
./boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi/pthread/once.o" "libs/thread/src/pthread/once.cpp"

...failed gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi/pthread/once.o...
...skipped <pbin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi>libboost_thread.a(clean) for lack of <pbin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi>pthread/thread.o...
...skipped <pbin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi>libboost_thread.a for lack of <pbin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi>pthread/thread.o...
...skipped <pstage/lib>libboost_thread.a for lack of <pbin.v2/libs/thread/build/gcc-4.7/release/link-static/threading-multi>libboost_thread.a...
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.7/release/threading-multi/gregorian/greg_weekday.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/inheritance.o
In file included from /usr/include/c++/4.7/backward/hash_set:61:0,
from ./boost/pending/container_traits.hpp:23,
from ./boost/graph/detail/adjacency_list.hpp:31,
from ./boost/graph/adjacency_list.hpp:324,
from libs/python/src/object/inheritance.cpp:11:
/usr/include/c++/4.7/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object_protocol.o
gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/threading-multi/pthread/once.o
In file included from ./boost/thread/detail/platform.hpp:17:0,
from ./boost/thread/once.hpp:12,
from libs/thread/src/pthread/once.cpp:7:
./boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/gcc-4.7/release/threading-multi/pthread/once.o" "libs/thread/src/pthread/once.cpp"

...failed gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.7/release/threading-multi/pthread/once.o...
...skipped <pbin.v2/libs/thread/build/gcc-4.7/release/threading-multi>libboost_thread.so.1.42.0 for lack of <pbin.v2/libs/thread/build/gcc-4.7/release/threading-multi>pthread/thread.o...
...skipped <pstage/lib>libboost_thread.so.1.42.0 for lack of <pbin.v2/libs/thread/build/gcc-4.7/release/threading-multi>libboost_thread.so.1.42.0...
...skipped <pstage/lib>libboost_thread.so for lack of <pstage/lib>libboost_thread.so.1.42.0...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/wrapper.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object_operators.o
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.7/release/threading-multi/gregorian/date_generators.o
gcc.link.dll bin.v2/libs/date_time/build/gcc-4.7/release/threading-multi/libboost_date_time.so.1.42.0
common.copy stage/lib/libboost_date_time.so.1.42.0
ln-UNIX stage/lib/libboost_date_time.so
common.mkdir bin.v2/libs/python/build/gcc-4.7/release/threading-multi/converter
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/import.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/exec.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/converter/from_python.o
common.mkdir bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/converter/registry.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/converter/type_id.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/tuple.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/dict.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/life_support.o
libs/python/src/object/life_support.cpp: In function ‘PyObject* boost::python::objects::make_nurse_and_patient(PyObject*, PyObject*)’:
libs/python/src/object/life_support.cpp:94:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/life_support.cpp:96:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/slice.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/str.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/errors.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/function_doc_signature.o
gcc.archive bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/libboost_python.a
common.copy stage/lib/libboost_python.a
...on 100th target...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/enum.o
libs/python/src/object/enum.cpp: In function ‘boost::python::api::object boost::python::objects::{anonymous}::new_enum_type(const char*, const char*)’:
libs/python/src/object/enum.cpp:150:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/converter/arg_to_python_base.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/class.o
libs/python/src/object/class.cpp: In function ‘int boost::python::property_init(PyObject*, PyObject*, PyObject*)’:
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
libs/python/src/object/class.cpp: In function ‘PyObject* boost::python::objects::static_data()’:
libs/python/src/object/class.cpp:211:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/class.cpp: In function ‘boost::python::type_handle boost::python::objects::class_metatype()’:
libs/python/src/object/class.cpp:319:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/class.cpp: In function ‘boost::python::type_handle boost::python::objects::class_type()’:
libs/python/src/object/class.cpp:473:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/converter/builtin_converters.o
libs/python/src/converter/builtin_converters.cpp:369:13: warning: ‘boost::python::converter::{anonymous}::py_unicode_as_string_unaryfunc’ defined but not used [-Wunused-variable]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/pickle_support.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/module.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/function.o
libs/python/src/object/function.cpp: In constructor ‘boost::python::objects::function::function(const boost::python::objects::py_function&, const boost::python::detail::keyword*, unsigned int)’:
libs/python/src/object/function.cpp:108:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/python/src/object/function.cpp:110:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/stl_iterator.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object_protocol.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/inheritance.o
In file included from /usr/include/c++/4.7/backward/hash_set:61:0,
from ./boost/pending/container_traits.hpp:23,
from ./boost/graph/detail/adjacency_list.hpp:31,
from ./boost/graph/adjacency_list.hpp:324,
from libs/python/src/object/inheritance.cpp:11:
/usr/include/c++/4.7/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/iterator.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object_operators.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/wrapper.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/import.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/exec.o
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/object/function_doc_signature.o
gcc.link.dll bin.v2/libs/python/build/gcc-4.7/release/threading-multi/libboost_python.so.1.42.0
common.copy stage/lib/libboost_python.so.1.42.0
ln-UNIX stage/lib/libboost_python.so
...failed updating 4 targets...
...skipped 6 targets...
...updated 107 targets...

02-07 15:14 PythonOgre.BuildModule DEBUG
02-07 15:14 PythonOgre.BuildModule INFO Build Command echo This may take a while -- copying each include file individually!!
02-07 15:14 PythonOgre.BuildModule DEBUG Spawning 'echo This may take a while -- copying each include file individually!!' in '/home/michael/Ogre'
02-07 15:14 PythonOgre.BuildModule INFO Build Command sudo bjam install --with-python --prefix=/usr
02-07 15:14 PythonOgre.BuildModule DEBUG Spawning 'sudo bjam install --with-python --prefix=/usr' in '/home/michael/Ogre/boost_python'


Can anybody help me with this ?

Many thanks in advance
Michael

dermont

08-02-2013 06:14:38

I think this is a boost issue with gcc 4.7 and boost 1.47/1.48.
https://svn.boost.org/trac/boost/ticket/6165

Try boost 1.49 or you will probably find it easier to skip building boost from source and install the default package version of boost-python for your distro.

mzu

08-02-2013 07:14:34

Hi,

Thanks for the reply. I have boost 1.49 installed from the repositories. But even then I keep getting this error. I have tried to build without boost with these steps from step 4:
python python-ogre/BuildModule.py -r ois ogre
python python-ogre/BuildModule.py -b ois ogre --usesystem


However, then I am not able to build and the log.out file shows something about boost as well. When I get back from work I can post the log file. But it seems that I need to solve the boost problem from step3.

mzu

09-02-2013 15:18:49

This is what happens in step 5 (not step 4 as mentioned earlier). I didn't build boost_python in step 3. Step 4 runs successful without any errors.
Step 5 is asking to do: python python-ogre/BuildModule.py -g -c ogre --usesystem

02-09 16:15 PythonOgre.BuildModule INFO Building Source code for ogre
02-09 16:15 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py --usesystem' in '/home/michael/Ogre/python-ogre/code_generators/ogre'
02-09 16:15 PythonOgre.BuildModule WARNING Task Failed
02-09 16:15 PythonOgre.BuildModule DEBUG ***** :

02-09 16:15 PythonOgre.BuildModule DEBUG INFO Creating xml file "/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" from source file "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" ...
pygccxml.cxx_parser: INFO Creating xml file "/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" from source file "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" ...
INFO gccxml cmd: /usr/bin/gccxml -I"/home/michael/Ogre/python-ogre" -I"/home/michael/Ogre/python-ogre/code_generators/ogre" -I"/usr/include/boost" -I"/usr/include/OGRE" -I"/usr/include/OGRE/Property" -I"/usr/include/python2.7/" -D"OGRE_NONCLIENT_BUILD" -D"OGRE_GCC_VISIBILITY" -D"__PYTHONOGRE_BUILD_CODE" -D"HAVE_OGRE_BUILDSETTINGS_H" -D"__GCCXML__" -D"OGRE_VERSION_1.7.2" "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" -fxml="/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml"
pygccxml.cxx_parser: INFO gccxml cmd: /usr/bin/gccxml -I"/home/michael/Ogre/python-ogre" -I"/home/michael/Ogre/python-ogre/code_generators/ogre" -I"/usr/include/boost" -I"/usr/include/OGRE" -I"/usr/include/OGRE/Property" -I"/usr/include/python2.7/" -D"OGRE_NONCLIENT_BUILD" -D"OGRE_GCC_VISIBILITY" -D"__PYTHONOGRE_BUILD_CODE" -D"HAVE_OGRE_BUILDSETTINGS_H" -D"__GCCXML__" -D"OGRE_VERSION_1.7.2" "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" -fxml="/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml"
Traceback (most recent call last):
File "generate_code.py", line 1484, in <module>
generate_code()
File "generate_code.py", line 1213, in generate_code
, cflags=environment.ogre.cflags
File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 95, in __init__
, indexing_suite_version)
File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 138, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 217, in read_files
return self.__parse_file_by_file(files)
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 254, in __parse_file_by_file
reader.create_xml_file( header, prj_file.cached_source_file )
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/source_reader.py", line 179, in create_xml_file
raise error
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: In file included from /usr/include/c++/4.7/bits/char_traits.h:41,
from /usr/include/c++/4.7/string:42,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:5:
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI)':
/usr/include/c++/4.7/bits/stl_algobase.h:378: error: expected primary-expression before ')' token
/usr/include/c++/4.7/bits/stl_algobase.h:378: error: there are no arguments to '__is_trivial' that depend on a template parameter, so a declaration of '__is_trivial' must be available
/usr/include/c++/4.7/bits/stl_algobase.h:378: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/c++/4.7/bits/stl_algobase.h:383: error: '__simple' cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_algobase.h:384: error: template argument 2 is invalid
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2)':
/usr/include/c++/4.7/bits/stl_algobase.h:573: error: expected primary-expression before ')' token
/usr/include/c++/4.7/bits/stl_algobase.h:573: error: there are no arguments to '__is_trivial' that depend on a template parameter, so a declaration of '__is_trivial' must be available
/usr/include/c++/4.7/bits/stl_algobase.h:578: error: '__simple' cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_algobase.h:579: error: template argument 2 is invalid
/usr/include/c++/4.7/bits/stl_algobase.h: In function 'typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), _OutputIterator>::__type std::__fill_n_a(_OutputIterator, _Size, const _Tp&)':
/usr/include/c++/4.7/bits/stl_algobase.h:731: error: expected `;' before '__niter'
/usr/include/c++/4.7/bits/stl_algobase.h:732: error: '__niter' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function 'typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, _OutputIterator>::__type std::__fill_n_a(_OutputIterator, _Size, const _Tp&)':
/usr/include/c++/4.7/bits/stl_algobase.h:743: error: expected `;' before '__niter'
/usr/include/c++/4.7/bits/stl_algobase.h:744: error: '__niter' was not declared in this scope
In file included from /usr/include/c++/4.7/bits/basic_string.h:41,
from /usr/include/c++/4.7/string:54,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:5:
/usr/include/c++/4.7/ext/atomicity.h: In function '_Atomic_word __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, int)':
/usr/include/c++/4.7/ext/atomicity.h:48: error: '__atomic_fetch_add' was not declared in this scope
/usr/include/c++/4.7/ext/atomicity.h: In function 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)':
/usr/include/c++/4.7/ext/atomicity.h:52: error: '__atomic_fetch_add' was not declared in this scope
In file included from /usr/include/c++/4.7/vector:64,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:7:
/usr/include/c++/4.7/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator)':
/usr/include/c++/4.7/bits/stl_uninitialized.h:117: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:118: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:118: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_uninitialized.h: In function 'void std::uninitialized_fill(_ForwardIterator, _ForwardIterator, const _Tp&)':
/usr/include/c++/4.7/bits/stl_uninitialized.h:172: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:172: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_uninitialized.h:173: error: invalid type in declaration before '(' token
/usr/include/c++/4.7/bits/stl_uninitialized.h:173: error: invalid use of qualified-name '::__uninit_fill'
/usr/include/c++/4.7/bits/stl_uninitialized.h: In function 'void std::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp&)':
/usr/include/c++/4.7/bits/stl_uninitialized.h:225: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:225: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_uninitialized.h:226: error: invalid type in declaration before '(' token
/usr/include/c++/4.7/bits/stl_uninitialized.h:226: error: invalid use of qualified-name '::__uninit_fill_n'
In file included from /usr/include/c++/4.7/bits/stl_algo.h:64,
from /usr/include/c++/4.7/algorithm:63,
from /usr/include/c++/4.7/backward/hashtable.h:65,
from /usr/include/c++/4.7/ext/hash_map:65,
from /usr/include/OGRE/OgreStdHeaders.h:43,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/bits/stl_tempbuf.h: In function 'void std::__uninitialized_construct_buf(_ForwardIterator, _ForwardIterator, _Tp&)':
/usr/include/c++/4.7/bits/stl_tempbuf.h:241: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_tempbuf.h:241: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_tempbuf.h:242: error: invalid type in declaration before '(' token
/usr/include/c++/4.7/bits/stl_tempbuf.h:242: error: invalid use of qualified-name '::__ucr'
In file included from /usr/include/c++/4.7/algorithm:63,
from /usr/include/c++/4.7/backward/hashtable.h:65,
from /usr/include/c++/4.7/ext/hash_map:65,
from /usr/include/OGRE/OgreStdHeaders.h:43,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/bits/stl_algo.h: In function '_OIter std::generate_n(_OIter, _Size, _Generator)':
/usr/include/c++/4.7/bits/stl_algo.h:5111: error: expected `;' before '__niter'
/usr/include/c++/4.7/bits/stl_algo.h:5112: error: '__niter' was not declared in this scope
In file included from /usr/include/OGRE/OgreStdHeaders.h:59,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/limits: At global scope:
/usr/include/c++/4.7/limits:1405: error: '__int128' was not declared in this scope
/usr/include/c++/4.7/limits:1405: error: template argument 1 is invalid
/usr/include/c++/4.7/limits:1479: error: template argument 1 is invalid
In file included from /usr/include/OGRE/OgreStdHeaders.h:64,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/iomanip: In function 'std::_Resetiosflags std::resetiosflags(std::_Ios_Fmtflags)':
/usr/include/c++/4.7/iomanip:66: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:66: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:66: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setiosflags std::setiosflags(std::_Ios_Fmtflags)':
/usr/include/c++/4.7/iomanip:96: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:96: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:96: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setbase std::setbase(int)':
/usr/include/c++/4.7/iomanip:127: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:127: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:127: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setfill<_CharT> std::setfill(_CharT)':
/usr/include/c++/4.7/iomanip:165: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:165: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:165: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setprecision std::setprecision(int)':
/usr/include/c++/4.7/iomanip:195: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:195: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:195: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setw std::setw(int)':
/usr/include/c++/4.7/iomanip:225: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:225: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:225: error: expected `;' before '}' token
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]':
/usr/include/c++/4.7/bits/stl_algobase.h:422: instantiated from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >, _OI = __gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >]'
/usr/include/c++/4.7/bits/stl_algobase.h:454: instantiated from '_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >, _OI = __gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >]'
/usr/include/c++/4.7/bits/vector.tcc:197: instantiated from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreAnimable.h:260: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:381: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]':
/usr/include/c++/4.7/bits/stl_algobase.h:422: instantiated from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]'
/usr/include/c++/4.7/bits/stl_algobase.h:454: instantiated from '_OI std::copy(_II, _II, _OI) [with _II = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]'
/usr/include/c++/4.7/bits/vector.tcc:202: instantiated from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreAnimable.h:260: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:381: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::ParameterDef*, _BI2 = Ogre::ParameterDef*]':
/usr/include/c++/4.7/bits/stl_algobase.h:590: instantiated from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::ParameterDef*, _BI2 = Ogre::ParameterDef*]'
/usr/include/c++/4.7/bits/stl_algobase.h:625: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = Ogre::ParameterDef*, _BI2 = Ogre::ParameterDef*]'
/usr/include/c++/4.7/bits/vector.tcc:329: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Ogre::ParameterDef, _Alloc = Ogre::STLAllocator<Ogre::ParameterDef, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/c++/4.7/bits/stl_vector.h:893: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Ogre::ParameterDef, _Alloc = Ogre::STLAllocator<Ogre::ParameterDef, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreStringInterface.h:134: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:576: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::RenderTexture**, _BI2 = Ogre::RenderTexture**]':
/usr/include/c++/4.7/bits/stl_algobase.h:590: instantiated from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::RenderTexture**, _BI2 = Ogre::RenderTexture**]'
/usr/include/c++/4.7/bits/stl_algobase.h:625: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = Ogre::RenderTexture**, _BI2 = Ogre::RenderTexture**]'
/usr/include/c++/4.7/bits/vector.tcc:329: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Ogre::RenderTexture*, _Alloc = Ogre::STLAllocator<Ogre::RenderTexture*, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/c++/4.7/bits/stl_vector.h:893: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Ogre::RenderTexture*, _Alloc = Ogre::STLAllocator<Ogre::RenderTexture*, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreRenderTexture.h:87: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:576: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = std::pair<unsigned int, unsigned int>*, _BI2 = std::pair<unsigned int, unsigned int>*]':
/usr/include/c++/4.7/bits/stl_algobase.h:590: instantiated from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = std::pair<unsigned int, unsigned int>*, _BI2 = std::pair<unsigned int, unsigned int>*]'
/usr/include/c++/4.7/bits/stl_algobase.h:625: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = std::pair<unsigned int, unsigned int>*, _BI2 = std::pair<unsigned int, unsigned int>*]'
/usr/include/c++/4.7/bits/vector.tcc:329: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = std::pair<unsigned int, unsigned int>, _Alloc = Ogre::STLAllocator<std::pair<unsigned int, unsigned int>, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/c++/4.7/bits/stl_vector.h:893: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::pair<unsigned int, unsigned int>, _Alloc = Ogre::STLAllocator<std::pair<unsigned int, unsigned int>, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreFont.h:333: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:576: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = const short unsigned int*, _OI = short unsigned int*]':
/usr/include/c++/4.7/bits/stl_algobase.h:422: instantiated from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = const short unsigned int*, _OI = short unsigned int*]'
/usr/include/c++/4.7/bits/stl_algobase.h:454: instantiated from '_OI std::copy(_II, _II, _OI) [with _II = const short unsigned int*, _OI = short unsigned int*]'
/usr/include/c++/4.7/bits/char_traits.h:194: instantiated from 'static typename __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::copy(_CharT*, const _CharT*, std::size_t) [with _CharT = short unsigned int]'
/usr/include/c++/4.7/bits/basic_string.h:356: instantiated from 'static void std::basic_string<_CharT, _Traits, _Alloc>::_M_copy(_CharT*, const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = short unsigned int, _Traits = std::char_traits<short unsigned int>, _Alloc = std::allocator<short unsigned int>]'
/usr/include/c++/4.7/bits/basic_string.tcc:377: instantiated from 'std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::insert(typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = short unsigned int, _Traits = std::char_traits<short unsigned int>, _Alloc = std::allocator<short unsigned int>]'
/usr/include/c++/4.7/bits/basic_string.h:1296: instantiated from 'std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::insert(typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*) [with _CharT = short unsigned int, _Traits = std::char_traits<short unsigned int>, _Alloc = std::allocator<short unsigned int>]'
/usr/include/OGRE/OgreUTFString.h:663: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:381: error: '__is_trivial' was not declared in this scope

02-09 16:15 PythonOgre.BuildModule INFO Compiling Source code for ogre
02-09 16:15 PythonOgre.BuildModule DEBUG Spawning 'scons -j12 PROJECTS=ogre' in '/home/michael/Ogre/python-ogre'

dermont

11-02-2013 10:43:26

This is what happens in step 5 (not step 4 as mentioned earlier). I didn't build boost_python in step 3. Step 4 runs successful without any errors.
Step 5 is asking to do: python python-ogre/BuildModule.py -g -c ogre --usesystem

02-09 16:15 PythonOgre.BuildModule INFO Building Source code for ogre
02-09 16:15 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py --usesystem' in '/home/michael/Ogre/python-ogre/code_generators/ogre'
02-09 16:15 PythonOgre.BuildModule WARNING Task Failed
02-09 16:15 PythonOgre.BuildModule DEBUG ***** :

02-09 16:15 PythonOgre.BuildModule DEBUG INFO Creating xml file "/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" from source file "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" ...
pygccxml.cxx_parser: INFO Creating xml file "/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" from source file "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" ...
INFO gccxml cmd: /usr/bin/gccxml -I"/home/michael/Ogre/python-ogre" -I"/home/michael/Ogre/python-ogre/code_generators/ogre" -I"/usr/include/boost" -I"/usr/include/OGRE" -I"/usr/include/OGRE/Property" -I"/usr/include/python2.7/" -D"OGRE_NONCLIENT_BUILD" -D"OGRE_GCC_VISIBILITY" -D"__PYTHONOGRE_BUILD_CODE" -D"HAVE_OGRE_BUILDSETTINGS_H" -D"__GCCXML__" -D"OGRE_VERSION_1.7.2" "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" -fxml="/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml"
pygccxml.cxx_parser: INFO gccxml cmd: /usr/bin/gccxml -I"/home/michael/Ogre/python-ogre" -I"/home/michael/Ogre/python-ogre/code_generators/ogre" -I"/usr/include/boost" -I"/usr/include/OGRE" -I"/usr/include/OGRE/Property" -I"/usr/include/python2.7/" -D"OGRE_NONCLIENT_BUILD" -D"OGRE_GCC_VISIBILITY" -D"__PYTHONOGRE_BUILD_CODE" -D"HAVE_OGRE_BUILDSETTINGS_H" -D"__GCCXML__" -D"OGRE_VERSION_1.7.2" "/home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h" -fxml="/home/michael/Ogre/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml"
Traceback (most recent call last):
File "generate_code.py", line 1484, in <module>
generate_code()
File "generate_code.py", line 1213, in generate_code
, cflags=environment.ogre.cflags
File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 95, in __init__
, indexing_suite_version)
File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 138, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 217, in read_files
return self.__parse_file_by_file(files)
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 254, in __parse_file_by_file
reader.create_xml_file( header, prj_file.cached_source_file )
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/source_reader.py", line 179, in create_xml_file
raise error
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: In file included from /usr/include/c++/4.7/bits/char_traits.h:41,
from /usr/include/c++/4.7/string:42,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:5:
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI)':
/usr/include/c++/4.7/bits/stl_algobase.h:378: error: expected primary-expression before ')' token
/usr/include/c++/4.7/bits/stl_algobase.h:378: error: there are no arguments to '__is_trivial' that depend on a template parameter, so a declaration of '__is_trivial' must be available
/usr/include/c++/4.7/bits/stl_algobase.h:378: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/c++/4.7/bits/stl_algobase.h:383: error: '__simple' cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_algobase.h:384: error: template argument 2 is invalid
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2)':
/usr/include/c++/4.7/bits/stl_algobase.h:573: error: expected primary-expression before ')' token
/usr/include/c++/4.7/bits/stl_algobase.h:573: error: there are no arguments to '__is_trivial' that depend on a template parameter, so a declaration of '__is_trivial' must be available
/usr/include/c++/4.7/bits/stl_algobase.h:578: error: '__simple' cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_algobase.h:579: error: template argument 2 is invalid
/usr/include/c++/4.7/bits/stl_algobase.h: In function 'typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), _OutputIterator>::__type std::__fill_n_a(_OutputIterator, _Size, const _Tp&)':
/usr/include/c++/4.7/bits/stl_algobase.h:731: error: expected `;' before '__niter'
/usr/include/c++/4.7/bits/stl_algobase.h:732: error: '__niter' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function 'typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, _OutputIterator>::__type std::__fill_n_a(_OutputIterator, _Size, const _Tp&)':
/usr/include/c++/4.7/bits/stl_algobase.h:743: error: expected `;' before '__niter'
/usr/include/c++/4.7/bits/stl_algobase.h:744: error: '__niter' was not declared in this scope
In file included from /usr/include/c++/4.7/bits/basic_string.h:41,
from /usr/include/c++/4.7/string:54,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:5:
/usr/include/c++/4.7/ext/atomicity.h: In function '_Atomic_word __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, int)':
/usr/include/c++/4.7/ext/atomicity.h:48: error: '__atomic_fetch_add' was not declared in this scope
/usr/include/c++/4.7/ext/atomicity.h: In function 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)':
/usr/include/c++/4.7/ext/atomicity.h:52: error: '__atomic_fetch_add' was not declared in this scope
In file included from /usr/include/c++/4.7/vector:64,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:7:
/usr/include/c++/4.7/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator)':
/usr/include/c++/4.7/bits/stl_uninitialized.h:117: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:118: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:118: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_uninitialized.h: In function 'void std::uninitialized_fill(_ForwardIterator, _ForwardIterator, const _Tp&)':
/usr/include/c++/4.7/bits/stl_uninitialized.h:172: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:172: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_uninitialized.h:173: error: invalid type in declaration before '(' token
/usr/include/c++/4.7/bits/stl_uninitialized.h:173: error: invalid use of qualified-name '::__uninit_fill'
/usr/include/c++/4.7/bits/stl_uninitialized.h: In function 'void std::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp&)':
/usr/include/c++/4.7/bits/stl_uninitialized.h:225: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_uninitialized.h:225: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_uninitialized.h:226: error: invalid type in declaration before '(' token
/usr/include/c++/4.7/bits/stl_uninitialized.h:226: error: invalid use of qualified-name '::__uninit_fill_n'
In file included from /usr/include/c++/4.7/bits/stl_algo.h:64,
from /usr/include/c++/4.7/algorithm:63,
from /usr/include/c++/4.7/backward/hashtable.h:65,
from /usr/include/c++/4.7/ext/hash_map:65,
from /usr/include/OGRE/OgreStdHeaders.h:43,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/bits/stl_tempbuf.h: In function 'void std::__uninitialized_construct_buf(_ForwardIterator, _ForwardIterator, _Tp&)':
/usr/include/c++/4.7/bits/stl_tempbuf.h:241: error: a function call cannot appear in a constant-expression
/usr/include/c++/4.7/bits/stl_tempbuf.h:241: error: template argument 1 is invalid
/usr/include/c++/4.7/bits/stl_tempbuf.h:242: error: invalid type in declaration before '(' token
/usr/include/c++/4.7/bits/stl_tempbuf.h:242: error: invalid use of qualified-name '::__ucr'
In file included from /usr/include/c++/4.7/algorithm:63,
from /usr/include/c++/4.7/backward/hashtable.h:65,
from /usr/include/c++/4.7/ext/hash_map:65,
from /usr/include/OGRE/OgreStdHeaders.h:43,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/bits/stl_algo.h: In function '_OIter std::generate_n(_OIter, _Size, _Generator)':
/usr/include/c++/4.7/bits/stl_algo.h:5111: error: expected `;' before '__niter'
/usr/include/c++/4.7/bits/stl_algo.h:5112: error: '__niter' was not declared in this scope
In file included from /usr/include/OGRE/OgreStdHeaders.h:59,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/limits: At global scope:
/usr/include/c++/4.7/limits:1405: error: '__int128' was not declared in this scope
/usr/include/c++/4.7/limits:1405: error: template argument 1 is invalid
/usr/include/c++/4.7/limits:1479: error: template argument 1 is invalid
In file included from /usr/include/OGRE/OgreStdHeaders.h:64,
from /usr/include/OGRE/OgrePrerequisites.h:315,
from /usr/include/OGRE/Ogre.h:31,
from /home/michael/Ogre/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11,
from /home/michael/Ogre/python-ogre/code_generators/ogre/python_ogre.h:11:
/usr/include/c++/4.7/iomanip: In function 'std::_Resetiosflags std::resetiosflags(std::_Ios_Fmtflags)':
/usr/include/c++/4.7/iomanip:66: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:66: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:66: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setiosflags std::setiosflags(std::_Ios_Fmtflags)':
/usr/include/c++/4.7/iomanip:96: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:96: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:96: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setbase std::setbase(int)':
/usr/include/c++/4.7/iomanip:127: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:127: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:127: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setfill<_CharT> std::setfill(_CharT)':
/usr/include/c++/4.7/iomanip:165: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:165: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:165: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setprecision std::setprecision(int)':
/usr/include/c++/4.7/iomanip:195: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:195: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:195: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setw std::setw(int)':
/usr/include/c++/4.7/iomanip:225: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:225: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:225: error: expected `;' before '}' token
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]':
/usr/include/c++/4.7/bits/stl_algobase.h:422: instantiated from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >, _OI = __gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >]'
/usr/include/c++/4.7/bits/stl_algobase.h:454: instantiated from '_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >, _OI = __gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> > > >]'
/usr/include/c++/4.7/bits/vector.tcc:197: instantiated from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreAnimable.h:260: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:381: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]':
/usr/include/c++/4.7/bits/stl_algobase.h:422: instantiated from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]'
/usr/include/c++/4.7/bits/stl_algobase.h:454: instantiated from '_OI std::copy(_II, _II, _OI) [with _II = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _OI = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]'
/usr/include/c++/4.7/bits/vector.tcc:202: instantiated from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = Ogre::STLAllocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreAnimable.h:260: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:381: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::ParameterDef*, _BI2 = Ogre::ParameterDef*]':
/usr/include/c++/4.7/bits/stl_algobase.h:590: instantiated from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::ParameterDef*, _BI2 = Ogre::ParameterDef*]'
/usr/include/c++/4.7/bits/stl_algobase.h:625: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = Ogre::ParameterDef*, _BI2 = Ogre::ParameterDef*]'
/usr/include/c++/4.7/bits/vector.tcc:329: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Ogre::ParameterDef, _Alloc = Ogre::STLAllocator<Ogre::ParameterDef, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/c++/4.7/bits/stl_vector.h:893: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Ogre::ParameterDef, _Alloc = Ogre::STLAllocator<Ogre::ParameterDef, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreStringInterface.h:134: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:576: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::RenderTexture**, _BI2 = Ogre::RenderTexture**]':
/usr/include/c++/4.7/bits/stl_algobase.h:590: instantiated from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = Ogre::RenderTexture**, _BI2 = Ogre::RenderTexture**]'
/usr/include/c++/4.7/bits/stl_algobase.h:625: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = Ogre::RenderTexture**, _BI2 = Ogre::RenderTexture**]'
/usr/include/c++/4.7/bits/vector.tcc:329: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Ogre::RenderTexture*, _Alloc = Ogre::STLAllocator<Ogre::RenderTexture*, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/c++/4.7/bits/stl_vector.h:893: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = Ogre::RenderTexture*, _Alloc = Ogre::STLAllocator<Ogre::RenderTexture*, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreRenderTexture.h:87: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:576: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = std::pair<unsigned int, unsigned int>*, _BI2 = std::pair<unsigned int, unsigned int>*]':
/usr/include/c++/4.7/bits/stl_algobase.h:590: instantiated from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = std::pair<unsigned int, unsigned int>*, _BI2 = std::pair<unsigned int, unsigned int>*]'
/usr/include/c++/4.7/bits/stl_algobase.h:625: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = std::pair<unsigned int, unsigned int>*, _BI2 = std::pair<unsigned int, unsigned int>*]'
/usr/include/c++/4.7/bits/vector.tcc:329: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = std::pair<unsigned int, unsigned int>, _Alloc = Ogre::STLAllocator<std::pair<unsigned int, unsigned int>, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/c++/4.7/bits/stl_vector.h:893: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::pair<unsigned int, unsigned int>, _Alloc = Ogre::STLAllocator<std::pair<unsigned int, unsigned int>, Ogre::CategorisedAllocPolicy<MEMCATEGORY_GENERAL> >]'
/usr/include/OGRE/OgreFont.h:333: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:576: error: '__is_trivial' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h: In function '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false, _II = const short unsigned int*, _OI = short unsigned int*]':
/usr/include/c++/4.7/bits/stl_algobase.h:422: instantiated from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false, _II = const short unsigned int*, _OI = short unsigned int*]'
/usr/include/c++/4.7/bits/stl_algobase.h:454: instantiated from '_OI std::copy(_II, _II, _OI) [with _II = const short unsigned int*, _OI = short unsigned int*]'
/usr/include/c++/4.7/bits/char_traits.h:194: instantiated from 'static typename __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::copy(_CharT*, const _CharT*, std::size_t) [with _CharT = short unsigned int]'
/usr/include/c++/4.7/bits/basic_string.h:356: instantiated from 'static void std::basic_string<_CharT, _Traits, _Alloc>::_M_copy(_CharT*, const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = short unsigned int, _Traits = std::char_traits<short unsigned int>, _Alloc = std::allocator<short unsigned int>]'
/usr/include/c++/4.7/bits/basic_string.tcc:377: instantiated from 'std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::insert(typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = short unsigned int, _Traits = std::char_traits<short unsigned int>, _Alloc = std::allocator<short unsigned int>]'
/usr/include/c++/4.7/bits/basic_string.h:1296: instantiated from 'std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::insert(typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*) [with _CharT = short unsigned int, _Traits = std::char_traits<short unsigned int>, _Alloc = std::allocator<short unsigned int>]'
/usr/include/OGRE/OgreUTFString.h:663: instantiated from here
/usr/include/c++/4.7/bits/stl_algobase.h:381: error: '__is_trivial' was not declared in this scope

02-09 16:15 PythonOgre.BuildModule INFO Compiling Source code for ogre
02-09 16:15 PythonOgre.BuildModule DEBUG Spawning 'scons -j12 PROJECTS=ogre' in '/home/michael/Ogre/python-ogre'


Some of the problems you posted have been raised before and can be resolved by updating to the latest version of gccxml.
viewtopic.php?f=3&t=14274

On Ubuntu 12.10 I use the packaged version of gccxml and there were no problems.
I would uninstall the version of gccxml built with python-ogre and try using the packaged version, Mint 14 is based on Ubuntu 12.10 ???

I'm assuming your building against python-ogre svn trunk.