Hi,
first of all a big thank you, Ultima VII is one of the best RPGs of all time and Exult is really great.
So, since there has been no release for a long time and therefore Ubuntu still uses 1.2, I downloaded the snapshot. But when starting autogen.sh, there are lots of errors and warnings, does anyone have a clue how to fix this?
And, can you tell me if there will be a new release any time soon?
Output:
~/temp/exult$ ./autogen.sh
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17: or see http://sources.redhat.com/automake/auto ... ng-aclocal
configure.ac:157: warning: macro `AM_DISABLE_SHARED' not found in library
configure.ac:159: warning: macro `AM_PROG_LIBTOOL' not found in library
configure.ac:306: warning: macro `AM_PATH_SDL' not found in library
./autogen.sh: 67: libtoolize: not found
configure.ac:19: installing `./config.guess'
configure.ac:19: installing `./config.sub'
configure.ac:22: installing `./install-sh'
configure.ac:22: installing `./missing'
audio/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
audio/Makefile.am:8: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
audio/Makefile.am:8: to `configure.ac' and run `aclocal' and `autoconf' again.
audio/Makefile.am:8: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
audio/Makefile.am:8: its definition is in aclocal's search path.
audio/Makefile.am: installing `./depcomp'
audio/midi_drivers/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
audio/midi_drivers/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
audio/midi_drivers/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again.
audio/midi_drivers/Makefile.am:5: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
audio/midi_drivers/Makefile.am:5: its definition is in aclocal's search path.
audio/midi_drivers/mt32emu/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
audio/midi_drivers/mt32emu/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
audio/midi_drivers/mt32emu/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
audio/midi_drivers/mt32emu/Makefile.am:3: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
audio/midi_drivers/mt32emu/Makefile.am:3: its definition is in aclocal's search path.
audio/midi_drivers/timidity/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
audio/midi_drivers/timidity/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
audio/midi_drivers/timidity/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
audio/midi_drivers/timidity/Makefile.am:3: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
audio/midi_drivers/timidity/Makefile.am:3: its definition is in aclocal's search path.
conf/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
conf/Makefile.am:8: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
conf/Makefile.am:8: to `configure.ac' and run `aclocal' and `autoconf' again.
conf/Makefile.am:8: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
conf/Makefile.am:8: its definition is in aclocal's search path.
files/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
files/Makefile.am:6: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
files/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
files/Makefile.am:6: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
files/Makefile.am:6: its definition is in aclocal's search path.
files/zip/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
files/zip/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
files/zip/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
files/zip/Makefile.am:4: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
files/zip/Makefile.am:4: its definition is in aclocal's search path.
flic/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
flic/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
flic/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again.
flic/Makefile.am:5: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
flic/Makefile.am:5: its definition is in aclocal's search path.
gamemgr/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
gamemgr/Makefile.am:6: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
gamemgr/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
gamemgr/Makefile.am:6: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
gamemgr/Makefile.am:6: its definition is in aclocal's search path.
gumps/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
gumps/Makefile.am:7: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
gumps/Makefile.am:7: to `configure.ac' and run `aclocal' and `autoconf' again.
gumps/Makefile.am:7: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
gumps/Makefile.am:7: its definition is in aclocal's search path.
imagewin/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
imagewin/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
imagewin/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
imagewin/Makefile.am:4: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
imagewin/Makefile.am:4: its definition is in aclocal's search path.
objs/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
objs/Makefile.am:7: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
objs/Makefile.am:7: to `configure.ac' and run `aclocal' and `autoconf' again.
objs/Makefile.am:7: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
objs/Makefile.am:7: its definition is in aclocal's search path.
pathfinder/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
pathfinder/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
pathfinder/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
pathfinder/Makefile.am:4: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
pathfinder/Makefile.am:4: its definition is in aclocal's search path.
server/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
server/Makefile.am:6: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
server/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
server/Makefile.am:6: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
server/Makefile.am:6: its definition is in aclocal's search path.
shapes/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
shapes/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
shapes/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again.
shapes/Makefile.am:5: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
shapes/Makefile.am:5: its definition is in aclocal's search path.
usecode/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
usecode/Makefile.am:9: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
usecode/Makefile.am:9: to `configure.ac' and run `aclocal' and `autoconf' again.
usecode/Makefile.am:9: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
usecode/Makefile.am:9: its definition is in aclocal's search path.
configure.ac: installing `./ylwrap'
configure.ac:157: error: possibly undefined macro: AM_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:159: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.ac:306: error: possibly undefined macro: AM_PATH_SDL
You are now ready to run ./configure
Compilation under Ubuntu
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Re: Compilation under Ubuntu
I think I figured it out (the error messges could be more helpful, though!). This did not remove all warnings, but compilation will finally succeed. Open a shell and enter:
sudo apt-get install libsdl1.2-dev libsdl-mixer1.2-dev libtool bison flex
then in the exult directory run
./autogen.sh
./configure
then open Makefile in any text editor and search for this line:
CXXFLAGS = -g -O2
replace it with
CXXFLAGS = -g -O2 -lX11
after that run
make
sudo make install
Now it should run fine.
sudo apt-get install libsdl1.2-dev libsdl-mixer1.2-dev libtool bison flex
then in the exult directory run
./autogen.sh
./configure
then open Makefile in any text editor and search for this line:
CXXFLAGS = -g -O2
replace it with
CXXFLAGS = -g -O2 -lX11
after that run
make
sudo make install
Now it should run fine.
Re: Compilation under Ubuntu
Before running ./configure, run
(replace "/usr/lib" with the path to libX11) and it should do the trick. In Ubuntu, you can also add AC_PATH_XTRA to configure.ac and then run ./autogen.sh (add it on its own line at line 67).
Code: Select all
$ export LIBS="-L/usr/lib -lX11"
------
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]
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]
Re: Compilation under Ubuntu
AC_PATH_XTRA was removed from configure.ac a few commits ago. My own fix was to add the following line at line 67:
SYSLIBS="-lX11"
My question is: does this break other distros if this line were committed? What's different about Ubuntu that it requires X11 to be specified but other distros don't?
SYSLIBS="-lX11"
My question is: does this break other distros if this line were committed? What's different about Ubuntu that it requires X11 to be specified but other distros don't?