One other thing you can try is posting all the contents of "build/config.log", that might contain more info about why the test is failing. It's a bit of a fishing expedition though.
Finally if it still doesn't work you can try building without boost filesystem and locale,
file /home/foo/Desktop/wesnoth-1.12.0/SConstruct,line 290:
Configure(confdir = build/sconf_temp)
scons: Configure: Checking for C header file poll.h...
scons: Configure: "build/sconf_temp/conftest_0.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_0.c <-
| |
| |#include <poll.h>
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_0.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_0.o -c build/sconf_temp/conftest_0.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for C header file sys/poll.h...
scons: Configure: "build/sconf_temp/conftest_1.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_1.c <-
| |
| |#include <sys/poll.h>
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_1.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_1.o -c build/sconf_temp/conftest_1.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for C header file sys/select.h...
scons: Configure: "build/sconf_temp/conftest_2.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_2.c <-
| |
| |#include <sys/select.h>
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_2.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_2.o -c build/sconf_temp/conftest_2.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for C header file sys/sendfile.h...
scons: Configure: "build/sconf_temp/conftest_3.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_3.c <-
| |
| |#include <sys/sendfile.h>
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_3.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_3.o -c build/sconf_temp/conftest_3.c
|
scons: Configure: (cached) yes
scons: Configure: Checking for C function sendfile()...
scons: Configure: "build/sconf_temp/conftest_4.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_4.c <-
| |
| |
| |#include <assert.h>
| |
| |#ifdef __cplusplus
| |extern "C"
| |#endif
| |char sendfile();
| |
| |int main() {
| |#if defined (__stub_sendfile) || defined (__stub___sendfile)
| | fail fail fail
| |#else
| | sendfile();
| |#endif
| |
| | return 0;
| |}
| |
|
scons: Configure: "build/sconf_temp/conftest_4.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_4.o -c build/sconf_temp/conftest_4.c
|
scons: Configure: "build/sconf_temp/conftest_4" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_4 build/sconf_temp/conftest_4.o
|
scons: Configure: (cached) yes
scons: Configure: Checking for C library m...
scons: Configure: "build/sconf_temp/conftest_5.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_5.c <-
| |
| |
| |
| |int
| |main() {
| |
| |return 0;
| |}
| |
|
scons: Configure: "build/sconf_temp/conftest_5.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_5.o -c build/sconf_temp/conftest_5.c
|
scons: Configure: "build/sconf_temp/conftest_5" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_5 build/sconf_temp/conftest_5.o -lm
|
scons: Configure: (cached) yes
scons: Configure: Checking for C function round()...
scons: Configure: "build/sconf_temp/conftest_6.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_6.c <-
| |
| |
| |#include <assert.h>
| |
| |#ifdef __cplusplus
| |extern "C"
| |#endif
| |char round();
| |
| |int main() {
| |#if defined (__stub_round) || defined (__stub___round)
| | fail fail fail
| |#else
| | round();
| |#endif
| |
| | return 0;
| |}
| |
|
scons: Configure: "build/sconf_temp/conftest_6.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_6.o -c build/sconf_temp/conftest_6.c
|
scons: Configure: "build/sconf_temp/conftest_6" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_6 build/sconf_temp/conftest_6.o -lm
|
scons: Configure: (cached) yes
scons: Configure: Checking whether C++ compiler works (g++ version >= 3.3 required)...
scons: Configure: "build/sconf_temp/conftest_7.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_7.cpp <-
| |
| | #include <iostream>
| | int main()
| | {
| | std::cout << "Hello, world\n";
| | }
| |
| | #define GCC_VERSION (__GNUC__ * 10000 \
| | + __GNUC_MINOR__ * 100 \
| | + __GNUC_PATCHLEVEL__)
| | #if GCC_VERSION < 30300
| | #error Compiler version is too old!
| | #endif
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_7.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_7.o -c build/sconf_temp/conftest_7.cpp
|
scons: Configure: "build/sconf_temp/conftest_7" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_7 build/sconf_temp/conftest_7.o -lm
|
scons: Configure: (cached) yes
scons: Configure: Checking for Boost iostreams library version >= 1.34.1...
scons: Configure: "build/sconf_temp/conftest_8.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_8.cpp <-
| |
| | #include <boost/iostreams/constants.hpp>
| |
| |#include <boost/version.hpp>
| |#if BOOST_VERSION < 103401
| |#error Boost version is too old!
| |#endif
| |
| | int main()
| | {
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_8.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_8.o -c -I/usr/include build/sconf_temp/conftest_8.cpp
|
scons: Configure: "build/sconf_temp/conftest_8" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_8 build/sconf_temp/conftest_8.o -L/usr/lib -lm -lboost_iostreams-mt
|
scons: Configure: (cached) yes
scons: Configure: Checking for gzip support in Boost Iostreams...
scons: Configure: "build/sconf_temp/conftest_9.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_9.cpp <-
| |
| | #include <boost/iostreams/filtering_stream.hpp>
| | #include <boost/iostreams/filter/gzip.hpp>
| |
| | int main()
| | {
| | boost::iostreams::filtering_stream<boost::iostreams::output> filter;
| | filter.push(boost::iostreams::gzip_compressor(boost::iostreams::gzip_params()));
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_9.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_9.o -c -I/usr/include build/sconf_temp/conftest_9.cpp
|
scons: Configure: "build/sconf_temp/conftest_9" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_9 build/sconf_temp/conftest_9.o -L/usr/lib -lm -lboost_iostreams-mt
|
scons: Configure: (cached) yes
scons: Configure: Checking for bzip2 support in Boost Iostreams...
scons: Configure: "build/sconf_temp/conftest_10.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_10.cpp <-
| |
| | #include <boost/iostreams/filtering_stream.hpp>
| | #include <boost/iostreams/filter/bzip2.hpp>
| |
| | int main()
| | {
| | boost::iostreams::filtering_stream<boost::iostreams::output> filter;
| | filter.push(boost::iostreams::bzip2_compressor(boost::iostreams::bzip2_params()));
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_10.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_10.o -c -I/usr/include build/sconf_temp/conftest_10.cpp
|
scons: Configure: "build/sconf_temp/conftest_10" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_10 build/sconf_temp/conftest_10.o -L/usr/lib -lm -lboost_iostreams-mt
|
scons: Configure: (cached) yes
scons: Configure: Checking for Boost smart_ptr library...
scons: Configure: "build/sconf_temp/conftest_11.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_11.cpp <-
| |
| | #include <boost/smart_ptr.hpp>
| |
| |
| | int main()
| | {
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_11.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_11.o -c -I/usr/include build/sconf_temp/conftest_11.cpp
|
scons: Configure: "build/sconf_temp/conftest_11" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_11 build/sconf_temp/conftest_11.o -L/usr/lib -lm -lboost_iostreams-mt
|
scons: Configure: (cached) yes
scons: Configure: Checking for Simple DirectMedia Layer library version >= 1.2.7...
scons: Configure: "build/sconf_temp/conftest_12.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_12.c <-
| |
| | #include <SDL.h>
| |
| |#if SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL) < SDL_VERSIONNUM(1, 2, 7)
| |#error Library is too old!
| |#endif
| |
| | int main(int argc, char** argv)
| | {
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_12.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_12.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/SDL build/sconf_temp/conftest_12.c
|
scons: Configure: "build/sconf_temp/conftest_12" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_12 build/sconf_temp/conftest_12.o -L/usr/lib -lm -lboost_iostreams-mt -lSDL
|
scons: Configure: (cached) yes
scons: Configure: Checking for SDL_net library...
scons: Configure: "build/sconf_temp/conftest_13.c" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_13.c <-
| |
| | #include <SDL_net.h>
| |
| |
| | int main(int argc, char** argv)
| | {
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_13.o" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_13.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/SDL build/sconf_temp/conftest_13.c
|
scons: Configure: "build/sconf_temp/conftest_13" is up to date.
scons: Configure: The original builder output was:
|gcc -o build/sconf_temp/conftest_13 build/sconf_temp/conftest_13.o -L/usr/lib -lm -lboost_iostreams-mt -lSDL -lSDL_net
|
scons: Configure: (cached) yes
scons: Configure: Checking for Boost system library...
scons: Configure: "build/sconf_temp/conftest_14.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_14.cpp <-
| |
| | #include <boost/system/error_code.hpp>
| |
| |
| | int main()
| | {
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_14.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_14.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/SDL build/sconf_temp/conftest_14.cpp
|
scons: Configure: "build/sconf_temp/conftest_14" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_14 build/sconf_temp/conftest_14.o -L/usr/lib -lm -lboost_iostreams-mt -lSDL -lSDL_net -lboost_system-mt
|
scons: Configure: (cached) yes
scons: Configure: Checking for Boost filesystem library version >= 1.44.0...
scons: Configure: "build/sconf_temp/conftest_15.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_15.cpp <-
| |
| | #include <boost/filesystem/operations.hpp>
| |
| |#include <boost/version.hpp>
| |#if BOOST_VERSION < 104400
| |#error Boost version is too old!
| |#endif
| |
| | int main()
| | {
| | }
| |
| |
|
scons: Configure: "build/sconf_temp/conftest_15.o" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_15.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/SDL build/sconf_temp/conftest_15.cpp
|
scons: Configure: "build/sconf_temp/conftest_15" is up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_15 build/sconf_temp/conftest_15.o -L/usr/lib -lm -lboost_iostreams-mt -lSDL -lSDL_net -lboost_system-mt -lboost_filesystem-mt
|
scons: Configure: (cached) yes
scons: Configure: Checking for Boost locale library...
scons: Configure: "build/sconf_temp/conftest_16.cpp" is up to date.
scons: Configure: The original builder output was:
|build/sconf_temp/conftest_16.cpp <-
| |
| | #include <boost/locale/info.hpp>
| |
| |
| | int main()
| | {
| | }
| |
| |
|
scons: Configure: Building "build/sconf_temp/conftest_16.o" failed in a previous run and all its sources are up to date.
scons: Configure: The original builder output was:
|g++ -o build/sconf_temp/conftest_16.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/SDL build/sconf_temp/conftest_16.cpp
|
scons: Configure: (cached) no
I've been messing around with trying to build today, one thing I noticed is that my libboost_locale file didn't have an accompanying symlink as do the other boost libs, so I made one, but still can't compile. The other boost files are 1.46 while the locale one is 1.48, and there is no way to sync them up via synaptic by upgrading or downgrading. Where does scons look for the file, can I just make a copy in a different folder?
Crow_T wrote:The other boost files are 1.46 while the locale one is 1.48
Hmm... all the boost libs that you use for wesnoth should be the same version, you aren't supposed to mix and match, because they may talk to each other and they won't be compatible in general. So all your boost should be at least >= 1.48 and the same version.
Not 3 hours ago synaptic was throwing up errors and wouldn't let me install the 1.48 version, giving security warnings and such, but I just did now and scons passed by the boost error! Hooray! But now my sdl lib is outdated! I think the LTS versions of Ubuntu aren't actually LT