Code: Select all
sudo scons
What is output of
Code: Select all
ls -all
Moderator: Oberlus
Code: Select all
sudo scons
Code: Select all
ls -all
Code: Select all
ian@ian-laptop:~$ ls -ald /usr/local/lib
drwxr-xr-x 4 root root 4096 2008-12-24 16:26 /usr/local/lib
Code: Select all
ian@ian-laptop:~/freeorion/FreeOrion$ ls -all
total 172
drwxr-xr-x 19 ian ian 4096 2008-12-24 16:35 .
drwxr-xr-x 5 ian ian 4096 2008-12-24 14:39 ..
drwxr-xr-x 3 ian ian 4096 2008-12-24 14:42 AI
-rw-r--r-- 1 ian ian 820 2008-12-24 14:42 build_config.py
-rw-r--r-- 1 ian ian 1260 2008-12-24 16:35 build_config.pyc
-rw-r--r-- 1 ian ian 14760 2008-12-24 14:42 build_support.py
-rw-r--r-- 1 ian ian 14890 2008-12-24 16:35 build_support.pyc
drwxr-xr-x 6 ian ian 4096 2008-12-24 14:42 client
drwxr-xr-x 3 ian ian 4096 2008-12-24 14:42 combat
-rw-r--r-- 1 ian ian 4134 2008-12-31 18:17 config.log
drwxr-xr-x 5 ian ian 4096 2008-12-24 14:42 default
drwxr-xr-x 4 ian ian 4096 2008-12-24 14:39 Empire
drwxr-xr-x 10 ian ian 4096 2008-12-24 16:26 GG
drwxr-xr-x 3 ian ian 4096 2008-12-24 14:42 Installer
-rw-r--r-- 1 ian ian 85 2008-12-24 14:42 Makefile
drwxr-xr-x 6 ian ian 4096 2008-12-24 14:39 msvc2005
drwxr-xr-x 6 ian ian 4096 2008-12-24 14:39 msvc2008
drwxr-xr-x 4 ian ian 4096 2008-12-24 14:42 network
-rw-r--r-- 1 ian ian 48 2008-12-31 18:17 options.cache
drwxr-xr-x 3 ian ian 4096 2008-12-24 14:39 python
-rw-r--r-- 1 ian ian 2969 2008-12-24 14:42 RELEASE-NOTES-V03.txt
drwxr-xr-x 2 ian ian 4096 2008-12-31 18:17 .sconf_temp
-rw-r--r-- 1 ian ian 4374 2008-12-24 14:42 SConscript
-rw-r--r-- 1 ian ian 0 2008-12-24 16:35 .sconsign.dblite
-rw-r--r-- 1 ian ian 25987 2008-12-24 14:42 SConstruct
drwxr-xr-x 4 ian ian 4096 2008-12-24 14:42 server
drwxr-xr-x 6 ian ian 4096 2008-12-24 14:43 .svn
drwxr-xr-x 4 ian ian 4096 2008-12-24 14:42 UI
drwxr-xr-x 4 ian ian 4096 2008-12-24 14:42 universe
drwxr-xr-x 4 ian ian 4096 2008-12-31 18:16 util
Code: Select all
ian@ian-laptop:~/freeorion/FreeOrion/.sconf_temp$ ls -all
total 60
drwxr-xr-x 2 ian ian 4096 2008-12-31 18:17 .
drwxr-xr-x 19 ian ian 4096 2008-12-24 16:35 ..
-rwxr-xr-x 1 ian ian 10804 2008-12-31 18:17 conftest_0
-rw-r--r-- 1 ian ian 67 2008-12-31 18:17 conftest_0.c
-rw-r--r-- 1 ian ian 1360 2008-12-31 18:17 conftest_0.o
-rw-r--r-- 1 ian ian 34 2008-12-31 18:17 conftest_3.cpp
-rw-r--r-- 1 ian ian 936 2008-12-31 18:17 conftest_3.o
-rw-r--r-- 1 ian ian 53 2008-12-31 18:17 conftest_4.cpp
-rw-r--r-- 1 ian ian 1736 2008-12-31 18:17 conftest_4.o
-rw-r--r-- 1 ian ian 121 2008-12-31 18:17 conftest_5.cpp
-rw-r--r-- 1 ian ian 2232 2008-12-31 18:17 conftest_5.o
-rw-r--r-- 1 ian ian 121 2008-12-31 18:17 conftest_6.cpp
-rw-r--r-- 1 ian ian 2232 2008-12-31 18:17 conftest_6.o
Code: Select all
ian@ian-laptop:~/freeorion/FreeOrion/GG$ ls -all
total 872
drwxr-xr-x 10 ian ian 4096 2008-12-24 16:26 .
drwxr-xr-x 19 ian ian 4096 2008-12-24 16:35 ..
-rw-r--r-- 1 ian ian 566 2008-12-24 14:43 build_config.py
-rw-r--r-- 1 ian ian 931 2008-12-24 14:54 build_config.pyc
-rw-r--r-- 1 ian ian 12519 2008-12-24 14:43 build_support.py
-rw-r--r-- 1 ian ian 13103 2008-12-24 14:54 build_support.pyc
-rw-r--r-- 1 ian ian 1349 2008-12-24 14:43 Config.h.in
-rw-r--r-- 1 ian ian 16489 2008-12-24 14:55 config.log
drwxr-xr-x 3 ian ian 4096 2008-12-24 14:42 doc
drwxr-xr-x 7 ian ian 4096 2008-12-24 14:55 GG
-rw-r--r-- 1 ian ian 812 2008-12-24 14:55 gigi_config.cache
-rw-r--r-- 1 ian ian 257 2008-12-24 16:26 GiGiOgre.pc
-rw-r--r-- 1 ian ian 259 2008-12-24 14:43 GiGiOgre.pc.in
-rw-r--r-- 1 ian ian 340 2008-12-24 16:26 GiGi.pc
-rw-r--r-- 1 ian ian 238 2008-12-24 14:43 GiGi.pc.in
-rw-r--r-- 1 ian ian 248 2008-12-24 16:26 GiGiSDL.pc
-rw-r--r-- 1 ian ian 255 2008-12-24 14:43 GiGiSDL.pc.in
-rw-r--r-- 1 ian ian 26431 2008-12-24 14:43 lgpl.txt
-rwxr-xr-x 1 ian ian 103414 2008-12-24 16:21 libGiGiOgrePlugin_OIS.so
-rwxr-xr-x 1 ian ian 82460 2008-12-24 16:21 libGiGiOgre.so
-rwxr-xr-x 1 ian ian 58905 2008-12-24 16:20 libGiGiSDL.so
drwxr-xr-x 3 ian ian 4096 2008-12-24 16:20 libltdl
-rw-r--r-- 1 ian ian 910 2008-12-24 14:55 ogre_config.cache
-rw-r--r-- 1 ian ian 971 2008-12-24 14:55 ogre_ois_config.cache
-rw-r--r-- 1 ian ian 0 2008-12-24 16:26 options.cache
drwxr-xr-x 2 ian ian 4096 2008-12-24 14:55 .sconf_temp
-rw-r--r-- 1 root root 405325 2008-12-24 16:26 .sconsign.dblite
-rw-r--r-- 1 ian ian 37390 2008-12-24 14:43 SConstruct
-rw-r--r-- 1 ian ian 905 2008-12-24 14:55 sdl_config.cache
drwxr-xr-x 7 ian ian 4096 2008-12-24 16:19 src
drwxr-xr-x 6 ian ian 4096 2008-12-24 14:43 .svn
drwxr-xr-x 3 ian ian 4096 2008-12-24 14:42 test
drwxr-xr-x 3 ian ian 4096 2008-12-24 16:21 tutorial
Code: Select all
ian@ian-laptop:~/freeorion/FreeOrion/GG/.sconf_temp$ ls -all
total 620
drwxr-xr-x 2 ian ian 4096 2008-12-24 14:55 .
drwxr-xr-x 10 ian ian 4096 2008-12-24 16:26 ..
-rw-r--r-- 1 ian ian 23 2008-12-24 14:54 conftest_10.c
-rw-r--r-- 1 ian ian 935 2008-12-24 14:54 conftest_10.o
-rwxr-xr-x 1 ian ian 10819 2008-12-24 14:54 conftest_11
-rw-r--r-- 1 ian ian 109 2008-12-24 14:54 conftest_11.c
-rw-r--r-- 1 ian ian 1368 2008-12-24 14:54 conftest_11.o
-rw-r--r-- 1 ian ian 21 2008-12-24 14:54 conftest_12.c
-rw-r--r-- 1 ian ian 935 2008-12-24 14:54 conftest_12.o
-rw-r--r-- 1 ian ian 22 2008-12-24 14:54 conftest_13.c
-rw-r--r-- 1 ian ian 935 2008-12-24 14:54 conftest_13.o
-rwxr-xr-x 1 ian ian 10799 2008-12-24 14:54 conftest_14
-rw-r--r-- 1 ian ian 95 2008-12-24 14:54 conftest_14.c
-rw-r--r-- 1 ian ian 1360 2008-12-24 14:54 conftest_14.o
-rwxr-xr-x 1 ian ian 10801 2008-12-24 14:54 conftest_15
-rw-r--r-- 1 ian ian 99 2008-12-24 14:54 conftest_15.c
-rw-r--r-- 1 ian ian 1360 2008-12-24 14:54 conftest_15.o
-rw-r--r-- 1 ian ian 24 2008-12-24 14:54 conftest_17.c
-rw-r--r-- 1 ian ian 935 2008-12-24 14:54 conftest_17.o
-rwxr-xr-x 1 ian ian 10808 2008-12-24 14:55 conftest_18
-rw-r--r-- 1 ian ian 113 2008-12-24 14:54 conftest_18.c
-rw-r--r-- 1 ian ian 1368 2008-12-24 14:54 conftest_18.o
-rw-r--r-- 1 ian ian 42 2008-12-24 14:55 conftest_19.c
-rw-r--r-- 1 ian ian 935 2008-12-24 14:55 conftest_19.o
-rw-r--r-- 1 ian ian 34 2008-12-24 14:54 conftest_1.cpp
-rw-r--r-- 1 ian ian 936 2008-12-24 14:54 conftest_1.o
-rwxr-xr-x 1 ian ian 10767 2008-12-24 14:55 conftest_20
-rw-r--r-- 1 ian ian 31 2008-12-24 14:55 conftest_20.c
-rw-r--r-- 1 ian ian 1232 2008-12-24 14:55 conftest_20.o
-rw-r--r-- 1 ian ian 19 2008-12-24 14:55 conftest_21.c
-rw-r--r-- 1 ian ian 935 2008-12-24 14:55 conftest_21.o
-rwxr-xr-x 1 ian ian 10767 2008-12-24 14:55 conftest_22
-rw-r--r-- 1 ian ian 31 2008-12-24 14:55 conftest_22.c
-rw-r--r-- 1 ian ian 1232 2008-12-24 14:55 conftest_22.o
-rw-r--r-- 1 ian ian 22 2008-12-24 14:55 conftest_23.c
-rwxr-xr-x 1 ian ian 11036 2008-12-24 14:55 conftest_24
-rw-r--r-- 1 ian ian 489 2008-12-24 14:55 conftest_24.c
-rw-r--r-- 1 ian ian 1880 2008-12-24 14:55 conftest_24.o
-rw-r--r-- 1 ian ian 20 2008-12-24 14:55 conftest_27.cpp
-rw-r--r-- 1 ian ian 2280 2008-12-24 14:55 conftest_27.o
-rwxr-xr-x 1 ian ian 15861 2008-12-24 14:55 conftest_28
-rw-r--r-- 1 ian ian 61 2008-12-24 14:55 conftest_28.cpp
-rw-r--r-- 1 ian ian 3952 2008-12-24 14:55 conftest_28.o
-rw-r--r-- 1 ian ian 89 2008-12-24 14:54 conftest_2.cpp
-rw-r--r-- 1 ian ian 4472 2008-12-24 14:54 conftest_2.o
-rwxr-xr-x 1 ian ian 11417 2008-12-24 14:54 conftest_3
-rw-r--r-- 1 ian ian 19 2008-12-24 14:55 conftest_31.cpp
-rw-r--r-- 1 ian ian 937 2008-12-24 14:55 conftest_31.o
-rw-r--r-- 1 ian ian 89 2008-12-24 14:54 conftest_3.cpp
-rw-r--r-- 1 ian ian 4472 2008-12-24 14:54 conftest_3.o
-rw-r--r-- 1 ian ian 107 2008-12-24 14:54 conftest_4.cpp
-rw-r--r-- 1 ian ian 2904 2008-12-24 14:54 conftest_4.o
-rwxr-xr-x 1 ian ian 11447 2008-12-24 14:54 conftest_5
-rw-r--r-- 1 ian ian 107 2008-12-24 14:54 conftest_5.cpp
-rw-r--r-- 1 ian ian 2904 2008-12-24 14:54 conftest_5.o
-rw-r--r-- 1 ian ian 108 2008-12-24 14:54 conftest_6.cpp
-rw-r--r-- 1 ian ian 92464 2008-12-24 14:54 conftest_6.o
-rwxr-xr-x 1 ian ian 58685 2008-12-24 14:54 conftest_7
-rw-r--r-- 1 ian ian 108 2008-12-24 14:54 conftest_7.cpp
-rw-r--r-- 1 ian ian 92464 2008-12-24 14:54 conftest_7.o
-rw-r--r-- 1 ian ian 89 2008-12-24 14:54 conftest_8.cpp
-rw-r--r-- 1 ian ian 7928 2008-12-24 14:54 conftest_8.o
-rwxr-xr-x 1 ian ian 16524 2008-12-24 14:54 conftest_9
-rw-r--r-- 1 ian ian 89 2008-12-24 14:54 conftest_9.cpp
-rw-r--r-- 1 ian ian 7928 2008-12-24 14:54 conftest_9.o
That doesn't help somebody who can't compile FO in the first place, though...Problem with FreeOrion segfault immediately after starting FreeOrion was fixed by tzlaine.
Code: Select all
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... no
Code: Select all
g++ -o .sconf_temp/conftest_6 -pthread .sconf_temp/conftest_6.o -L/usr/lib -L/usr/local/lib -L/usr/local/include/boost-1_37/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-mt
/usr/lib/libIL.so: undefined reference to `ilLoadVtfF'
/usr/lib/libIL.so: undefined reference to `ilLoadVtf'
/usr/lib/libIL.so: undefined reference to `ilLoadVtfL'
collect2: ld returned 1 exit status
No. libdevil-dev and libdevil1c2 are not in debian testing. They are in debian unstable. You can see this at:francys wrote: from another thread: I am not sure why (but I think it's the upgrading of some packages related to compilers and C libraries), however I am now able to run a successful configure and compile of GG.
I now get an error atI'm using libdevil1c2 and libdevil-dev version 1.7.5-1 (they have been uploaded to the debian testing repositories 2 days ago).Code: Select all
... /usr/lib/libIL.so: undefined reference to `ilLoadVtfF' /usr/lib/libIL.so: undefined reference to `ilLoadVtf' /usr/lib/libIL.so: undefined reference to `ilLoadVtfL' collect2: ld returned 1 exit status
I don't know howto create static library. Francys after some upgrade now can play FreeOrion on Debian testing/unstable(and has libc 2.7). You should try vmware or wait until someone creates static binary.IConrad wrote:Any signs someone is going to be making a binary of FO 0.3.10 that doesn't still have the building bug?
Maybe you should try this.boost mailing list wrote:That solved the problem. Thanks!
>> Fedora rawhide recently bumped the boost version from 1.34 to 1.37
>>> so I gave it a try. I can't compile the code below:
>>>
>>
> Unfortunately this is a bug in the TR1 library that hits you only if:
>
> * You have the TR1 headers in your include path.
> and:
> * Boost is installed in /usr/
>
> I believe this is fixed in SVN Trunk: can you try replacing the contents of
> /usr/include/boost/tr1 with the latest code from SVN and see if that helps?
In Debian unstable there is functional boost(and francys successfully compiled FreeOrion). Did you install boost 1.37 from debian unstable?IConrad wrote:I can't compile Boost either. Doesn't seem to matter the version.
Code: Select all
sudo scons
scons: Reading SConscript files ...
Checking for pkg-config... yes
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.36... (cached) yes
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... 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... no
Boost configuration... (cached) no