Waiting for my main machine to get fixed, I dusted off my Linux server that's been running headless for a while now and I'm trying to get VegaStrike compiled on it. It runs Slackware 8.1 with various fixes since installed.
I checked out via anonymous CVS the latest files. Then:
autoconf gives error:
configure.in:28: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.in:29: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:486: error: possibly undefined macro: AM_PATH_SDL
configure.in error: possibly undefined macro: AM_CONDITIONAL
automake -a --add-missing:
/usr/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL
(these lines are repeated about 20 times)
./configure --enable-boost-128:
(..)
./configure: line 2957: syntax error near unexpected token `AM_CONFIG_HEADER('
./configure: line 2957: `AM_CONFIG_HEADER(config.h)'
Here is the full config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by vegastrike configure 0.4.0, which was
generated by GNU Autoconf 2.53. Invocation command line was
$ ./configure --enable-boost-128
## --------- ##
## Platform. ##
## --------- ##
hostname = nr7
uname -m = i686
uname -r = 2.4.19
uname -s = Linux
uname -v = #2 Thu Jan 9 15:11:55 EST 2003
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/www/htdig/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt-3.0.4/bin
PATH: /usr/share/texmf/bin
PATH: .
## ----------- ##
## Core tests. ##
## ----------- ##
configure checking Checking for C++ compiler.
configure checking for g++
configure found /usr/bin/g++
configure result: g++
configure checking for C++ compiler version
configure g++ --version </dev/null >&5
2.95.3
configure $? = 0
configure g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
configure $? = 0
configure g++ -V </dev/null >&5
g++: argument to `-V' missing
configure $? = 1
configure checking for C++ compiler default output
configure g++ conftest.cc >&5
configure $? = 0
configure result: a.out
configure checking whether the C++ compiler works
configure ./a.out
configure $? = 0
configure result: yes
configure checking whether we are cross compiling
configure result: no
configure checking for suffix of executables
configure g++ -o conftest conftest.cc >&5
configure $? = 0
configure result:
configure checking for suffix of object files
configure g++ -c conftest.cc >&5
configure $? = 0
configure result: o
configure checking whether we are using the GNU C++ compiler
configure g++ -c conftest.cc >&5
configure $? = 0
configure test -s conftest.o
configure $? = 0
configure result: yes
configure checking whether g++ accepts -g
configure g++ -c -g conftest.cc >&5
configure $? = 0
configure test -s conftest.o
configure $? = 0
configure result: yes
configure g++ -c -g -O2 conftest.cc >&5
configure $? = 0
configure test -s conftest.o
configure $? = 0
configure g++ -c -g -O2 conftest.cc >&5
configure $? = 0
configure test -s conftest.o
configure $? = 0
configure checking how to run the C++ preprocessor
configure g++ -E conftest.cc
configure $? = 0
configure g++ -E conftest.cc
configure ac_nonexistent.h: No such file or directory
configure $? = 1
configure: failed program was:
#line 1931 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure result: g++ -E
configure g++ -E conftest.cc
configure $? = 0
configure g++ -E conftest.cc
configure ac_nonexistent.h: No such file or directory
configure $? = 1
configure: failed program was:
#line 2022 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure checking for gcc
configure found /usr/bin/gcc
configure result: gcc
configure checking for C compiler version
configure gcc --version </dev/null >&5
2.95.3
configure $? = 0
configure gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
configure $? = 0
configure gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure $? = 1
configure checking whether we are using the GNU C compiler
configure gcc -c conftest.c >&5
configure $? = 0
configure test -s conftest.o
configure $? = 0
configure result: yes
configure checking whether gcc accepts -g
configure gcc -c -g conftest.c >&5
configure $? = 0
configure test -s conftest.o
configure $? = 0
configure result: yes
configure gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before `me'
configure $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure checking how to run the C preprocessor
configure gcc -E conftest.c
configure $? = 0
configure gcc -E conftest.c
configure ac_nonexistent.h: No such file or directory
configure $? = 1
configure: failed program was:
#line 2703 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure result: gcc -E
configure gcc -E conftest.c
configure $? = 0
configure gcc -E conftest.c
configure ac_nonexistent.h: No such file or directory
configure $? = 1
configure: failed program was:
#line 2794 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure Using compiler: g++.
configure checking build system type
configure result: i686-pc-linux-gnu
configure checking host system type
configure result: i686-pc-linux-gnu
configure checking target system type
configure result: i686-pc-linux-gnu
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "vegastrike"
#define PACKAGE_TARNAME "vegastrike"
#define PACKAGE_VERSION "0.4.0"
#define PACKAGE_STRING "vegastrike 0.4.0"
#define PACKAGE_BUGREPORT ""
configure: exit 258
Linux compile latest CVS
-
- Merchant
- Posts: 48
- Joined: Sun Feb 08, 2004 12:10 am
- Contact:
-
- Bounty Hunter
- Posts: 162
- Joined: Mon Jan 26, 2004 9:29 am
- Location: Melbourne, Australia
- Contact:
-
- Bounty Hunter
- Posts: 162
- Joined: Mon Jan 26, 2004 9:29 am
- Location: Melbourne, Australia
- Contact:
I also needed to run "autoheader" as I don't have a config.h.in...
So I run:
So I run:
Code: Select all
aclocal
autoheader
autoconf
automake -a
./configure [lots of args]
make
Gamer, Python programmer