ichijoji
21-02-2008 19:35:28
I'm trying to build python-ogre on ubuntu gutsy using the instructions from
http://wiki.python-ogre.org/index.php/LinuxBuildV2 and I'm hitting a problem at step 5. When I try to generate the code for ois with
python python-ogre/BuildModule.py -g ois
I get the error:
RuntimeError: include directory("/home/carrd/tmp/root/usr/include/boost-1_34_1") does not exist!
I retrieved and compiled boost successfully, so I guess that should be in there? Do I need to move some files around to get the paths to work, or is there something else I'm missing?
So something must have failed in your boost install so run
python python-ogre/BuildModule.py -r -b boost
And look in log.out to see what happens
Regards
Andy
zafiro
24-04-2008 19:49:26
Same thing here (Ubuntu hardy). The problem is:
/boost_1_34_1$ make
./tools/jam/src/bin.linuxx86/bjam release --user-config=user-config.jam --with-python
Segmentation fault (core dumped)
Not all Boost libraries built properly.
It does not appear on log.out
However, even trying to build boost_1_34_1 by itself, without python-ogre patches, it segment faults.
Game_Ender
24-04-2008 20:51:18
However, even trying to build boost_1_34_1 by itself, without python-ogre patches, it segment faults.
What segfaults, the compiler? bjam? python?
zafiro
24-04-2008 21:19:47
What segfaults, the compiler? bjam? python?
Very good question. As you can see make invoques bjam. That makes me think it is bjam the one that breaks.
....
Hey! It is:
http://svn.boost.org/trac/boost/ticket/977
SomeFusion
14-05-2008 19:21:39
zafiro: did you manage to get around this problem? I'm at the same stage but couldn't figure out how to compile bjam with this flag applied.
zafiro
15-05-2008 20:51:30
I opened the patch file and changed the indicated lines in build.jam.
However, I must warn you that it didn't work for me. It still breaks.
SomeFusion
17-05-2008 12:28:20
zafiro
17-05-2008 22:03:04
Hey, hey, hey. Funny.
Thank you. I also found out why my build was still breaking. I copied the bjam file to root/usr/bin/ but it was required to copy it to boost_1_34_1/tools/jam/src/bin.linuxx86/
too. I made everything step by step, even the cp. Now make and make install succeeded for boost.
The changes on build.jam are:
Line
1 --- tools/jam/src/build.jam.orig 2007-07-07 21:34:09.000000000 +0000
2 +++ tools/jam/src/build.jam 2007-07-07 21:36:19.000000000 +0000
3 @@ -153,7 +153,7 @@
4 ## GCC 2.x, 3.x, 4.x
5 toolset gcc gcc : "-o " : -D
6 - : -pedantic
7 + : -pedantic -fno-strict-aliasing
8 - [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
9 + [ opt --release : [ opt --symbols : -g : -s ] -O3 -fno-strict-aliasing ]
10 [ opt --debug : -g -O0 -fno-inline ]
11 -I$(--python-include) -Wno-long-long
12 : -L$(--python-lib[1]) -l$(--python-lib[2]) ;