Linux compile latest CVS

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
szabo
Merchant
Merchant
Posts: 48
Joined: Sun Feb 08, 2004 12:10 am
Contact:

Linux compile latest CVS

Post by szabo »

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:1441: 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:1270: checking Checking for C++ compiler.
configure:1319: checking for g++
configure:1335: found /usr/bin/g++
configure:1345: result: g++
configure:1460: checking for C++ compiler version
configure:1463: g++ --version </dev/null >&5
2.95.3
configure:1466: $? = 0
configure:1468: 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:1471: $? = 0
configure:1473: g++ -V </dev/null >&5
g++: argument to `-V' missing

configure:1476: $? = 1
configure:1502: checking for C++ compiler default output
configure:1505: g++ conftest.cc >&5
configure:1508: $? = 0
configure:1541: result: a.out
configure:1546: checking whether the C++ compiler works
configure:1552: ./a.out
configure:1555: $? = 0
configure:1570: result: yes
configure:1577: checking whether we are cross compiling
configure:1579: result: no
configure:1582: checking for suffix of executables
configure:1584: g++ -o conftest conftest.cc >&5
configure:1587: $? = 0
configure:1609: result:
configure:1615: checking for suffix of object files
configure:1639: g++ -c conftest.cc >&5
configure:1642: $? = 0
configure:1661: result: o
configure:1665: checking whether we are using the GNU C++ compiler
configure:1692: g++ -c conftest.cc >&5
configure:1695: $? = 0
configure:1698: test -s conftest.o
configure:1701: $? = 0
configure:1713: result: yes
configure:1719: checking whether g++ accepts -g
configure:1743: g++ -c -g conftest.cc >&5
configure:1746: $? = 0
configure:1749: test -s conftest.o
configure:1752: $? = 0
configure:1762: result: yes
configure:1808: g++ -c -g -O2 conftest.cc >&5
configure:1811: $? = 0
configure:1814: test -s conftest.o
configure:1817: $? = 0
configure:1845: g++ -c -g -O2 conftest.cc >&5
configure:1848: $? = 0
configure:1851: test -s conftest.o
configure:1854: $? = 0
configure:1881: checking how to run the C++ preprocessor
configure:1903: g++ -E conftest.cc
configure:1909: $? = 0
configure:1936: g++ -E conftest.cc
configure:1932: ac_nonexistent.h: No such file or directory
configure:1942: $? = 1
configure: failed program was:
#line 1931 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:1979: result: g++ -E
configure:1994: g++ -E conftest.cc
configure:2000: $? = 0
configure:2027: g++ -E conftest.cc
configure:2023: ac_nonexistent.h: No such file or directory
configure:2033: $? = 1
configure: failed program was:
#line 2022 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2118: checking for gcc
configure:2134: found /usr/bin/gcc
configure:2144: result: gcc
configure:2388: checking for C compiler version
configure:2391: gcc --version </dev/null >&5
2.95.3
configure:2394: $? = 0
configure:2396: 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:2399: $? = 0
configure:2401: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2404: $? = 1
configure:2407: checking whether we are using the GNU C compiler
configure:2434: gcc -c conftest.c >&5
configure:2437: $? = 0
configure:2440: test -s conftest.o
configure:2443: $? = 0
configure:2455: result: yes
configure:2461: checking whether gcc accepts -g
configure:2485: gcc -c -g conftest.c >&5
configure:2488: $? = 0
configure:2491: test -s conftest.o
configure:2494: $? = 0
configure:2504: result: yes
configure:2531: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before `me'
configure:2534: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2649: checking how to run the C preprocessor
configure:2675: gcc -E conftest.c
configure:2681: $? = 0
configure:2708: gcc -E conftest.c
configure:2704: ac_nonexistent.h: No such file or directory
configure:2714: $? = 1
configure: failed program was:
#line 2703 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2751: result: gcc -E
configure:2766: gcc -E conftest.c
configure:2772: $? = 0
configure:2799: gcc -E conftest.c
configure:2795: ac_nonexistent.h: No such file or directory
configure:2805: $? = 1
configure: failed program was:
#line 2794 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2845: Using compiler: g++.
configure:2879: checking build system type
configure:2897: result: i686-pc-linux-gnu
configure:2905: checking host system type
configure:2919: result: i686-pc-linux-gnu
configure:2927: checking target system type
configure:2941: 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
richard
Bounty Hunter
Bounty Hunter
Posts: 162
Joined: Mon Jan 26, 2004 9:29 am
Location: Melbourne, Australia
Contact:

Post by richard »

Try running "aclocal" before the autoconf command.
Gamer, Python programmer
richard
Bounty Hunter
Bounty Hunter
Posts: 162
Joined: Mon Jan 26, 2004 9:29 am
Location: Melbourne, Australia
Contact:

Post by richard »

I also needed to run "autoheader" as I don't have a config.h.in...

So I run:

Code: Select all

aclocal
autoheader
autoconf
automake -a
./configure [lots of args]
make
Gamer, Python programmer
Post Reply