Quote:
Problem with
Code:
/usr/local/lib/libGiGi.so
may cause this scons behaviour. Make
Code:
scons uninstall
on GG(as root). If there are symlinks to GG, delete them as advice above this said(and in my case change GG rights back to user)
Okay, my noobness is gonna come through. How do I check for / delete symlinks? Do I just uninstall the corrupted/bad GG and then do a new one? If all of this is being caused just because I have an old version of libGiGi still in there... I'm gonna laugh my "holy crap I'm annoyed at myself" laugh. |facepalm being held in reserve|.
I'll update this post when I get a chance to play w/ my home machine again.
EDIT:
No dice, once again. Scons configure outputted exactly the same. I checked 'round the web for how to find a symlink and did the following:
Code:
sudo find / -type l -name *GiGi* -print
Code:
sudo find / -type l -name *GG* -print
the only output of which I got was:
Code:
/usr/local/lib/libGiGiSDL.so
/usr/local/lib/libGiGi.so
/usr/local/lib/libGiGiOgre.so
I'm pretty sure those are supposed to be there.
Here's my new config.log:
Code:
file /home/ian/freeorion/FreeOrion/SConstruct,line 185:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for Py_Initialize() in C library python2.5...
.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.5 .sconf_temp/conftest_0.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L/usr/lib -lpython2.5
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for GiGiSDL >= 0.6.0...
pkg-config GiGiSDL --atleast-version 0.6.0
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
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 -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_3.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking Boost version >= 1.36...
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 -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_4.cpp
close failed: [Errno 9] Bad file descriptor
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 -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_5.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: Caught exception while building ".sconf_temp/conftest_5":
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Job.py", line 198, in start
task.prepare()
File "/usr/lib/scons/SCons/Taskmaster.py", line 186, in prepare
t.prepare()
File "/usr/lib/scons/SCons/Node/FS.py", line 2558, in prepare
SCons.Node.Node.prepare(self)
File "/usr/lib/scons/SCons/Node/__init__.py", line 356, in prepare
raise SCons.Errors.StopError, msg % (i, self)
SCons.Errors.StopError: Implicit dependency `/usr/local/lib/libGiGi.so' not found, needed by target `.sconf_temp/conftest_5'.
scons: Configure: no
scons: Configure: Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization-mt...
.sconf_temp/conftest_6.cpp <-
|
|
|#include "boost/archive/binary_iarchive.hpp"
|
|int
|main() {
| boost::archive::binary_iarchive::is_saving();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_6.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_6.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: Caught exception while building ".sconf_temp/conftest_6":
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Job.py", line 198, in start
task.prepare()
File "/usr/lib/scons/SCons/Taskmaster.py", line 186, in prepare
t.prepare()
File "/usr/lib/scons/SCons/Node/FS.py", line 2558, in prepare
SCons.Node.Node.prepare(self)
File "/usr/lib/scons/SCons/Node/__init__.py", line 356, in prepare
raise SCons.Errors.StopError, msg % (i, self)
SCons.Errors.StopError: Implicit dependency `/usr/local/lib/libGiGi.so' not found, needed by target `.sconf_temp/conftest_6'.
scons: Configure: no
scons: Configure: Boost configuration...
scons: Configure: (cached) no
EDIT 2:
So, I just tried to do the scons configure after simply removing GG altogether. And glory be, it found serialization! Configuration was successful. I shall try to re-build GG once again and see what happens...
EDIT 3:
No dice. If I rebuild GG, then I can't configure. If I try to compile w/o GG, then it errors out, or just doesn't output any actual files. Here's my config.log w/ GG:
Code:
file /home/ian/freeorion/FreeOrion/SConstruct,line 185:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for Py_Initialize() in C library python2.5...
.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.5 .sconf_temp/conftest_0.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L/usr/lib -lpython2.5
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for GiGiSDL >= 0.6.0...
pkg-config GiGiSDL --atleast-version 0.6.0
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
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 -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_3.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking Boost version >= 1.36...
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 -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_4.cpp
close failed: [Errno 9] Bad file descriptor
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 -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_5.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: Caught exception while building ".sconf_temp/conftest_5":
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Job.py", line 198, in start
task.prepare()
File "/usr/lib/scons/SCons/Taskmaster.py", line 186, in prepare
t.prepare()
File "/usr/lib/scons/SCons/Node/FS.py", line 2558, in prepare
SCons.Node.Node.prepare(self)
File "/usr/lib/scons/SCons/Node/__init__.py", line 356, in prepare
raise SCons.Errors.StopError, msg % (i, self)
SCons.Errors.StopError: Implicit dependency `/usr/local/lib/libGiGi.so' not found, needed by target `.sconf_temp/conftest_5'.
scons: Configure: no
scons: Configure: Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization-mt...
.sconf_temp/conftest_6.cpp <-
|
|
|#include "boost/archive/binary_iarchive.hpp"
|
|int
|main() {
| boost::archive::binary_iarchive::is_saving();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_6.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost/serialization .sconf_temp/conftest_6.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: Caught exception while building ".sconf_temp/conftest_6":
Traceback (most recent call last):
File "/usr/lib/scons/SCons/Job.py", line 198, in start
task.prepare()
File "/usr/lib/scons/SCons/Taskmaster.py", line 186, in prepare
t.prepare()
File "/usr/lib/scons/SCons/Node/FS.py", line 2558, in prepare
SCons.Node.Node.prepare(self)
File "/usr/lib/scons/SCons/Node/__init__.py", line 356, in prepare
raise SCons.Errors.StopError, msg % (i, self)
SCons.Errors.StopError: Implicit dependency `/usr/local/lib/libGiGi.so' not found, needed by target `.sconf_temp/conftest_6'.
scons: Configure: no
scons: Configure: Boost configuration...
scons: Configure: (cached) no
And here it is without:
Code:
file /home/ian/freeorion/FreeOrion/SConstruct,line 185:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for Py_Initialize() in C library python2.5...
.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.5 .sconf_temp/conftest_0.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L/usr/lib -lpython2.5
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for GiGiSDL >= 0.6.0...
pkg-config GiGiSDL --atleast-version 0.6.0
close failed: [Errno 9] Bad file descriptor
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.5 -I/usr/include/boost/serialization .sconf_temp/conftest_3.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking Boost version >= 1.36...
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.5 -I/usr/include/boost/serialization .sconf_temp/conftest_4.cpp
close failed: [Errno 9] Bad file descriptor
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.5 -I/usr/include/boost/serialization .sconf_temp/conftest_5.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -L/usr/lib -lpython2.5 -lboost_serialization
/usr/bin/ld: cannot find -lboost_serialization
collect2: ld returned 1 exit status
close failed: [Errno 9] Bad file descriptor
scons: Configure: no
scons: Configure: Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization-mt...
.sconf_temp/conftest_6.cpp <-
|
|
|#include "boost/archive/binary_iarchive.hpp"
|
|int
|main() {
| boost::archive::binary_iarchive::is_saving();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_6.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_6.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -L/usr/lib -lpython2.5 -lboost_serialization-mt
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for C++ library boost_iostreams...
.sconf_temp/conftest_7.cpp <-
|
|
|#include "boost/iostreams/filtering_stream.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_7.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_7.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams
/usr/bin/ld: cannot find -lboost_iostreams
collect2: ld returned 1 exit status
close failed: [Errno 9] Bad file descriptor
scons: Configure: no
scons: Configure: Checking for C++ library boost_iostreams-mt...
.sconf_temp/conftest_8.cpp <-
|
|
|#include "boost/iostreams/filtering_stream.hpp"
|
|int
|main() {
|
|return 0;
|}
|
g++ -o .sconf_temp/conftest_8.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_8.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for boost::python::throw_error_already_set() in C++ library boost_python...
.sconf_temp/conftest_9.cpp <-
|
|
|#include "boost/python.hpp"
|
|int
|main() {
| boost::python::throw_error_already_set();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_9.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_9.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_9 .sconf_temp/conftest_9.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python
/usr/bin/ld: cannot find -lboost_python
collect2: ld returned 1 exit status
close failed: [Errno 9] Bad file descriptor
scons: Configure: no
scons: Configure: Checking for boost::python::throw_error_already_set() in C++ library boost_python-mt...
.sconf_temp/conftest_10.cpp <-
|
|
|#include "boost/python.hpp"
|
|int
|main() {
| boost::python::throw_error_already_set();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_10.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_10.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_10 .sconf_temp/conftest_10.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for boost::signals::connection() in C++ library boost_signals...
.sconf_temp/conftest_11.cpp <-
|
|
|#include "boost/signals.hpp"
|
|int
|main() {
| boost::signals::connection();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_11.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_11.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_11 .sconf_temp/conftest_11.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals
/usr/bin/ld: cannot find -lboost_signals
collect2: ld returned 1 exit status
close failed: [Errno 9] Bad file descriptor
scons: Configure: no
scons: Configure: Checking for boost::signals::connection() in C++ library boost_signals-mt...
.sconf_temp/conftest_12.cpp <-
|
|
|#include "boost/signals.hpp"
|
|int
|main() {
| boost::signals::connection();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_12.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_12.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_12 .sconf_temp/conftest_12.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for boost::system::get_system_category() in C++ library boost_system...
.sconf_temp/conftest_13.cpp <-
|
|
|#include "boost/system/error_code.hpp"
|
|int
|main() {
| boost::system::get_system_category();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_13.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_13.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_13 .sconf_temp/conftest_13.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system
/usr/bin/ld: cannot find -lboost_system
collect2: ld returned 1 exit status
close failed: [Errno 9] Bad file descriptor
scons: Configure: no
scons: Configure: Checking for boost::system::get_system_category() in C++ library boost_system-mt...
.sconf_temp/conftest_14.cpp <-
|
|
|#include "boost/system/error_code.hpp"
|
|int
|main() {
| boost::system::get_system_category();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_14.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_14.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_14 .sconf_temp/conftest_14.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for boost::filesystem::initial_path() in C++ library boost_filesystem...
.sconf_temp/conftest_15.cpp <-
|
|
|#include "boost/filesystem/operations.hpp"
|
|int
|main() {
| boost::filesystem::initial_path();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_15.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_15.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_15 .sconf_temp/conftest_15.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem
/usr/bin/ld: cannot find -lboost_filesystem
collect2: ld returned 1 exit status
close failed: [Errno 9] Bad file descriptor
scons: Configure: no
scons: Configure: Checking for boost::filesystem::initial_path() in C++ library boost_filesystem-mt...
.sconf_temp/conftest_16.cpp <-
|
|
|#include "boost/filesystem/operations.hpp"
|
|int
|main() {
| boost::filesystem::initial_path();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_16.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_16.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_16 .sconf_temp/conftest_16.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for boost::thread::yield() in C++ library boost_thread...
.sconf_temp/conftest_17.cpp <-
|
|
|#include "boost/thread/thread.hpp"
|
|int
|main() {
| boost::thread::yield();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_17.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_17.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_17 .sconf_temp/conftest_17.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
close failed: [Errno 9] Bad file descriptor
scons: Configure: no
scons: Configure: Checking for boost::thread::yield() in C++ library boost_thread-mt...
.sconf_temp/conftest_18.cpp <-
|
|
|#include "boost/thread/thread.hpp"
|
|int
|main() {
| boost::thread::yield();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_18.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_18.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_18 .sconf_temp/conftest_18.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Boost configuration...
scons: Configure: (cached) ok
scons: Configure: Checking for C header file pthread.h...
.sconf_temp/conftest_19.c <-
|
|#include "pthread.h"
|
|
gcc -o .sconf_temp/conftest_19.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_19.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for pthread_create() in C library pthread...
.sconf_temp/conftest_20.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char pthread_create();
|
|int
|main() {
| pthread_create();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_20.o -c -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_20.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_20 .sconf_temp/conftest_20.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lpthread
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for C header file GL/gl.h...
.sconf_temp/conftest_21.c <-
|
|#include "GL/gl.h"
|
|
gcc -o .sconf_temp/conftest_21.o -c -pthread -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_21.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for C header file GL/glu.h...
.sconf_temp/conftest_22.c <-
|
|#include "GL/glu.h"
|
|
gcc -o .sconf_temp/conftest_22.o -c -pthread -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_22.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for glBegin() in C library GL...
.sconf_temp/conftest_23.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char glBegin();
|
|int
|main() {
| glBegin();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_23.o -c -pthread -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_23.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_23 -pthread .sconf_temp/conftest_23.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for gluLookAt() in C library GLU...
.sconf_temp/conftest_24.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char gluLookAt();
|
|int
|main() {
| gluLookAt();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_24.o -c -pthread -I/usr/include/python2.5 -I/usr/include/boost/serialization .sconf_temp/conftest_24.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_24 -pthread .sconf_temp/conftest_24.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
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_25.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_25.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL .sconf_temp/conftest_25.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_25 -pthread .sconf_temp/conftest_25.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU -lSDL -lpthread
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: SDL configuration...
scons: Configure: (cached) yes
scons: Configure: Checking for freetype2 >= 9.0.0...
pkg-config freetype2 --atleast-version 9.0.0
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for C header file ft2build.h...
.sconf_temp/conftest_27.c <-
|
|#include "ft2build.h"
|
|
gcc -o .sconf_temp/conftest_27.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_27.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for FT_Init_FreeType() in C library freetype...
.sconf_temp/conftest_28.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char FT_Init_FreeType();
|
|int
|main() {
| FT_Init_FreeType();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_28.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_28.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_28 -pthread .sconf_temp/conftest_28.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU -lSDL -lpthread -lfreetype -lz -lfreetype
close failed: [Errno 9] Bad file descriptor
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_29.c <-
|
|#include "IL/il.h"
|
|
gcc -o .sconf_temp/conftest_29.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_29.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for C header file IL/ilu.h...
.sconf_temp/conftest_30.c <-
|
|#include "IL/ilu.h"
|
|
gcc -o .sconf_temp/conftest_30.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_30.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for C header file IL/ilut.h...
.sconf_temp/conftest_31.c <-
|
|#include "IL/ilut.h"
|
|
gcc -o .sconf_temp/conftest_31.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_31.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for ilInit() in C library IL...
.sconf_temp/conftest_32.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char ilInit();
|
|int
|main() {
| ilInit();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_32.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_32.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_32 -pthread .sconf_temp/conftest_32.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU -lSDL -lpthread -lfreetype -lz -lfreetype -lIL
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for iluInit() in C library ILU...
.sconf_temp/conftest_33.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char iluInit();
|
|int
|main() {
| iluInit();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_33.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_33.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_33 -pthread .sconf_temp/conftest_33.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU -lSDL -lpthread -lfreetype -lz -lfreetype -lIL -lILU
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for ilutInit() in C library ILUT...
.sconf_temp/conftest_34.c <-
|
|
|
|#ifdef __cplusplus
|extern "C"
|#endif
|char ilutInit();
|
|int
|main() {
| ilutInit();
|return 0;
|}
|
gcc -o .sconf_temp/conftest_34.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_34.c
close failed: [Errno 9] Bad file descriptor
gcc -o .sconf_temp/conftest_34 -pthread .sconf_temp/conftest_34.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU -lSDL -lpthread -lfreetype -lz -lfreetype -lIL -lILU -lILUT
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
.sconf_temp/conftest_35.c <-
|
|#include <IL/ilut.h>
|#ifndef ILUT_USE_OPENGL
|#error "DevIL not built with OpenGL support"
|#endif
|int main() {
| return 0;
|}
|
gcc -o .sconf_temp/conftest_35.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 .sconf_temp/conftest_35.c
close failed: [Errno 9] Bad file descriptor
scons: Configure: Generating GG/libltdl/config.h using GG/libltdl/configure...
scons: Configure: (cached) ok
scons: Configure: Checking for openal >= 0.0.8...
pkg-config openal --atleast-version 0.0.8
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for freealut >= 1.1.0...
pkg-config freealut --atleast-version 1.1.0
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for vorbisfile >= 1.1.2...
pkg-config vorbisfile --atleast-version 1.1.2
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for libgraph >= 2.8...
pkg-config libgraph --atleast-version 2.8
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for libgvc >= 2.8...
pkg-config libgvc --atleast-version 2.8
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for log4cpp >= 0.3.4b...
pkg-config log4cpp --atleast-version 0.3.4b
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for C++ header file log4cpp/Category.hh...
.sconf_temp/conftest_42.cpp <-
|
|#include "log4cpp/Category.hh"
|
|
g++ -o .sconf_temp/conftest_42.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 -I/usr/include/graphviz .sconf_temp/conftest_42.cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Checking for log4cpp::Category::getRoot() in C++ library log4cpp...
.sconf_temp/conftest_43.cpp <-
|
|
|#include "log4cpp/Category.hh"
|
|int
|main() {
| log4cpp::Category::getRoot();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_43.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/include/boost/serialization -I/usr/include/SDL -I/usr/include/freetype2 -I/usr/include/graphviz .sconf_temp/conftest_43.cpp
close failed: [Errno 9] Bad file descriptor
g++ -o .sconf_temp/conftest_43 -pthread .sconf_temp/conftest_43.o -L/usr/lib -lpython2.5 -lboost_serialization-mt -lboost_iostreams-mt -lboost_python-mt -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU -lSDL -lpthread -lz -lfreetype -lIL -lILU -lILUT -lalut -lopenal -lvorbisfile -lvorbis -lm -logg -lgvc -lgraph -lcdt -llog4cpp -lnsl -llog4cpp
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
scons: Configure: Configuration successful...
scons: Configure: (cached) yes
Here's my scons configure output w/o GG:
Code:
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for Py_Initialize() in C library python2.5... yes
Checking for pkg-config... yes
Checking for GiGiSDL >= 0.6.0... no
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.36... (cached) yes
Checking for C++ header file boost/graph/dijkstra_shortest_paths.hpp... yes
Looking for boost lib boost_serialization...
Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization... no
Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization-mt... yes
Looking for boost lib boost_iostreams...
Checking for C++ library boost_iostreams... no
Checking for C++ library boost_iostreams-mt... yes
Looking for boost lib boost_python...
Checking for boost::python::throw_error_already_set() in C++ library boost_python... no
Checking for boost::python::throw_error_already_set() in C++ library boost_python-mt... yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... no
Checking for boost::signals::connection() in C++ library boost_signals-mt... yes
Looking for boost lib boost_system...
Checking for boost::system::get_system_category() in C++ library boost_system... no
Checking for boost::system::get_system_category() in C++ library boost_system-mt... yes
Looking for boost lib boost_filesystem...
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... no
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem-mt... yes
Looking for boost lib boost_thread...
Checking for boost::thread::yield() in C++ library boost_thread... no
Checking for boost::thread::yield() in C++ library boost_thread-mt... yes
Boost configuration... (cached) 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... (cached) yes
Checking SDL version >= 1.2.7... (cached) yes
Linking SDL/OpenGL test app... yes
SDL configuration... (cached) yes
Checking for freetype2 >= 9.0.0... yes
Checking for C header file ft2build.h... yes
Checking for FT_Init_FreeType() in C library freetype... yes
Checking DevIL version >= 1.6.1... (cached) 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
Generating GG/libltdl/config.h using GG/libltdl/configure... (cached) ok
Checking for openal >= 0.0.8... yes
Checking for freealut >= 1.1.0... yes
Checking for vorbisfile >= 1.1.2... yes
Checking for libgraph >= 2.8... yes
Checking for libgvc >= 2.8... yes
Checking for log4cpp >= 0.3.4b... yes
Checking for C++ header file log4cpp/Category.hh... yes
Checking for log4cpp::Category::getRoot() in C++ library log4cpp... yes
Configuration successful... (cached) yes
I'm clearly in over my head here. But I'll keep trying as long as you guys haven't run out of patience with me, I guess.