Compiling a snapshot: FAQ is incorrect

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Psychonaut
Posts: 4
Joined: Thu May 14, 2020 1:34 pm

Compiling a snapshot: FAQ is incorrect

Post 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]$
Psychonaut
Posts: 4
Joined: Thu May 14, 2020 1:34 pm

Re: Compiling a snapshot: FAQ is incorrect

Post 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).
marzo
Site Admin
Posts: 1925
Joined: Thu May 14, 2020 1:34 pm

Re: Compiling a snapshot: FAQ is incorrect

Post by marzo »

This information is on the "INSTALL" file.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Compiling a snapshot: FAQ is incorrect

Post 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.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked