[email protected]:~/freeorion/FreeOrion/GG$ 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 .sconf_temp/conftest_5.cpp
g++: .sconf_temp/conftest_5.cpp: No such file or directory
g++: no input files [email protected]:~/freeorion/FreeOrion/GG$ g++ -o .sconf_temp/conftest_5 -pthread .sconf_temp/conftest_5.o -L/usr/lib -L/usr/local/lib -lpython2.5 -lGiGiSDL -lIL -lILU -lGiGi -lboost_signals-mt -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGL -lGLU -lfreetype -lz -ljpeg -lpng -ltiff -lSDL -lboost_serialization
g++: .sconf_temp/conftest_5.o: No such file or directory
i wont downgrade to hardy. it was hard enough to get hardy to upgrade in the first place. if thats the thing i need then i will just have to wait till the next version of FO
file /opt/FreeOrion/GG/SConstruct,line 283:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for pkg-config...
scons: Configure: ".sconf_temp/conftest_0" is up to date.
scons: Configure: The original builder output was:
|pkg-config --atleast-pkgconfig-version 0.15.0
|
scons: Configure: (cached) yes
scons: Configure: Checking for C++ header file boost/shared_ptr.hpp...
scons: Configure: ".sconf_temp/conftest_1.cpp" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_1.cpp <-
| |
| |#include "boost/shared_ptr.hpp"
| |
| |
|
scons: Configure: ".sconf_temp/conftest_1.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_1.o -c .sconf_temp/conftest_1.cpp
|
scons: Configure: (cached) yes
scons: Configure: Checking for boost::signals::connection() in C++ library boost_signals...
scons: Configure: ".sconf_temp/conftest_2.cpp" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_2.cpp <-
| |
| |
| |#include "boost/signals.hpp"
| |
| |int
| |main() {
| | boost::signals::connection();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_2.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_2.o -c .sconf_temp/conftest_2.cpp
|
scons: Configure: ".sconf_temp/conftest_2" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_2 .sconf_temp/conftest_2.o -lboost_signals
|
scons: Configure: (cached) yes
scons: Configure: Checking for boost::system::get_system_category() in C++ library boost_system...
scons: Configure: ".sconf_temp/conftest_3.cpp" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_3.cpp <-
| |
| |
| |#include "boost/system/error_code.hpp"
| |
| |int
| |main() {
| | boost::system::get_system_category();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_3.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_3.o -c .sconf_temp/conftest_3.cpp
|
scons: Configure: ".sconf_temp/conftest_3" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -lboost_signals -lboost_system
|
scons: Configure: (cached) yes
scons: Configure: Checking for boost::filesystem::initial_path() in C++ library boost_filesystem...
scons: Configure: ".sconf_temp/conftest_4.cpp" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_4.cpp <-
| |
| |
| |#include "boost/filesystem/operations.hpp"
| |
| |int
| |main() {
| | boost::filesystem::initial_path();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_4.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_4.o -c .sconf_temp/conftest_4.cpp
|
scons: Configure: ".sconf_temp/conftest_4" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_4 .sconf_temp/conftest_4.o -lboost_signals -lboost_system -lboost_filesystem
|
scons: Configure: (cached) yes
scons: Configure: Checking for boost::thread::yield() in C++ library boost_thread...
scons: Configure: ".sconf_temp/conftest_5.cpp" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_5.cpp <-
| |
| |
| |#include "boost/thread/thread.hpp"
| |
| |int
| |main() {
| | boost::thread::yield();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_5.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_5.o -c .sconf_temp/conftest_5.cpp
|
scons: Configure: ".sconf_temp/conftest_5" is up to date.
scons: Configure: The original builder output was:
|g++ -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -lboost_signals -lboost_system -lboost_filesystem -lboost_thread
|
scons: Configure: (cached) yes
scons: Configure: Boost configuration...
scons: Configure: (cached) ok
scons: Configure: Checking for C header file pthread.h...
scons: Configure: ".sconf_temp/conftest_6.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_6.c <-
| |
| |#include "pthread.h"
| |
| |
|
scons: Configure: ".sconf_temp/conftest_6.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_6.o -c .sconf_temp/conftest_6.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for pthread_create() in C library pthread...
scons: Configure: ".sconf_temp/conftest_7.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_7.c <-
| |
| |
| |
| |#ifdef __cplusplus
| |extern "C"
| |#endif
| |char pthread_create();
| |
| |int
| |main() {
| | pthread_create();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_7.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_7.o -c .sconf_temp/conftest_7.c
|
scons: Configure: ".sconf_temp/conftest_7" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lpthread
|
scons: Configure: (cached) yes
scons: Configure: Checking for C header file GL/gl.h...
scons: Configure: ".sconf_temp/conftest_8.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_8.c <-
| |
| |#include "GL/gl.h"
| |
| |
|
scons: Configure: ".sconf_temp/conftest_8.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_8.o -c -pthread .sconf_temp/conftest_8.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for C header file GL/glu.h...
scons: Configure: ".sconf_temp/conftest_9.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_9.c <-
| |
| |#include "GL/glu.h"
| |
| |
|
scons: Configure: ".sconf_temp/conftest_9.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_9.o -c -pthread .sconf_temp/conftest_9.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for glBegin() in C library GL...
scons: Configure: ".sconf_temp/conftest_10.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_10.c <-
| |
| |
| |
| |#ifdef __cplusplus
| |extern "C"
| |#endif
| |char glBegin();
| |
| |int
| |main() {
| | glBegin();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_10.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_10.o -c -pthread .sconf_temp/conftest_10.c
|
scons: Configure: ".sconf_temp/conftest_10" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_10 -pthread .sconf_temp/conftest_10.o -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lGL
|
scons: Configure: (cached) yes
scons: Configure: Checking for gluLookAt() in C library GLU...
scons: Configure: ".sconf_temp/conftest_11.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_11.c <-
| |
| |
| |
| |#ifdef __cplusplus
| |extern "C"
| |#endif
| |char gluLookAt();
| |
| |int
| |main() {
| | gluLookAt();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_11.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_11.o -c -pthread .sconf_temp/conftest_11.c
|
scons: Configure: ".sconf_temp/conftest_11" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_11 -pthread .sconf_temp/conftest_11.o -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lGL -lGLU
|
scons: Configure: (cached) yes
scons: Configure: Checking for freetype2 >= 9.0.0...
scons: Configure: ".sconf_temp/conftest_12" is up to date.
scons: Configure: The original builder output was:
|pkg-config freetype2 --atleast-version 9.0.0
|
scons: Configure: (cached) yes
scons: Configure: Checking for C header file ft2build.h...
scons: Configure: ".sconf_temp/conftest_13.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_13.c <-
| |
| |#include "ft2build.h"
| |
| |
|
scons: Configure: ".sconf_temp/conftest_13.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_13.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_13.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for FT_Init_FreeType() in C library freetype...
scons: Configure: ".sconf_temp/conftest_14.c" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp/conftest_14.c <-
| |
| |
| |
| |#ifdef __cplusplus
| |extern "C"
| |#endif
| |char FT_Init_FreeType();
| |
| |int
| |main() {
| | FT_Init_FreeType();
| |return 0;
| |}
| |
|
scons: Configure: ".sconf_temp/conftest_14.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_14.o -c -pthread -I/usr/include/freetype2 .sconf_temp/conftest_14.c
|
scons: Configure: ".sconf_temp/conftest_14" is up to date.
scons: Configure: The original builder output was:
|gcc -o .sconf_temp/conftest_14 -pthread .sconf_temp/conftest_14.o -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lGL -lGLU -lfreetype -lz -lfreetype
|
scons: Configure: (cached) yes
scons: Configure: Checking for C++ header file Ogre.h...
.sconf_temp/conftest_24.cpp <-
|
|#include "Ogre.h"
|
|
g++ -o .sconf_temp/conftest_24.o -c -pthread -Wall -O2 -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include/boost-1_37 -I/usr/include/freetype2 -I. -Ilibltdl -I/usr/include/OGRE .sconf_temp/conftest_24.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
from /usr/include/OGRE/OgreStdHeaders.h:38,
from /usr/include/OGRE/OgreMemoryManager.h:46,
from /usr/include/OGRE/OgrePrerequisites.h:87,
from /usr/include/OGRE/Ogre.h:32,
from .sconf_temp/conftest_24.cpp:2:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
scons: Configure: yes
scons: Configure: Checking for Ogre::Root() in C++ library OgreMain...
.sconf_temp/conftest_25.cpp <-
|
|
|#include <Ogre.h>
|int
|main() {
| Ogre::Root();
|return 0;
|}
|
g++ -o .sconf_temp/conftest_25.o -c -pthread -Wall -O2 -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include/boost-1_37 -I/usr/include/freetype2 -I. -Ilibltdl -I/usr/include/OGRE .sconf_temp/conftest_25.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
from /usr/include/OGRE/OgreStdHeaders.h:38,
from /usr/include/OGRE/OgreMemoryManager.h:46,
from /usr/include/OGRE/OgrePrerequisites.h:87,
from /usr/include/OGRE/Ogre.h:32,
from .sconf_temp/conftest_25.cpp:3:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
g++ -o .sconf_temp/conftest_25 -pthread .sconf_temp/conftest_25.o -lboost_signals -lboost_system -lboost_filesystem -lboost_thread -lGL -lGLU -lz -lfreetype -lOgreMain -lOgreMain
/usr/bin/ld: cannot find -lboost_signals
collect2: ld returned 1 exit status
scons: Configure: no
scons: Configure: Configuration successful...
scons: Configure: (cached) no
francys: I have different config.log with same system. The only one difference is other boost. You have compiled boost 1.37 and I have boost 1.37 from unstable repository. Could you install boost 1.37 from unstable Debian?
In my log the only failed test(but configuration of all tests successfully end) is test6 in which I can find:
ooooo so thats the whole command? well inputting that whole command from the guy a couple posts back makes my config.log look like this http://pastebin.com/f79849861
yoshi wrote:ooooo so thats the whole command? well inputting that whole command from the guy a couple posts back makes my config.log look like this http://pastebin.com/f79849861
Certainly problem is with linker ld which can't find some parts of boost. Problem may be solved by changing LD_LIBRARY_PATH to tell g++ where to find boost. Changing this variable to /usr/lib doesn't work and I need to find out why...
usr/bin/ld: cannot find -lboost_signals
collect2: ld returned 1 exit status
Linker ld can't find this library because in /usr/lib there is no library libboost-signals.so. But there is library libboost-signals-mt.so (mt means multithreaded) and therefore I must fix my test example to:
All: you have to find out which version of boost you have(if is multithreaded) and to fix scons script. But how to fix scons script is another case. I have no idea. Yet.
OndrejR wrote:
All: you have to find out which version of boost you have(if is multithreaded) and to fix scons script. But how to fix scons script is another case. I have no idea. Yet.
There's no need to fix scons script. It already has an option to specify suffix of the library.
E.g. boost_lib_suffix=-gcc41-mt-1_37
OndrejR wrote:Linker ld can't find this library because in /usr/lib there is no library libboost-signals.so. But there is library libboost-signals-mt.so (mt means multithreaded) and therefore I must fix my test example to:
I'm still stuck in the same position I was before. Would not having libc6 version 2.7 really cause me to have the issue of scons not being able to find libboost_serialization when attempting to compile FreeOrion itself, while not having that issue w/ GG?
I tried to use the boost_lib_suffix advice from loonycyborg but my library seems to have no special suffix?