Configuring with OpenAL. Syntax error during ./configure.

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
deFINE
Star Pilot
Star Pilot
Posts: 4
Joined: Fri Jul 13, 2007 7:08 am

Configuring with OpenAL. Syntax error during ./configure.

Post by deFINE »

Hello. I haven't found problem like mine.

I use Gentoo, amd64, Alsa for sound, GeForce 6600 with nVidia drivers.

So, whether I try to install 0.4.2 or 0.4.3 I have the same probleme during configuring the vegastrike:

Code: Select all

checking for AL/alext.h... yes
Configuring with OpenAL support!
./configure: line 13101: syntax error near unexpected token `else'
./configure: line 13101: `    else'
Error running ./configure
And full log:

Code: Select all

define@deFINE ~/Games $ sh linux_vegastrike-0.4.3.sh
Welcome to Vega Strike Setup for CVS Version vegastrike_0_4_3
cvs checkout: Updating vegastrike/boost/1_31/boost/mpl/vector/aux_/preprocessed/typeof_cvs checkout: Updating vegastrike/boost/1_33/boost/iostreams/detail/broken_overload_rescvs checkout: Updating vegastrike/boost/1_33/boost/mpl/map/aux_/preprocessed/typeof_bascvs checkout: Updating vegastrike/boost/1_33/boost/mpl/vector/aux_/preprocessed/typeof_cvs checkout: Updating vegastrike/boost/1_33/boost/spirit/fusion/iterator/detail/cons_icvs checkout: Updating vegastrike/boost/1_33/boost/spirit/fusion/iterator/detail/filtercvs checkout: Updating vegastrike/boost/1_33/boost/spirit/fusion/iterator/detail/joint_cvs checkout: Updating vegastrike/boost/1_33/boost/spirit/fusion/iterator/detail/singlecvs checkout: Updating vegastrike/boost/1_33/boost/spirit/fusion/iterator/detail/transfcvs checkout: Updating vegastrike/boost/1_33/boost/spirit/fusion/iterator/detail/tuple_cvs checkout: Updating vegastrike/boost/1_33/boost/spirit/fusion/iterator/detail/type_scvs checkout: Updating music
  Downloading data Done
  Creating installer...
  Creating installer Done
  Configuring vegastrike...
src/Makefile.am:4: required directory src/boost does not exist
src/Makefile.am:4: required directory src/boost129 does not exist
configure.in:1646: required file `src/boost/Makefile.in' not found
configure.in:1646: required file `src/boost129/Makefile.in' not found
configure.in:1646: required file `src/boost129/converter/Makefile.in' not found
configure.in:1646: required file `src/boost129/object/Makefile.in' not found
src/Makefile.am:4: required directory src/boost does not exist
src/Makefile.am:4: required directory src/boost129 does not exist
configure.in:1646: required file `src/boost/Makefile.in' not found
configure.in:1646: required file `src/boost129/Makefile.in' not found
configure.in:1646: required file `src/boost129/converter/Makefile.in' not found
configure.in:1646: required file `src/boost129/object/Makefile.in' not found
checking Checking for C++ compiler.... checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
configure: Using compiler: g++.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking linux/slab.h usability... no
checking linux/slab.h presence... no
checking for linux/slab.h... no
checking linux/malloc.h usability... no
checking linux/malloc.h presence... no
checking for linux/malloc.h... no
checking for vfscanf... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether closedir returns void... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for access... yes
checking for atexit... yes
checking for bzero... yes
checking for clock_gettime... no
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for lstat... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for select... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for finite... yes
checking for _finite... no
checking for isnan... yes
checking for _isnan... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
Enabling user-specified flags:
checking for Win32 platform... no
checking for CygWin platform... no
checking for Mingw32 platform... no
checking for Linux platform... yes
checking for FreeBSD platform... no
checking for MacOSX platform... no
checking for python... python Python 2.4.4
/usr/lib/libpython2.4.so yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.1... yes
checking for SDL_JoystickOpen... yes
Using SDL Windowing System
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no
checking for glut library... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking for expat library... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for png library... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg library... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for openal library... yes
checking for AL/al.h... yes
checking for al.h... yes
checking AL/alext.h usability... yes
checking AL/alext.h presence... yes
checking for AL/alext.h... yes
Configuring with OpenAL support!
./configure: line 13101: syntax error near unexpected token `else'
./configure: line 13101: `    else'
Error running ./configure
I've got media-libs/openal installed:

Code: Select all

media-libs/openal-0.0.8-r1  USE="alsa arts esd mp3 sdl vorbis -debug"
What can be done?
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Firstly deFINE welcome why bother with the older versions if you are pulling the source from SVN the latest commits are fairly stable it's he data side that is flux :wink: and that is a new configure errors and that script scares me a bit so lets have some more eyes on this one.also the error line in my version has nothing to do with OpenAL but expat.h in my version of the script :?

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
deFINE
Star Pilot
Star Pilot
Posts: 4
Joined: Fri Jul 13, 2007 7:08 am

Post by deFINE »

Thanks for your answer. But I haven't understand your advice...
I've tried all of the installation scripts for linux, witch are on this page. And results are always the same.
Jeff2121
Hunter
Hunter
Posts: 75
Joined: Sat Jul 07, 2007 4:24 pm

Post by Jeff2121 »

Welcome, but, have you tried updating your drivers for your card?

Might be worth a try :wink:
My Dream Machine (Soon to Be):

Kingston 4GB DDR2 RAM
Intel Core 2 Duo E8600 Quad Core
Nvidia Geforce 8800GTX
320GB SATA HDD (Raid 0)
SoundBlaster X-Fi Fatal1ty
deFINE
Star Pilot
Star Pilot
Posts: 4
Joined: Fri Jul 13, 2007 7:08 am

Post by deFINE »

Jeff2121 wrote:Welcome, but, have you tried updating your drivers for your card?

Might be worth a try :wink:
I've got the latest alsa 1.0.14_rc3 and nVidia 1.0.9755-r1
drivers from gentoo portages.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Part of your problem if you downloaded the download and compile scripts is that they use the cvs repository which is not maintained ATM all our files are now on SVN check the wiki here http://vegastrike.sourceforge.net/wiki/ ... eckout_SVN there are a few GUI front ends for subversion i use kdesvn myself.what where the errors that the loki installer throw.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
deFINE
Star Pilot
Star Pilot
Posts: 4
Joined: Fri Jul 13, 2007 7:08 am

Post by deFINE »

Thanks, I've compiled it from SVN.

But I can't get how I should run it.
In my data4.x/ dir I've got a .vegastrike/ directory, it's not a binary file, so I can't run it, as it's said in SVN howto...
Halleck
Elite
Elite
Posts: 1832
Joined: Sat Jan 15, 2005 10:21 pm
Location: State of Denial
Contact:

Post by Halleck »

The binary should be in your vegastrike source dir. The easy way to run it is to just make a symlink in data4.x pointing to the binary. Then just cd to data4.x and run the binary through the symlink.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

go into your vegastrike directory (this contains all the configure-related files)

The problem is that some version of autoconf or automake is not generating the correct instructions in the ./configure script

I'm curious... if you open up your "configure" script in a text editor with line numbers...
Then go to line 13101 (somewhere in the middle probably)
Then, paste the 20 or so lines around that line number.
I'm wondering what caused that syntax error.

I would suggest trying a different version of automake. If you run

Code: Select all

ls /usr/bin/automake-*
it should list all the versions of automake you have.

Then, from the vegastrike run

Code: Select all

export ACLOCAL=aclocal-X.X
export AUTOMAKE=automake-X.X
./bootstrap-sh
./configure
# if configure runs without an error:
make
If you have multiple versions installed, keep trying with different versions. I would be interested in which versions cause the error to happen.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

@ace123 those errors where thrown by the download/configure script for version 0.4.2 he tried that after the loki installer craped om him the configure script has changed much since then :wink: He did get the latest svn to compile so he must have the dep's installed.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Post Reply