gentoo gigi problem
Moderator: Oberlus
gentoo gigi problem
hi!
i am currently to get the svn version of gigi to compile with scons but without success.
the configure part seems to work without erros:
livedvd GG # scons configure
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.33.1... yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... yes
Looking for boost lib boost_filesystem...
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... yes
Boost configuration... ok
Checking for C header file pthread.h... yes
Checking for pthread_create() in C library pthread... yes
Checking for C header file GL/gl.h... yes
Checking for C header file GL/glu.h... yes
Checking for glBegin() in C library GL... yes
Checking for gluLookAt() in C library GLU... yes
Checking for sdl-config... yes
Checking SDL version >= 1.2.7... yes
Linking SDL/OpenGL test app... ok
SDL configuration... ok
Checking for pkg-config... ok
Checking for freetype2 >= 9.0.0... ok
Checking for C header file ft2build.h... yes
Checking for FT_Init_FreeType() in C library freetype... yes
Checking DevIL version >= 1.6.1... yes
Checking for C header file IL/il.h... yes
Checking for C header file IL/ilu.h... yes
Checking for C header file IL/ilut.h... yes
Checking for ilInit() in C library IL... yes
Checking for iluInit() in C library ILU... yes
Checking for ilutInit() in C library ILUT... yes
Checking for DevIL OpenGL support... yes
Checking for DevIL Allegro support... no (That's good!)
Generating libltdl/config.h using libltdl/configure... ok
Creating GG/Config.h from GG/Config.h.in... ok
Configuration successful... yes
Copy("GG/ltdl.h", "libltdl/ltdl.h")
Copy("GG/ltdl_config.h", "libltdl/config.h")
however if i run scons:
livedvd GG # scons
scons: Reading SConscript files ...
Using previous successful configuration; if you want to re-run the configuration step, run "scons configure".
scons: done reading SConscript files.
scons: Building targets ...
g++ -pthread -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl -c -o src/StyleFactory.os src/StyleFactory.cpp
In file included from src/StyleFactory.cpp:38:
GG/Spin.h: In member function `virtual void
GG::Spin<T>::DefineAttributes(GG::WndEditor*)':
GG/Spin.h:503: error: syntax error before `>' token
GG/Spin.h:504: error: syntax error before `>' token
GG/Spin.h:506: error: syntax error before `>' token
GG/Spin.h:508: error: syntax error before `>' token
GG/Spin.h:511: error: syntax error before `>' token
scons: *** [src/StyleFactory.os] Error 1
scons: building terminated because of errors.
i also tried with the gentoo gigi ebuild (posted somewhere here) also without success.
does anybody have a clue to what kind of error (wrong lib? wrong compiler? wrong???) this could point?
thx in advance
i am currently to get the svn version of gigi to compile with scons but without success.
the configure part seems to work without erros:
livedvd GG # scons configure
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.33.1... yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... yes
Looking for boost lib boost_filesystem...
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... yes
Boost configuration... ok
Checking for C header file pthread.h... yes
Checking for pthread_create() in C library pthread... yes
Checking for C header file GL/gl.h... yes
Checking for C header file GL/glu.h... yes
Checking for glBegin() in C library GL... yes
Checking for gluLookAt() in C library GLU... yes
Checking for sdl-config... yes
Checking SDL version >= 1.2.7... yes
Linking SDL/OpenGL test app... ok
SDL configuration... ok
Checking for pkg-config... ok
Checking for freetype2 >= 9.0.0... ok
Checking for C header file ft2build.h... yes
Checking for FT_Init_FreeType() in C library freetype... yes
Checking DevIL version >= 1.6.1... yes
Checking for C header file IL/il.h... yes
Checking for C header file IL/ilu.h... yes
Checking for C header file IL/ilut.h... yes
Checking for ilInit() in C library IL... yes
Checking for iluInit() in C library ILU... yes
Checking for ilutInit() in C library ILUT... yes
Checking for DevIL OpenGL support... yes
Checking for DevIL Allegro support... no (That's good!)
Generating libltdl/config.h using libltdl/configure... ok
Creating GG/Config.h from GG/Config.h.in... ok
Configuration successful... yes
Copy("GG/ltdl.h", "libltdl/ltdl.h")
Copy("GG/ltdl_config.h", "libltdl/config.h")
however if i run scons:
livedvd GG # scons
scons: Reading SConscript files ...
Using previous successful configuration; if you want to re-run the configuration step, run "scons configure".
scons: done reading SConscript files.
scons: Building targets ...
g++ -pthread -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl -c -o src/StyleFactory.os src/StyleFactory.cpp
In file included from src/StyleFactory.cpp:38:
GG/Spin.h: In member function `virtual void
GG::Spin<T>::DefineAttributes(GG::WndEditor*)':
GG/Spin.h:503: error: syntax error before `>' token
GG/Spin.h:504: error: syntax error before `>' token
GG/Spin.h:506: error: syntax error before `>' token
GG/Spin.h:508: error: syntax error before `>' token
GG/Spin.h:511: error: syntax error before `>' token
scons: *** [src/StyleFactory.os] Error 1
scons: building terminated because of errors.
i also tried with the gentoo gigi ebuild (posted somewhere here) also without success.
does anybody have a clue to what kind of error (wrong lib? wrong compiler? wrong???) this could point?
thx in advance
I don't think the compiler matters. I compiled it with gcc4.0 but most do it with 3.x. What does matter quite a bit is where you got the source of GiGi. try getting the source from SVN:
Hope that helps.
Harm
Code: Select all
svn co https://svn.sourceforge.net/svnroot/gigi/trunk gigi
Harm
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r4.embnet.livedvd i686)
=================================================================
System uname: 2.6.15-gentoo-r4.embnet.livedvd i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
maybe this can provider additionial help
svn says it checks out revision 522.
thx in advance
=================================================================
System uname: 2.6.15-gentoo-r4.embnet.livedvd i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
maybe this can provider additionial help
svn says it checks out revision 522.
thx in advance
I'm getting the exact same problem using gcc-3.3.5 with Gentoo. I don't think it's the lib paths though, because it processes most of the other cpp files before failing.
The weird thing is that gigi will compile with gcc-3.4.4 but not gcc-3.3.5. Has anybody else had this experience?
If I try to compile all my FO deps with 3.4.4 I'll seg fault when I go to execute the FO binary, but if I use my standard delivered gcc I can't compile gigi.
Any ideas?
The weird thing is that gigi will compile with gcc-3.4.4 but not gcc-3.3.5. Has anybody else had this experience?
If I try to compile all my FO deps with 3.4.4 I'll seg fault when I go to execute the FO binary, but if I use my standard delivered gcc I can't compile gigi.
Any ideas?
with gcc 3.4.4 it compiles flawless, however now i am having a graphviz problem when trying to compile freeorion ... it complains about a missing render.h (which is not true)
i point scons to the right directories (/usr/include/graphviz/render.h does exist) but it still says its missing (however, stracing scons shows that it actually finds the file...)
with_graphviz_include
with_graphviz_libdir
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for pkg-config... ok
Checking for GiGiSDL >= 0.6.0... ok
Checking for fmod >= 3.74... failed
Checking fmod version >= 3.74... yes
Checking for C header file fmod.h... yes
Checking for FSOUND_GetVersion() in C library fmod-3.74... yes
Checking for graphviz >= 0.15.0... failed
Checking for C header file graphviz/render.h... no
Checking for C header file render.h... no
any ideas?
thanx in advance
i point scons to the right directories (/usr/include/graphviz/render.h does exist) but it still says its missing (however, stracing scons shows that it actually finds the file...)
with_graphviz_include
with_graphviz_libdir
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for pkg-config... ok
Checking for GiGiSDL >= 0.6.0... ok
Checking for fmod >= 3.74... failed
Checking fmod version >= 3.74... yes
Checking for C header file fmod.h... yes
Checking for FSOUND_GetVersion() in C library fmod-3.74... yes
Checking for graphviz >= 0.15.0... failed
Checking for C header file graphviz/render.h... no
Checking for C header file render.h... no
any ideas?
thanx in advance
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
There are some rather specific version requirements for graphviz. See here. Do you have one of the usable versions?