zafiro
11-03-2008 03:08:56
Hi,
I am new to Ogre and Py-ogre. In fact I downloaded, compiled and tested Ogre before trying python-ogre.
While trying to build python-ogre from source, for Fedora 7, Python 2.5 I found two problems.
First. The guide at http://wiki.python-ogre.org/index.php/LinuxBuildV2 makes me download every dependency, build, etc. etc. I understand that this is clean, but I would greately appreciate some hints to take advantage of the things that I have already installed. Like Ogre itself!!!
Second. I had to hack the bootstrap file for ois, so that I could use automake 1.10. Something tricky happened here, but I don't know if this is the root of my problem. Before hacking the bootstrap, when I invoqued:
python python-ogre/BuildModule.py -r -b cegui ois ogre
Cegui and ois failed, but ogre succeded. I found that normal, it must have used the cegui and ois stuff which were already on my system. But the next step would still ask for a local ois, so I went back and did the hack to compile. After that, everything went smothly, until I tried to compile ogre with:
python python-ogre/BuildModule.py -g -c ois ogre
Ois succeded, -g for ogre also did. But the -c part just remained forever. It consumed all my RAM (512Mb) and swap (1G) and froze my computer. I had to increase the swap, it seems that 300Mb would have done it, however I used 500Mb. The computer didn't freeze, but it never ended either. I waited for 4 hour approx. So, I wonder if this is normal and I just got desperated too soon, or if there is something wrong.
The last message on the log is:
03-10 20:32 PythonOgre.BuildModule INFO Compiling Source code for ogre
03-10 20:32 PythonOgre.BuildModule DEBUG Spawning 'scons PROJECTS=ogre' in '/home/varriola/Descargar/Programacion/python-ogre/development/python-ogre'
By the time I stopped it, there was an ogre.so file, but it seems to be useless (jeje it's size is cero).
python python-ogre/BuildModule.py -b install
doesn't complain, even though there are files in the python-ogre/generated/ogre_1.4 directory, but _ogre_.so does not exist in python-ogre/packages2.5/ogre/renderer/OGRE .
I am new to Ogre and Py-ogre. In fact I downloaded, compiled and tested Ogre before trying python-ogre.
While trying to build python-ogre from source, for Fedora 7, Python 2.5 I found two problems.
First. The guide at http://wiki.python-ogre.org/index.php/LinuxBuildV2 makes me download every dependency, build, etc. etc. I understand that this is clean, but I would greately appreciate some hints to take advantage of the things that I have already installed. Like Ogre itself!!!
Second. I had to hack the bootstrap file for ois, so that I could use automake 1.10. Something tricky happened here, but I don't know if this is the root of my problem. Before hacking the bootstrap, when I invoqued:
python python-ogre/BuildModule.py -r -b cegui ois ogre
Cegui and ois failed, but ogre succeded. I found that normal, it must have used the cegui and ois stuff which were already on my system. But the next step would still ask for a local ois, so I went back and did the hack to compile. After that, everything went smothly, until I tried to compile ogre with:
python python-ogre/BuildModule.py -g -c ois ogre
Ois succeded, -g for ogre also did. But the -c part just remained forever. It consumed all my RAM (512Mb) and swap (1G) and froze my computer. I had to increase the swap, it seems that 300Mb would have done it, however I used 500Mb. The computer didn't freeze, but it never ended either. I waited for 4 hour approx. So, I wonder if this is normal and I just got desperated too soon, or if there is something wrong.
The last message on the log is:
03-10 20:32 PythonOgre.BuildModule INFO Compiling Source code for ogre
03-10 20:32 PythonOgre.BuildModule DEBUG Spawning 'scons PROJECTS=ogre' in '/home/varriola/Descargar/Programacion/python-ogre/development/python-ogre'
By the time I stopped it, there was an ogre.so file, but it seems to be useless (jeje it's size is cero).
python python-ogre/BuildModule.py -b install
doesn't complain, even though there are files in the python-ogre/generated/ogre_1.4 directory, but _ogre_.so does not exist in python-ogre/packages2.5/ogre/renderer/OGRE .