Linux build problems again...

algaeshock

06-12-2010 01:36:40

I'm going through the wiki steps: http://wiki.python-ogre.org/index.php/LinuxBuildV4

On step 3, where it asks you to input this line:
"python python-ogre/BuildModule.py -b gccxml pygccxml cg pyplusplus boost_python --usesystem"

It fails in multiple locations:

tables@comp:~/programming/python/development$ sudo python python-ogre/BuildModule.py -b gccxml pygccxml cg pyplusplus boost_python --usesystem
PythonOgre.BuildModule: INFO Build Command mkdir -p gccxml-build
PythonOgre.BuildModule: INFO Build Command cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/usr
PythonOgre.BuildModule: INFO Build Command make
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command sudo make install
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command sudo python setup.py install
PythonOgre.BuildModule: INFO Build Command sudo tar xvzf /home/tables/programming/python/development/downloads/Cg-2.2_October2009_x86.tgz --overwrite
PythonOgre.BuildModule: INFO Build Command sudo python setup.py install
PythonOgre.BuildModule: INFO Build Command unzip -o /home/tables/programming/python/development/python-ogre/ThirdParty/boost_python.zip
PythonOgre.BuildModule: INFO Build Command bjam -j2 release --with-python --with-thread --with-date_time --prefix=/usr
PythonOgre.BuildModule: INFO Build Command echo This may take a while -- copying each include file individually!!
PythonOgre.BuildModule: INFO Build Command sudo bjam install --with-python --prefix=/usr
tables@comp:~/programming/python/development$


Looking at the log.out, it fails here: "iostream:26: fatal error: iostream.h: No such file or directory". I'm not sure why my machine is trying to use iostream.h rather than <iostream> since iostream.h is deprecated.


12-05 20:29 PythonOgre.BuildModule INFO Build Command mkdir -p gccxml-build
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'mkdir -p gccxml-build' in '/home/tables/programming/python/development'
12-05 20:29 PythonOgre.BuildModule INFO Build Command cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/usr
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/usr' in '/home/tables/programming/python/development/gccxml-build'
12-05 20:29 PythonOgre.BuildModule INFO Build Command make
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'make' in '/home/tables/programming/python/development/gccxml-build'
12-05 20:29 PythonOgre.BuildModule WARNING Task Failed
12-05 20:29 PythonOgre.BuildModule DEBUG [ 11%] Built target iberty
[ 12%] Built target decnumber
[ 16%] Built target cpp
[ 16%] Built target gcov_iov
[ 16%] Built target genoptions
[ 17%] Built target genmodes
[ 17%] Built target gengenrtl
[ 18%] Built target gengtype
[ 18%] Built target gencheck
[ 21%] Built target gen
[ 21%] Built target genpreds
[ 21%] Built target genconditions
[ 21%] Built target genconstants
[ 22%] Built target gencondmd
[ 23%] Built target genconfig
[ 23%] Built target gencodes
[ 23%] Built target genattr
[ 24%] Built target genflags
[ 24%] Built target genemit
[ 24%] Built target genextract
[ 24%] Built target genopinit
[ 24%] Built target genpeep
[ 25%] Built target genoutput
[ 25%] Built target genrecog
[ 25%] Built target genattrtab
[ 26%] Built target genautomata
[ 83%] Built target backend
[ 96%] Built target gccxml_cc1plus
[ 96%] Building CXX object GCC_XML/KWSys/CMakeFiles/gxsys.dir/Directory.o

12-05 20:29 PythonOgre.BuildModule DEBUG In file included from /home/tables/programming/python/development/gccxml-build/GCC_XML/gxsys/stl/string.hxx:29,
from /home/tables/programming/python/development/gccxml-build/GCC_XML/gxsys/stl/string:49,
from /home/tables/programming/python/development/gccxml/GCC_XML/KWSys/Directory.cxx:17:
/home/tables/programming/python/development/gccxml-build/GCC_XML/gxsys/ios/iostream:26: fatal error: iostream.h: No such file or directory
compilation terminated.
make[2]: *** [GCC_XML/KWSys/CMakeFiles/gxsys.dir/Directory.o] Error 1
make[1]: *** [GCC_XML/KWSys/CMakeFiles/gxsys.dir/all] Error 2
make: *** [all] Error 2

12-05 20:29 PythonOgre.BuildModule INFO Build Command sudo make install
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'sudo make install' in '/home/tables/programming/python/development/gccxml-build'
12-05 20:29 PythonOgre.BuildModule WARNING Task Failed
12-05 20:29 PythonOgre.BuildModule DEBUG [ 11%] Built target iberty
[ 12%] Built target decnumber
[ 16%] Built target cpp
[ 16%] Built target gcov_iov
[ 16%] Built target genoptions
[ 17%] Built target genmodes
[ 17%] Built target gengenrtl
[ 18%] Built target gengtype
[ 18%] Built target gencheck
[ 21%] Built target gen
[ 21%] Built target genpreds
[ 21%] Built target genconditions
[ 21%] Built target genconstants
[ 22%] Built target gencondmd
[ 23%] Built target genconfig
[ 23%] Built target gencodes
[ 23%] Built target genattr
[ 24%] Built target genflags
[ 24%] Built target genemit
[ 24%] Built target genextract
[ 24%] Built target genopinit
[ 24%] Built target genpeep
[ 25%] Built target genoutput
[ 25%] Built target genrecog
[ 25%] Built target genattrtab
[ 26%] Built target genautomata
[ 83%] Built target backend
[ 96%] Built target gccxml_cc1plus
[ 96%] Building CXX object GCC_XML/KWSys/CMakeFiles/gxsys.dir/Directory.o

12-05 20:29 PythonOgre.BuildModule DEBUG In file included from /home/tables/programming/python/development/gccxml-build/GCC_XML/gxsys/stl/string.hxx:29,
from /home/tables/programming/python/development/gccxml-build/GCC_XML/gxsys/stl/string:49,
from /home/tables/programming/python/development/gccxml/GCC_XML/KWSys/Directory.cxx:17:
/home/tables/programming/python/development/gccxml-build/GCC_XML/gxsys/ios/iostream:26: fatal error: iostream.h: No such file or directory
compilation terminated.
make[2]: *** [GCC_XML/KWSys/CMakeFiles/gxsys.dir/Directory.o] Error 1
make[1]: *** [GCC_XML/KWSys/CMakeFiles/gxsys.dir/all] Error 2
make: *** [all] Error 2

12-05 20:29 PythonOgre.BuildModule INFO Build Command sudo python setup.py install
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'sudo python setup.py install ' in '/home/tables/programming/python/development/pygccxml'
12-05 20:29 PythonOgre.BuildModule INFO Build Command sudo tar xvzf /home/tables/programming/python/development/downloads/Cg-2.2_October2009_x86.tgz --overwrite
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'sudo tar xvzf /home/tables/programming/python/development/downloads/Cg-2.2_October2009_x86.tgz --overwrite' in '/'
12-05 20:29 PythonOgre.BuildModule INFO Build Command sudo python setup.py install
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'sudo python setup.py install ' in '/home/tables/programming/python/development/pygccxml'
12-05 20:29 PythonOgre.BuildModule INFO Build Command unzip -o /home/tables/programming/python/development/python-ogre/ThirdParty/boost_python.zip
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'unzip -o /home/tables/programming/python/development/python-ogre/ThirdParty/boost_python.zip' in '/home/tables/programming/python/development'
12-05 20:29 PythonOgre.BuildModule INFO Build Command bjam -j2 release --with-python --with-thread --with-date_time --prefix=/usr
12-05 20:29 PythonOgre.BuildModule DEBUG Spawning 'bjam -j2 release --with-python --with-thread --with-date_time --prefix=/usr' in '/home/tables/programming/python/development/boost_python'
12-05 20:30 PythonOgre.BuildModule INFO Build Command echo This may take a while -- copying each include file individually!!
12-05 20:30 PythonOgre.BuildModule DEBUG Spawning 'echo This may take a while -- copying each include file individually!!' in '/home/tables/programming/python/development'
12-05 20:30 PythonOgre.BuildModule INFO Build Command sudo bjam install --with-python --prefix=/usr
12-05 20:30 PythonOgre.BuildModule DEBUG Spawning 'sudo bjam install --with-python --prefix=/usr' in '/home/tables/programming/python/development/boost_python'



Any help would be nice!

andy

08-12-2010 13:11:39

What linux version are you using ?? I intent to do an update on the Linux build over the next couple of weeks so things should improve again..

Andy

algaeshock

09-12-2010 03:53:55

I'm using Ubuntu 10.10 (Meerkat).