Follow-up Comment #2, bug #14802 (project wesnoth):
norb...@ren:~$ which wesnoth
/usr/local/bin/wesnoth
-----
norb...@ren:~$ /usr/local/bin/wesnoth --version
Battle for Wesnoth v1.6.5
This version <i>was not</i> working.
(Gives the error I pasted in the bug report.)
-----
norb...@ren:~$ /usr/games/wesnoth --version
Battle for Wesnoth v1.6.4
This version <i>was</i> working.
-----
Apparently, parts of 1.6.4 were still around (and, yes, I also installed
1.7.8 recently). So, I've removed <i>all</i> Wesnoth files from my machine
(files and directories found with $ find / -name '*wesnoth*') and tried to
reinstall 1.6.5.
-----
/usr/include/c++/4.3/bits/stl_algo.h: In function ‘_IIter std::find(_IIter,
_IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Tp
= char]’:
/usr/include/c++/4.3/bits/stl_algo.h:3806: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[2]: *** [map_location.o] Error 1
make[2]: Leaving directory `/home/norbert/Desktop/wesnoth-1.6.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/norbert/Desktop/wesnoth-1.6.5'
make: *** [all] Error 2
norb...@ren:~/Desktop/wesnoth-1.6.5$
-----
I then used vim to change the FLAGS in the configure file (not the most
elegant way, I know) and recompiled the source.
-----
:%s/-O2/-O0/g
-----
That did the trick and 1.6.5 works fine now; you may close this thread.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?14802>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs