Code: Select all
g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng12 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLO
CALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty -I../../3rdparty/quesoglc -I/usr/include/GL -I/usr/include/libdrm -DQT_SHARED -I/usr/include/QtCore -I
/usr/include/QtNetwork -I/usr/include/QtScript -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-ari
th -Wno-format-security -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -fstack-protector -MT screen.o -MD -MP -MF .deps/screen.Tp
o -c -o screen.o screen.cpp
screen.cpp: In function ‘void screen_EnableMissingFunctions()’:
screen.cpp:264: error: invalid conversion from ‘void (*)(GLhandleARB, GLsizei, const GLcharARB**, const GLint*)’ to ‘void (*)(GLuint, GLsizei, const GLchar* const*, const GLint*)’
make[2]: *** [screen.o] Error 1
make[2]: Leaving directory `/home/richard/warzone/warzone2100-3.1.2/lib/ivis_opengl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/richard/warzone/warzone2100-3.1.2'
make: *** [all] Error 2
I believe it may be related to this: http://lists.freedesktop.org/archives/m ... 60021.html
I then attempted to install the git version, and when running autogen.sh, got this error:
Code: Select all
[richard@localhost warzone-git]$ ./autogen.sh
+ checking for autoconf >= 2.56 ... found 2.63, ok.
+ checking for automake >= 1.11 ... found 1.11.1, ok.
+ running aclocal ...
+ running autoheader ...
+ running autoconf ...
configure:13100: error: possibly undefined macro: m4_ifnblank
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
version_check 1 "autoconf" "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 56 || DIE=1
to this:
version_check 1 "autoconf" "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 64 || DIE=1
When running configure, I got this error:
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config >= 0.9... found 0.23, ok
checking for backend... SDL
checking for QT5... no
configure: error: Qt 5 not found - required!
Thus ended my attempt to install warzone from git. None of my linux systems have QT5 installed, nor do I anticipate that happening any time in the near future. While I understand wanting to update the game to QT5, I would suggest that the QT4 code be retained to allow the game to be installed on older systems.
I have successfully installed older versions of warzone on other linux systems. I am going to attempt this next.
Thanks for listening,
richard