I just discovered freeorion and I really wanted to try it out, however I'm unable to install on my Arch system with the freeorion on the AUR using yaourt.
At first I tried with a fully updated system which failed to compile, then I went searching. I then tried downgrading my boost-libs and boost to version 1.55.0-6. I then get what seems to be a gcc error:
Code: Select all
[100%] Building CXX object client/human/CMakeFiles/freeorion.dir/__/__/UI/TechTreeWnd.cpp.o
Linking CXX executable ../../freeorion
/usr/bin/ld: warning: libicuuc.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicui18n.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.57.0, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libOgreMain.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_system.so.1.57.0, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libOgreMain.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `u_charType_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `u_tolower_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `u_isblank_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `icu_53::Collator::createInstance(icu_53::Locale const&, UErrorCode&)'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `u_charFromName_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `icu_53::Locale::Locale()'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `icu_53::Locale::~Locale()'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `u_isspace_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `u_digit_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libboost_regex.so: undefined reference to `icu_53::Locale::Locale(icu_53::Locale const&)'
collect2: error: ld returned 1 exit status
client/human/CMakeFiles/freeorion.dir/build.make:1383: recipe for target 'freeorion' failed
make[2]: *** [freeorion] Error 1
CMakeFiles/Makefile2:540: recipe for target 'client/human/CMakeFiles/freeorion.dir/all' failed
make[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build freeorion.
In summary I'm unable to get freeorion to compile with versions 1.55.0-2, 1.55.0-6, 1.56.0-3, 1.57.0-1, or the latest 1.57.0-2. The posted was with version 1.55.0-6.
Any tips on how to get this to compile correctly?