Page 1 of 1

Compiling a snapshot: FAQ is incorrect

Posted: Fri Nov 24, 2006 6:48 am
by Psychonaut
Greetings.

I wish to compile a source snapshot of Exult for GNU/Linux but there are no instructions on how to do this. The FAQ at http://exult.info/faq.php#compile_snapshot states 'The source code snapshots contain a file called "README.OS" (like Readme.win32, Readme.MacOS) that explains everything.' However, this is incorrect; there is no README.Linux or anything similar in the tarball:

[psy@polecat:/tmp/exult]$ ls -1 R*
README
README.1ST
README.AmigaOS
README.axp
README.BeOS
README.MacOS
README.MacOSX
README.MorphOS
README.Qtopia
README.win32
[psy@polecat:/tmp/exult]$

I tried running autoconf to produce a configure script, but that doesn't work either:

[psy@polecat:/tmp/exult]$ autoconf
configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:29: error: possibly undefined macro: AM_CONFIG_HEADER
configure.ac:135: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:145: error: possibly undefined macro: AM_PROG_LEX
configure.ac:157: error: possibly undefined macro: AM_DISABLE_SHARED
configure.ac:159: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.ac:306: error: possibly undefined macro: AM_PATH_SDL
[psy@polecat:/tmp/exult]$ ./configure
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
[psy@polecat:/tmp/exult]$

Re: Compiling a snapshot: FAQ is incorrect

Posted: Fri Nov 24, 2006 6:55 am
by Psychonaut
I think I've figured it out. First you have to run ./autogen.sh, then you get a working ./configure. This information needs to go either in a README or in the FAQ (or both).

Re: Compiling a snapshot: FAQ is incorrect

Posted: Fri Nov 24, 2006 7:57 am
by marzo
This information is on the "INSTALL" file.

Re: Compiling a snapshot: FAQ is incorrect

Posted: Fri Nov 24, 2006 8:26 am
by Dominus
It is indeed incorrect in the FAQ. Mainly because the Linux compilation instructions are by default in the file "INSTALL" for most projects. I'll add this to the growing list of things to correct.