hi, I just attempted to compile freeorion(svn}and am stuck getting
Checking for C header file GL/gl.h... no
error
my hardware is:
asus a8-vm amd athlon x2 3800 motherboard w/nvidia Geforce 6150
mem 2 gb
I compiled and installed gigi with no problem (except missing depens of cegui and ogre).I also had to use "scons configure" for both gg and freeorion if it matters
note GL/gl.h was found by gigi
I looked at the "GL/gl.h sections of both freeorion and gigi and found no significant differencs, however I am not familuar enough with scons to be sure
I am attaching the config.log for freeorion and GG
FO config.log
Code: Select all
file /home/none/build/freeorion/FreeOrion/SConstruct,line 170:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for Py_Initialize() in C library python2.4...
.sconf_temp/conftest_0.c <-
|
|
|#include "Python.h"
|
|int
|main() {
| Py_Initialize();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_0.o -c -I/usr/include/python2.4 .sconf_temp/conftest_0.c
gcc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L/usr/lib64 -lpython2.4
scons: Configure: yes
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
scons: Configure: yes
scons: Configure: Checking for GiGiSDL >= 0.6.0...
pkg-config GiGiSDL --atleast-version 0.6.0
scons: Configure: no
scons: Configure: Checking for C++ header file boost/shared_ptr.hpp...
.sconf_temp/conftest_3.cpp <-
|
|#include "boost/shared_ptr.hpp"
|
|
g++ -o .sconf_temp/conftest_3.o -c -I/usr/include/python2.4 .sconf_temp/conftest_3.cpp
scons: Configure: yes
scons: Configure: Checking Boost version >= 1.34...
scons: Configure: (cached) yes
scons: Configure: Checking for C++ header file boost/graph/dijkstra_shortest_paths.hpp...
.sconf_temp/conftest_4.cpp <-
|
|#include <boost/graph/dijkstra_shortest_paths.hpp>
|
|
g++ -o .sconf_temp/conftest_4.o -c -I/usr/include/python2.4 .sconf_temp/conftest_4.cpp
scons: Configure: yes
scons: Configure: Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization...
.sconf_temp/conftest_5.cpp <-
|
|
|#include "boost/archive/binary_iarchive.hpp"
|
|int
|main() {
| boost::archive::binary_iarchive::is_saving();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_5.o -c -I/usr/include/python2.4 .sconf_temp/conftest_5.cpp
g++ -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -L/usr/lib64 -lpython2.4 -lboost_serialization
scons: Configure: yes
scons: Configure: Checking for C++ library boost_iostreams...
.sconf_temp/conftest_6.cpp <-
|
|
|#include "boost/iostreams/filtering_stream.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_6.o -c -I/usr/include/python2.4 .sconf_temp/conftest_6.cpp
g++ -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -L/usr/lib64 -lpython2.4 -lboost_serialization -lboost_iostreams
scons: Configure: yes
scons: Configure: Checking for boost::python::throw_error_already_set() in C++ library boost_python...
.sconf_temp/conftest_7.cpp <-
|
|
|#include "boost/python.hpp"
|
|int
|main() {
| boost::python::throw_error_already_set();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_7.o -c -I/usr/include/python2.4 .sconf_temp/conftest_7.cpp
g++ -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -L/usr/lib64 -lpython2.4 -lboost_serialization -lboost_iostreams -lboost_python
scons: Configure: yes
scons: Configure: Checking for boost::signals::connection() in C++ library boost_signals...
.sconf_temp/conftest_8.cpp <-
|
|
|#include "boost/signals.hpp"
|
|int
|main() {
| boost::signals::connection();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_8.o -c -I/usr/include/python2.4 .sconf_temp/conftest_8.cpp
g++ -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -L/usr/lib64 -lpython2.4 -lboost_serialization -lboost_iostreams -lboost_python -lboost_signals
scons: Configure: yes
scons: Configure: Checking for boost::filesystem::initial_path() in C++ library boost_filesystem...
.sconf_temp/conftest_9.cpp <-
|
|
|#include "boost/filesystem/operations.hpp"
|
|int
|main() {
| boost::filesystem::initial_path();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_9.o -c -I/usr/include/python2.4 .sconf_temp/conftest_9.cpp
g++ -o .sconf_temp/conftest_9 .sconf_temp/conftest_9.o -L/usr/lib64 -lpython2.4 -lboost_serialization -lboost_iostreams -lboost_python -lboost_signals -lboost_filesystem
scons: Configure: yes
scons: Configure: Checking for boost::thread::yield() in C++ library boost_thread...
.sconf_temp/conftest_10.cpp <-
|
|
|#include "boost/thread/thread.hpp"
|
|int
|main() {
| boost::thread::yield();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_10.o -c -I/usr/include/python2.4 .sconf_temp/conftest_10.cpp
g++ -o .sconf_temp/conftest_10 .sconf_temp/conftest_10.o -L/usr/lib64 -lpython2.4 -lboost_serialization -lboost_iostreams -lboost_python -lboost_signals -lboost_filesystem -lboost_thread
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
scons: Configure: no
scons: Configure: Checking for boost::thread::yield() in C++ library boost_thread-mt...
.sconf_temp/conftest_11.cpp <-
|
|
|#include "boost/thread/thread.hpp"
|
|int
|main() {
| boost::thread::yield();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_11.o -c -I/usr/include/python2.4 .sconf_temp/conftest_11.cpp
g++ -o .sconf_temp/conftest_11 .sconf_temp/conftest_11.o -L/usr/lib64 -lpython2.4 -lboost_serialization -lboost_iostreams -lboost_python -lboost_signals -lboost_filesystem -lboost_thread-mt
scons: Configure: yes
scons: Configure: Boost configuration...
scons: Configure: (cached) ok
scons: Configure: Checking for C header file pthread.h...
.sconf_temp/conftest_12.c <-
|
|#include "pthread.h"
|
|
gcc -o .sconf_temp/conftest_12.o -c -I/usr/include/python2.4 .sconf_temp/conftest_12.c
scons: Configure: yes
scons: Configure: Checking for pthread_create() in C library pthread...
.sconf_temp/conftest_13.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char pthread_create();
|
|int
|main() {
| pthread_create();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_13.o -c -I/usr/include/python2.4 .sconf_temp/conftest_13.c
gcc -o .sconf_temp/conftest_13 .sconf_temp/conftest_13.o -L/usr/lib64 -lpython2.4 -lboost_serialization -lboost_iostreams -lboost_python -lboost_signals -lboost_filesystem -lboost_thread-mt -lpthread
scons: Configure: yes
scons: Configure: Checking for C header file GL/gl.h...
.sconf_temp/conftest_14.c <-
|
|#include "GL/gl.h"
|
|
gcc -o .sconf_temp/conftest_14.o -c " -pthread" -I/usr/include/python2.4 .sconf_temp/conftest_14.c
gcc: -pthread: No such file or directory
scons: Configure: no
gg config.log
Code: Select all
file /home/none/build/freeorion/FreeOrion/GG/SConstruct,line 266:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
scons: Configure: yes
scons: Configure: Checking for C++ header file boost/shared_ptr.hpp...
.sconf_temp/conftest_1.cpp <-
|
|#include "boost/shared_ptr.hpp"
|
|
g++ -o .sconf_temp/conftest_1.o -c .sconf_temp/conftest_1.cpp
scons: Configure: yes
scons: Configure: Checking Boost version >= 1.34...
scons: Configure: (cached) yes
scons: Configure: Checking for boost::signals::connection() in C++ library boost_signals...
.sconf_temp/conftest_2.cpp <-
|
|
|#include "boost/signals.hpp"
|
|int
|main() {
| boost::signals::connection();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_2.o -c .sconf_temp/conftest_2.cpp
g++ -o .sconf_temp/conftest_2 .sconf_temp/conftest_2.o -lboost_signals
scons: Configure: yes
scons: Configure: Checking for boost::filesystem::initial_path() in C++ library boost_filesystem...
.sconf_temp/conftest_3.cpp <-
|
|
|#include "boost/filesystem/operations.hpp"
|
|int
|main() {
| boost::filesystem::initial_path();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_3.o -c .sconf_temp/conftest_3.cpp
g++ -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -lboost_signals -lboost_filesystem
scons: Configure: yes
scons: Configure: Checking for boost::thread::yield() in C++ library boost_thread...
.sconf_temp/conftest_4.cpp <-
|
|
|#include "boost/thread/thread.hpp"
|
|int
|main() {
| boost::thread::yield();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_4.o -c .sconf_temp/conftest_4.cpp
g++ -o .sconf_temp/conftest_4 .sconf_temp/conftest_4.o -lboost_signals -lboost_filesystem -lboost_thread
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
scons: Configure: no
scons: Configure: Checking for boost::thread::yield() in C++ library boost_thread-mt...
.sconf_temp/conftest_5.cpp <-
|
|
|#include "boost/thread/thread.hpp"
|
|int
|main() {
| boost::thread::yield();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_5.o -c .sconf_temp/conftest_5.cpp
g++ -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -lboost_signals -lboost_filesystem -lboost_thread-mt
scons: Configure: yes
scons: Configure: Boost configuration...
scons: Configure: (cached) ok
scons: Configure: Checking for C header file pthread.h...
.sconf_temp/conftest_6.c <-
|
|#include "pthread.h"
|
|
gcc -o .sconf_temp/conftest_6.o -c .sconf_temp/conftest_6.c
scons: Configure: yes
scons: Configure: Checking for pthread_create() in C library pthread...
.sconf_temp/conftest_7.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char pthread_create();
|
|int
|main() {
| pthread_create();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_7.o -c .sconf_temp/conftest_7.c
gcc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -lboost_signals -lboost_filesystem -lboost_thread-mt -lpthread
scons: Configure: yes
scons: Configure: Checking for C header file GL/gl.h...
.sconf_temp/conftest_8.c <-
|
|#include "GL/gl.h"
|
|
gcc -o .sconf_temp/conftest_8.o -c -pthread .sconf_temp/conftest_8.c
scons: Configure: yes
scons: Configure: Checking for C header file GL/glu.h...
.sconf_temp/conftest_9.c <-
|
|#include "GL/glu.h"
|
|
gcc -o .sconf_temp/conftest_9.o -c -pthread .sconf_temp/conftest_9.c
scons: Configure: yes
scons: Configure: Checking for glBegin() in C library GL...
.sconf_temp/conftest_10.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char glBegin();
|
|int
|main() {
| glBegin();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_10.o -c -pthread .sconf_temp/conftest_10.c
gcc -o .sconf_temp/conftest_10 -pthread .sconf_temp/conftest_10.o -lboost_signals -lboost_filesystem -lboost_thread-mt -lGL
scons: Configure: yes
scons: Configure: Checking for gluLookAt() in C library GLU...
.sconf_temp/conftest_11.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char gluLookAt();
|
|int
|main() {
| gluLookAt();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_11.o -c -pthread .sconf_temp/conftest_11.c
gcc -o .sconf_temp/conftest_11 -pthread .sconf_temp/conftest_11.o -lboost_signals -lboost_filesystem -lboost_thread-mt -lGL -lGLU
scons: Configure: yes
scons: Configure: Checking for freetype2 >= 9.0.0...
pkg-config freetype2 --atleast-version 9.0.0
scons: Configure: yes
scons: Configure: Checking for C header file ft2build.h...
.sconf_temp/conftest_13.c <-
|
|#include "ft2build.h"
|
|
gcc -o .sconf_temp/conftest_13.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_13.c
scons: Configure: yes
scons: Configure: Checking for FT_Init_FreeType() in C library freetype...
.sconf_temp/conftest_14.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char FT_Init_FreeType();
|
|int
|main() {
| FT_Init_FreeType();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_14.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_14.c
gcc -o .sconf_temp/conftest_14 -pthread .sconf_temp/conftest_14.o -lboost_signals -lboost_filesystem -lboost_thread-mt -lGL -lGLU -lfreetype -lfreetype
scons: Configure: yes
scons: Configure: Checking DevIL version >= 1.6.1...
scons: Configure: (cached) yes
scons: Configure: Checking for C header file IL/il.h...
.sconf_temp/conftest_15.c <-
|
|#include "IL/il.h"
|
|
gcc -o .sconf_temp/conftest_15.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_15.c
scons: Configure: yes
scons: Configure: Checking for C header file IL/ilu.h...
.sconf_temp/conftest_16.c <-
|
|#include "IL/ilu.h"
|
|
gcc -o .sconf_temp/conftest_16.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_16.c
scons: Configure: yes
scons: Configure: Checking for ilInit() in C library IL...
.sconf_temp/conftest_17.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char ilInit();
|
|int
|main() {
| ilInit();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_17.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_17.c
gcc -o .sconf_temp/conftest_17 -pthread .sconf_temp/conftest_17.o -lboost_signals -lboost_filesystem -lboost_thread-mt -lGL -lGLU -lfreetype -lfreetype -lIL
scons: Configure: yes
scons: Configure: Checking for iluInit() in C library ILU...
.sconf_temp/conftest_18.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char iluInit();
|
|int
|main() {
| iluInit();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_18.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_18.c
gcc -o .sconf_temp/conftest_18 -pthread .sconf_temp/conftest_18.o -lboost_signals -lboost_filesystem -lboost_thread-mt -lGL -lGLU -lfreetype -lfreetype -lIL -lILU
scons: Configure: yes
scons: Configure: Generating libltdl/config.h using libltdl/configure...
scons: Configure: (cached) ok
scons: Configure: Configuration successful...
scons: Configure: (cached) yes
file /home/none/build/freeorion/FreeOrion/GG/SConstruct,line 470:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for sdl-config...
scons: Configure: (cached) yes
scons: Configure: Checking SDL version >= 1.2.7...
scons: Configure: (cached) yes
scons: Configure: Linking SDL/OpenGL test app...
.sconf_temp/conftest_19.c <-
|
|#include <SDL/SDL.h>
|#include <SDL/SDL_opengl.h>
|int main(int argc, char **argv)
|{
| SDL_Init(SDL_INIT_VIDEO);
| SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5);
| SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 5);
| SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 5);
| SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16);
| SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
| SDL_SetVideoMode(640, 480, SDL_GetVideoInfo()->vfmt->BitsPerPixel, SDL_OPENGL);
| glBegin(GL_TRIANGLES);
| glEnd();
| return 0;
|}
|
gcc -o .sconf_temp/conftest_19.o -c -pthread -Wall -O2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I. -Ilibltdl -I/usr/include/SDL .sconf_temp/conftest_19.c
gcc -o .sconf_temp/conftest_19 -pthread .sconf_temp/conftest_19.o -L/usr/lib64 -lboost_signals -lboost_filesystem -lboost_thread-mt -lGL -lGLU -lfreetype -lIL -lILU -lSDL -lpthread
scons: Configure: yes
scons: Configure: SDL configuration...
scons: Configure: (cached) yes
scons: Configure: Configuration successful...
scons: Configure: (cached) yes
file /home/none/build/freeorion/FreeOrion/GG/SConstruct,line 489:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
scons: Configure: yes
scons: Configure: Checking for OGRE >= 1.4.3...
pkg-config OGRE --atleast-version 1.4.3
scons: Configure: yes
scons: Configure: Checking for C++ header file Ogre.h...
.sconf_temp/conftest_22.cpp <-
|
|#include "Ogre.h"
|
|
g++ -o .sconf_temp/conftest_22.o -c -pthread -Wall -O2 -DOGRE_GUI_gtk -DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/include/freetype2 -I. -Ilibltdl -I/usr/include/OGRE .sconf_temp/conftest_22.cpp
scons: Configure: yes
scons: Configure: Checking for Ogre::Root() in C++ library OgreMain...
.sconf_temp/conftest_23.cpp <-
|
|
|#include <Ogre.h>
|int
|main() {
| Ogre::Root();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_23.o -c -pthread -Wall -O2 -DOGRE_GUI_gtk -DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/include/freetype2 -I. -Ilibltdl -I/usr/include/OGRE .sconf_temp/conftest_23.cpp
g++ -o .sconf_temp/conftest_23 -pthread .sconf_temp/conftest_23.o -lboost_signals -lboost_filesystem -lboost_thread-mt -lGL -lGLU -lfreetype -lIL -lILU -lOgreMain -lOgreMain
scons: Configure: yes
scons: Configure: Configuration successful...
scons: Configure: (cached) yes
file /home/none/build/freeorion/FreeOrion/GG/SConstruct,line 528:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
scons: Configure: yes
scons: Configure: Checking for OIS >= 1.0.0...
pkg-config OIS --atleast-version 1.0.0
scons: Configure: yes
scons: Configure: Checking for C++ header file OIS.h...
.sconf_temp/conftest_26.cpp <-
|
|#include "OIS.h"
|
|
g++ -o .sconf_temp/conftest_26.o -c -pthread -Wall -O2 -DOGRE_GUI_gtk -DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/include/freetype2 -I. -Ilibltdl -I/usr/include/OGRE -I/usr/include/OIS .sconf_temp/conftest_26.cpp
scons: Configure: yes
scons: Configure: Configuration successful...
scons: Configure: (cached) yes
I tried to put these as attached files but after trying to rename 4 times to satisfy the forum board I figured it's just being anal
I suspect I'll have more missing dependancies