robbo
09-02-2011 22:20:23
Im new to Ogre3d and am trying to compile it from source using the
LinuxBuildV4 guide, but I am stuck on step 3
python python-ogre/BuildModule.py -b gccxml pygccxml cg pyplusplus boost_python --usesystem
Here is my log.out
Any help would be greatly appreciated.
dermont
10-02-2011 01:26:50
robbo
10-02-2011 17:44:24
Thank you for the quick reply. That solved my problem for step 3, but I am now having trouble with the next step.
$ python python-ogre/BuildModule.py -r ois
PythonOgre.BuildModule: INFO Retrieving -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -D 01Jan2009 -P ois
PythonOgre.BuildModule: WARNING Task Failed
log.out
02-10 12:28 PythonOgre.BuildModule INFO Retrieving -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -D 01Jan2009 -P ois
02-10 12:28 PythonOgre.BuildModule DEBUG Spawning 'cvs -z3 -q -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -D 01Jan2009 -P ois' in '/home/robert/development'
02-10 12:28 PythonOgre.BuildModule WARNING Task Failed
02-10 12:28 PythonOgre.BuildModule DEBUG
02-10 12:28 PythonOgre.BuildModule DEBUG cvs [checkout aborted]: connect to wgois.cvs.sourceforge.net(216.34.181.111):2401 failed: Connection refused
It seems that it just will not connect, I'm not too sure what to do about this.
Also I am using python 2.7 (with the 2.7 development headers) and noticed you were using python2.6. Is python 2.7 recommended or supported?
Thanks again,
- Robbo
dermont
10-02-2011 19:42:03
Thank you for the quick reply. That solved my problem for step 3, but I am now having trouble with the next step.
$ python python-ogre/BuildModule.py -r ois
PythonOgre.BuildModule: INFO Retrieving -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -D 01Jan2009 -P ois
PythonOgre.BuildModule: WARNING Task Failed
log.out
02-10 12:28 PythonOgre.BuildModule INFO Retrieving -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -D 01Jan2009 -P ois
02-10 12:28 PythonOgre.BuildModule DEBUG Spawning 'cvs -z3 -q -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -D 01Jan2009 -P ois' in '/home/robert/development'
02-10 12:28 PythonOgre.BuildModule WARNING Task Failed
02-10 12:28 PythonOgre.BuildModule DEBUG
02-10 12:28 PythonOgre.BuildModule DEBUG cvs [checkout aborted]: connect to wgois.cvs.sourceforge.net(216.34.181.111):2401 failed: Connection refused
It seems that it just will not connect, I'm not too sure what to do about this.
Also I am using python 2.7 (with the 2.7 development headers) and noticed you were using python2.6. Is python 2.7 recommended or supported?
Thanks again,
- Robbo
I would try again with sourceforge it has been pretty flaky lately. I just tried from the command line and it appeared to download OK.
cvs -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -D 01Jan2009 -P ois
Not too sure if there will be any problems, Andy builds for Windows using Python2.7, so you should be OK. You probably will have make a copy of the python-ogre/packages_2.6 dir and rename to python-ogre/packages_2.7 before you build the modules.
robbo
10-02-2011 22:55:55
I think it was on sourceforges end, both commands download the packages now. However I have a new error when I try to build the ois package.
$ python python-ogre/BuildModule.py -b ois --usesystem
PythonOgre.BuildModule: INFO Build Command ./bootstrap
PythonOgre.BuildModule: INFO Build Command ./configure --prefix=/usr --includedir=/usr/include
PythonOgre.BuildModule: INFO Build Command make
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command sudo make install
[sudo] password for robert:
PythonOgre.BuildModule: WARNING Task Failed
log.out
02-10 17:53 PythonOgre.BuildModule INFO Build Command ./bootstrap
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning './bootstrap' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule INFO Build Command ./configure --prefix=/usr --includedir=/usr/include
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning './configure --prefix=/usr --includedir=/usr/include' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule INFO Build Command make
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning 'make' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule WARNING Task Failed
02-10 17:53 PythonOgre.BuildModule DEBUG Making all in src
make[1]: Entering directory `/home/robert/development/ois/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -I/usr/include -L/usr/lib -L/usr/lib64 -I/usr/X11R6/include -I/usr/include -L/usr/lib -L/usr/lib64 -MT OISInputManager.lo -MD -MP -MF .deps/OISInputManager.Tpo -c -o OISInputManager.lo OISInputManager.cpp
make[1]: Leaving directory `/home/robert/development/ois/src'
02-10 17:53 PythonOgre.BuildModule DEBUG libtool: Version mismatch error. This is libtool 2.2.10, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.10
libtool: and run autoconf again.
make[1]: *** [OISInputManager.lo] Error 63
make: *** [all-recursive] Error 1
02-10 17:53 PythonOgre.BuildModule INFO Build Command sudo make install
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning 'sudo make install' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule WARNING Task Failed
02-10 17:53 PythonOgre.BuildModule DEBUG Making install in src
make[1]: Entering directory `/home/robert/development/ois/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -I/usr/include -L/usr/lib -L/usr/lib64 -I/usr/X11R6/include -I/usr/include -L/usr/lib -L/usr/lib64 -MT OISInputManager.lo -MD -MP -MF .deps/OISInputManager.Tpo -c -o OISInputManager.lo OISInputManager.cpp
make[1]: Leaving directory `/home/robert/development/ois/src'
02-10 17:53 PythonOgre.BuildModule DEBUG libtool: Version mismatch error. This is libtool 2.2.10, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.10
libtool: and run autoconf again.
make[1]: *** [OISInputManager.lo] Error 63
make: *** [install-recursive] Error 1
I tried downloading and installing libtool 2.2.10, and the command "libtool --version" confirms that 2.210 is installed but I still get the same error.
dermont
11-02-2011 08:14:34
I think it was on sourceforges end, both commands download the packages now. However I have a new error when I try to build the ois package.
$ python python-ogre/BuildModule.py -b ois --usesystem
PythonOgre.BuildModule: INFO Build Command ./bootstrap
PythonOgre.BuildModule: INFO Build Command ./configure --prefix=/usr --includedir=/usr/include
PythonOgre.BuildModule: INFO Build Command make
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command sudo make install
[sudo] password for robert:
PythonOgre.BuildModule: WARNING Task Failed
log.out
02-10 17:53 PythonOgre.BuildModule INFO Build Command ./bootstrap
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning './bootstrap' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule INFO Build Command ./configure --prefix=/usr --includedir=/usr/include
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning './configure --prefix=/usr --includedir=/usr/include' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule INFO Build Command make
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning 'make' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule WARNING Task Failed
02-10 17:53 PythonOgre.BuildModule DEBUG Making all in src
make[1]: Entering directory `/home/robert/development/ois/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -I/usr/include -L/usr/lib -L/usr/lib64 -I/usr/X11R6/include -I/usr/include -L/usr/lib -L/usr/lib64 -MT OISInputManager.lo -MD -MP -MF .deps/OISInputManager.Tpo -c -o OISInputManager.lo OISInputManager.cpp
make[1]: Leaving directory `/home/robert/development/ois/src'
02-10 17:53 PythonOgre.BuildModule DEBUG libtool: Version mismatch error. This is libtool 2.2.10, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.10
libtool: and run autoconf again.
make[1]: *** [OISInputManager.lo] Error 63
make: *** [all-recursive] Error 1
02-10 17:53 PythonOgre.BuildModule INFO Build Command sudo make install
02-10 17:53 PythonOgre.BuildModule DEBUG Spawning 'sudo make install' in '/home/robert/development/ois'
02-10 17:53 PythonOgre.BuildModule WARNING Task Failed
02-10 17:53 PythonOgre.BuildModule DEBUG Making install in src
make[1]: Entering directory `/home/robert/development/ois/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -I/usr/include -L/usr/lib -L/usr/lib64 -I/usr/X11R6/include -I/usr/include -L/usr/lib -L/usr/lib64 -MT OISInputManager.lo -MD -MP -MF .deps/OISInputManager.Tpo -c -o OISInputManager.lo OISInputManager.cpp
make[1]: Leaving directory `/home/robert/development/ois/src'
02-10 17:53 PythonOgre.BuildModule DEBUG libtool: Version mismatch error. This is libtool 2.2.10, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.10
libtool: and run autoconf again.
make[1]: *** [OISInputManager.lo] Error 63
make: *** [install-recursive] Error 1
I tried downloading and installing libtool 2.2.10, and the command "libtool --version" confirms that 2.210 is installed but I still get the same error.
What distro are you running? You should make sure that all your versions of automake/libtool/autoconf are up to date. Someone had the same problem on this thread.
viewtopic.php?f=3&t=13927
If you are running a distro such as Ubuntu you should leave the installation of libtool to the Synaptic Package Manager, downloading and installing your own version of libtool is going to cause you endless problems.
robbo
11-02-2011 21:03:22
I am running ubuntu-server 10.10. I uninstalled libtool 2.2.10 and reinstalled 2.2.6b. And for whatever reason it finally compiled and installed fine. The sample browser is running and everything looks great so far.
Thanks for all your help dude!