OpenAL and Torque on Linux
by John Lewis · in Torque Game Engine · 06/15/2004 (3:34 pm) · 1 replies
Hi,
I'm new to Torque (not new to Linux, though) and have been unable to compile it due to a problem with getting OpenAL compiled. The version checked out from the CVS from openal.org compiles fine but doesn't seem to have the headers needed by Torque. I also tried grabbing off the tarball which is locally hosted on garagegames from http://www.garagegames.com/downloads/openal-linux-3-29-02.tar.gz linked off from http://www.garagegames.com/docs/torque/general/ch02s04.php#setupengine.linux.compile.install_build.system_setup
Sadly, this version doesn't even compile since there is a problem with the configure script which autogen.sh (autoconf/autoheader) generates. I have followed the sequence of commands given in the README.garagegames file and here's the output I get:
$ cd linux/
$ sh autogen.sh
autoheader: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot'
autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of 'AC_DEFINE' and
autoheader: WARNING: 'AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: 'acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function 'main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
autoheader: warning: missing template: VORBIS_SUPPORT
autoheader: Use AC_DEFINE([VORBIS_SUPPORT ], [], [Description])
$ ./configure
./configure: line 9: syntax error near unexpected token ';;'
./configure: line 9: '' ECHO_T=' ' ;;'
$
autoheader has some complaints on vorbis support. I do have the libraries for vorbis installed:
$ rpm -qa|grep vorbis
libvorbis-1.0.1-2.1
libvorbis-devel-1.0.1-2.1
vorbis-tools-1.0.1-2
Please let me know if there is some way to get this version of OpenAL to compile on Linux in order to get Torque to compile. Or, if there is another version of OpenAL available for Linux anywhere else, which can work with Torque, I'd appreciate that information as well.
Thanks!
Nikhil.
I'm new to Torque (not new to Linux, though) and have been unable to compile it due to a problem with getting OpenAL compiled. The version checked out from the CVS from openal.org compiles fine but doesn't seem to have the headers needed by Torque. I also tried grabbing off the tarball which is locally hosted on garagegames from http://www.garagegames.com/downloads/openal-linux-3-29-02.tar.gz linked off from http://www.garagegames.com/docs/torque/general/ch02s04.php#setupengine.linux.compile.install_build.system_setup
Sadly, this version doesn't even compile since there is a problem with the configure script which autogen.sh (autoconf/autoheader) generates. I have followed the sequence of commands given in the README.garagegames file and here's the output I get:
$ cd linux/
$ sh autogen.sh
autoheader: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot'
autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of 'AC_DEFINE' and
autoheader: WARNING: 'AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: 'acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function 'main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
autoheader: warning: missing template: VORBIS_SUPPORT
autoheader: Use AC_DEFINE([VORBIS_SUPPORT ], [], [Description])
$ ./configure
./configure: line 9: syntax error near unexpected token ';;'
./configure: line 9: '' ECHO_T=' ' ;;'
$
autoheader has some complaints on vorbis support. I do have the libraries for vorbis installed:
$ rpm -qa|grep vorbis
libvorbis-1.0.1-2.1
libvorbis-devel-1.0.1-2.1
vorbis-tools-1.0.1-2
Please let me know if there is some way to get this version of OpenAL to compile on Linux in order to get Torque to compile. Or, if there is another version of OpenAL available for Linux anywhere else, which can work with Torque, I'd appreciate that information as well.
Thanks!
Nikhil.
About the author
Torque Owner John Lewis
Nikhil.