This is my first post, sorry if it's off topic, in the wrong place, or too outdated to be answered.
But I'm having problems compiling older versions of Freeciv, on Linux (a distro based on Ubuntu Focal x64).
I am trying to compile some older versions which use the Xaw client.
Each version I have tried to compile needs a config.h file to build properly - before I even get past other, manual
patches and changes.
I managed to get a config.h generated from somewhere, while building version 1.14.2...
In order to build any later versions (R2_1_11 from svn, and a 2.2.0 tar.bz2 release) I have had to manually add the
config.h from 1.14.2, and to manually add/remove various variables to then get past onto the next errors (out of
scope/topic for this post).
So.. My question is simply this:
How do I generate the proper config.h that is needed for each version, so I don't have to copy one over from an
older Freeciv and hack it to death?
Here is (generally) how I am compiling them:
Code: Select all
./autogen.sh
export LDFLAGS="-lm -lz"
./configure --with-xaw --enable-client=xaw --debug=yes --disable-nls
make CFLAGS="-Wall" -j3
in the filesystem after it finishes.. And I do have a config.in in each version, from which I guess the config.h is
generated...
Thanks