bootstrap.sh failes with "An error occurred while runni

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
Darsmol
Star Pilot
Star Pilot
Posts: 6
Joined: Sat Mar 03, 2007 5:28 am

bootstrap.sh failes with "An error occurred while runni

Post by Darsmol »

I downloaded from svn because the provided install file doesn't work on my amd64 (x86_64).

I followed this guide: http://vegastrike.sourceforge.net/wiki/ ... nt_version

aclocal/automake used are version 1.5, autoconf/autoheaders are version 2.61.

Code: Select all

$ sh ./bootstrap-sh 
VegaStrike Configuration Preparation Tool
  Maintained by Brian A. Lloyd
  (balloyd1@users.sourceforge.net)
Please send bug reports or comments about this script
to the email above or else visit
vegastrike.sourceforge.net for help in using this script

The recommended way to change the behaviour of this script
is to modify the path so that the version of automake or
autoconf you want to use is found first.
Alternately, you can explicitly specify the program to be
used for each in the following variables.
$ACLOCAL, $AUTOMAKE, $AUTOCONF, $AUTOHEADER
For proper functionality, both aclocal and automake must be the
same version, and autoconf and autoheader should be the same version.

Running aclocal
Running autoheader
configure.ac:55: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
../../lib/autoconf/general.m4:198: AC_FOREACH is expanded from...
aclocal.m4:960: AM_CONFIG_HEADER is expanded from...
configure.ac:55: the top level
configure.ac:756: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:973: _AM_DIRNAME is expanded from...
../../lib/autoconf/status.m4:1497: _AC_OUTPUT_MAIN_LOOP is expanded from...
configure.ac:756: the top level
Running autoconf
configure.ac:55: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
../../lib/autoconf/general.m4:198: AC_FOREACH is expanded from...
aclocal.m4:960: AM_CONFIG_HEADER is expanded from...
configure.ac:55: the top level
configure.ac:756: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:973: _AM_DIRNAME is expanded from...
../../lib/autoconf/status.m4:1497: _AC_OUTPUT_MAIN_LOOP is expanded from...
configure.ac:756: the top level
Running automake
automake-1.5: configure.ac: `AM_INIT_AUTOMAKE' must be used
automake-1.5: Makefile.am: object `list.$(OBJEXT)' created by `boost/1_31/src/list.cpp' and `boost/1_33/src/list.cpp'
automake-1.5: Makefile.am: object `module.$(OBJEXT)' created by `boost/1_31/src/module.cpp' and `boost/1_33/src/module.cpp'
automake-1.5: Makefile.am: object `aix_init_module.$(OBJEXT)' created by `boost/1_31/src/aix_init_module.cpp' and `boost/1_33/src/aix_init_module.cpp'
automake-1.5: Makefile.am: object `object_protocol.$(OBJEXT)' created by `boost/1_31/src/object_protocol.cpp' and `boost/1_33/src/object_protocol.cpp'
automake-1.5: Makefile.am: object `dict.$(OBJEXT)' created by `boost/1_31/src/dict.cpp' and `boost/1_33/src/dict.cpp'
automake-1.5: Makefile.am: object `numeric.$(OBJEXT)' created by `boost/1_31/src/numeric.cpp' and `boost/1_33/src/numeric.cpp'
automake-1.5: Makefile.am: object `errors.$(OBJEXT)' created by `boost/1_31/src/errors.cpp' and `boost/1_33/src/errors.cpp'
automake-1.5: Makefile.am: object `str.$(OBJEXT)' created by `boost/1_31/src/str.cpp' and `boost/1_33/src/str.cpp'
automake-1.5: Makefile.am: object `object_operators.$(OBJEXT)' created by `boost/1_31/src/object_operators.cpp' and `boost/1_33/src/object_operators.cpp'
automake-1.5: Makefile.am: object `long.$(OBJEXT)' created by `boost/1_31/src/long.cpp' and `boost/1_33/src/long.cpp'
automake-1.5: Makefile.am: object `pickle_support.$(OBJEXT)' created by `boost/1_31/src/object/pickle_support.cpp' and `boost/1_33/src/object/pickle_support.cpp'
automake-1.5: Makefile.am: object `life_support.$(OBJEXT)' created by `boost/1_31/src/object/life_support.cpp' and `boost/1_33/src/object/life_support.cpp'
automake-1.5: Makefile.am: object `inheritance.$(OBJEXT)' created by `boost/1_31/src/object/inheritance.cpp' and `boost/1_33/src/object/inheritance.cpp'
automake-1.5: Makefile.am: object `class.$(OBJEXT)' created by `boost/1_31/src/object/class.cpp' and `boost/1_33/src/object/class.cpp'
automake-1.5: Makefile.am: object `enum.$(OBJEXT)' created by `boost/1_31/src/object/enum.cpp' and `boost/1_33/src/object/enum.cpp'
automake-1.5: Makefile.am: object `function.$(OBJEXT)' created by `boost/1_31/src/object/function.cpp' and `boost/1_33/src/object/function.cpp'
automake-1.5: Makefile.am: object `iterator.$(OBJEXT)' created by `boost/1_31/src/object/iterator.cpp' and `boost/1_33/src/object/iterator.cpp'
automake-1.5: Makefile.am: object `from_python.$(OBJEXT)' created by `boost/1_31/src/converter/from_python.cpp' and `boost/1_33/src/converter/from_python.cpp'
automake-1.5: Makefile.am: object `registry.$(OBJEXT)' created by `boost/1_31/src/converter/registry.cpp' and `boost/1_33/src/converter/registry.cpp'
automake-1.5: Makefile.am: object `arg_to_python_base.$(OBJEXT)' created by `boost/1_31/src/converter/arg_to_python_base.cpp' and `boost/1_33/src/converter/arg_to_python_base.cpp'
automake-1.5: Makefile.am: object `builtin_converters.$(OBJEXT)' created by `boost/1_31/src/converter/builtin_converters.cpp' and `boost/1_33/src/converter/builtin_converters.cpp'
automake-1.5: Makefile.am: object `type_id.$(OBJEXT)' created by `boost/1_31/src/converter/type_id.cpp' and `boost/1_33/src/converter/type_id.cpp'
automake-1.5: Makefile.am: object `tuple.$(OBJEXT)' created by `boost/1_31/src/tuple.cpp' and `boost/1_33/src/tuple.cpp'
automake-1.5: Makefile.am: object `module.$(OBJEXT)' created by `boost/1_28/src/module.cpp' and `boost/1_33/src/module.cpp'
automake-1.5: Makefile.am: object `errors.$(OBJEXT)' created by `boost/1_28/src/errors.cpp' and `boost/1_33/src/errors.cpp'
automake-1.5: Makefile.am: object `life_support.$(OBJEXT)' created by `boost/1_28/src/object/life_support.cpp' and `boost/1_33/src/object/life_support.cpp'
automake-1.5: Makefile.am: object `function.$(OBJEXT)' created by `boost/1_28/src/object/function.cpp' and `boost/1_33/src/object/function.cpp'
automake-1.5: Makefile.am: object `list.$(OBJEXT)' created by `boost/1_31/src/list.cpp' and `boost/1_33/src/list.cpp'
automake-1.5: Makefile.am: object `module.$(OBJEXT)' created by `boost/1_31/src/module.cpp' and `boost/1_33/src/module.cpp'
automake-1.5: Makefile.am: object `aix_init_module.$(OBJEXT)' created by `boost/1_31/src/aix_init_module.cpp' and `boost/1_33/src/aix_init_module.cpp'
automake-1.5: Makefile.am: object `object_protocol.$(OBJEXT)' created by `boost/1_31/src/object_protocol.cpp' and `boost/1_33/src/object_protocol.cpp'
automake-1.5: Makefile.am: object `dict.$(OBJEXT)' created by `boost/1_31/src/dict.cpp' and `boost/1_33/src/dict.cpp'
automake-1.5: Makefile.am: object `numeric.$(OBJEXT)' created by `boost/1_31/src/numeric.cpp' and `boost/1_33/src/numeric.cpp'
automake-1.5: Makefile.am: object `errors.$(OBJEXT)' created by `boost/1_31/src/errors.cpp' and `boost/1_33/src/errors.cpp'
automake-1.5: Makefile.am: object `str.$(OBJEXT)' created by `boost/1_31/src/str.cpp' and `boost/1_33/src/str.cpp'
automake-1.5: Makefile.am: object `object_operators.$(OBJEXT)' created by `boost/1_31/src/object_operators.cpp' and `boost/1_33/src/object_operators.cpp'
automake-1.5: Makefile.am: object `long.$(OBJEXT)' created by `boost/1_31/src/long.cpp' and `boost/1_33/src/long.cpp'
automake-1.5: Makefile.am: object `pickle_support.$(OBJEXT)' created by `boost/1_31/src/object/pickle_support.cpp' and `boost/1_33/src/object/pickle_support.cpp'
automake-1.5: Makefile.am: object `life_support.$(OBJEXT)' created by `boost/1_31/src/object/life_support.cpp' and `boost/1_33/src/object/life_support.cpp'
automake-1.5: Makefile.am: object `inheritance.$(OBJEXT)' created by `boost/1_31/src/object/inheritance.cpp' and `boost/1_33/src/object/inheritance.cpp'
automake-1.5: Makefile.am: object `class.$(OBJEXT)' created by `boost/1_31/src/object/class.cpp' and `boost/1_33/src/object/class.cpp'
automake-1.5: Makefile.am: object `enum.$(OBJEXT)' created by `boost/1_31/src/object/enum.cpp' and `boost/1_33/src/object/enum.cpp'
automake-1.5: Makefile.am: object `function.$(OBJEXT)' created by `boost/1_31/src/object/function.cpp' and `boost/1_33/src/object/function.cpp'
automake-1.5: Makefile.am: object `iterator.$(OBJEXT)' created by `boost/1_31/src/object/iterator.cpp' and `boost/1_33/src/object/iterator.cpp'
automake-1.5: Makefile.am: object `from_python.$(OBJEXT)' created by `boost/1_31/src/converter/from_python.cpp' and `boost/1_33/src/converter/from_python.cpp'
automake-1.5: Makefile.am: object `registry.$(OBJEXT)' created by `boost/1_31/src/converter/registry.cpp' and `boost/1_33/src/converter/registry.cpp'
automake-1.5: Makefile.am: object `arg_to_python_base.$(OBJEXT)' created by `boost/1_31/src/converter/arg_to_python_base.cpp' and `boost/1_33/src/converter/arg_to_python_base.cpp'
automake-1.5: Makefile.am: object `builtin_converters.$(OBJEXT)' created by `boost/1_31/src/converter/builtin_converters.cpp' and `boost/1_33/src/converter/builtin_converters.cpp'
automake-1.5: Makefile.am: object `type_id.$(OBJEXT)' created by `boost/1_31/src/converter/type_id.cpp' and `boost/1_33/src/converter/type_id.cpp'
automake-1.5: Makefile.am: object `tuple.$(OBJEXT)' created by `boost/1_31/src/tuple.cpp' and `boost/1_33/src/tuple.cpp'
An error occurred while running the autotools.  Please correct.
Oh, and boost 1.33.1 is installed.
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 »

Automake shouldn't give errors like that. However, they break so much stuff after each release, and I know that 1.4 is definitely out of the question. 1.5 is pretty close to 1.4, and I've never tried it.

Anyway, you can set the ACLOCAL and AUTOMAKE environment variables to point to the latest version of automake (try anything after 1.5. I have used 1.7, 1.9 and 1.10 successfully)

To get a list of automake binaries, do

Code: Select all

ls -l /usr/bin/automake-*
aclocal comes with automake, so use the same aclocal version as you use automake.

Then, run bootstrap line like this:

Code: Select all

ACLOCAL=aclocal-1.6 AUTOMAKE=automake-1.6 ./bootstrap.sh
Darsmol
Star Pilot
Star Pilot
Posts: 6
Joined: Sat Mar 03, 2007 5:28 am

Post by Darsmol »

Thanks for your advice:
'ACLOCAL=aclocal-1.9 AUTOMAKE=automake-1.9 sh ./bootstrap-sh' works, though i have 1.10 installed, which is not recognized when i set it.

Anyway, now sh configure fails.

Code: Select all

 $ sh ./configure --with-png-inc='/usr/include/libpng12' --with-data-dir='../data4.x/' --enable-debug
checking for gawk... gawk
checking whether ln -s works... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
--with-png-inc='usr/include/libpng12' points to the png.h and pngconf.h
--with-data-dir='./data4x/' is relative to my vegastrike-dir

and now the config.log:

Code: Select all

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.4, which was
generated by GNU Autoconf 2.61.  Invocation command line was
 
  $ ./configure 
 
## --------- ##
## Platform. ##
## --------- ##
 
hostname = rohanda
uname -m = x86_64
uname -r = 2.6.19-gentoo-r5
uname -s = Linux
uname -v = #4 SMP Sat Feb 24 20:05:12 CET 2007
 
/usr/bin/uname -p = AMD Athlon(tm) 64 Processor 2800+
/bin/uname -X     = unknown
 
/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
 
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6
PATH: /opt/ati/bin
PATH: /opt/ati/sbin
PATH: /opt/blackdown-jdk-1.4.2.03/bin
PATH: /opt/blackdown-jdk-1.4.2.03/jre/bin
PATH: /usr/kde/3.5/sbin
PATH: /usr/kde/3.5/bin
PATH: /usr/qt/3/bin
 
 
## ----------- ##
## Core tests. ##
## ----------- ##
 
configure:1922: checking for gawk
configure:1938: found /bin/gawk
configure:1949: result: gawk
configure:1960: checking whether ln -s works
configure:1964: result: yes
configure:2029: checking for g++
configure:2045: found /usr/bin/g++
configure:2056: result: g++
configure:2087: checking for C++ compiler version
configure:2094: g++ --version >&5
g++ (GCC) 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
configure:2097: $? = 0
configure:2104: g++ -v >&5
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10)
configure:2107: $? = 0
configure:2114: g++ -V >&5
g++: `-V' option must have argument
configure:2117: $? = 1
configure:2140: checking for C++ compiler default output file name
configure:2167: g++    conftest.cpp  >&5
configure:2170: $? = 0
configure:2208: result: a.out
configure:2225: checking whether the C++ compiler works
configure:2235: ./a.out
./configure: line 2236: ./a.out: Permission denied
configure:2238: $? = 126
configure:2247: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
 
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CEGUI_CFLAGS_set=
ac_cv_env_CEGUI_CFLAGS_value=
ac_cv_env_CEGUI_LIBS_set=
ac_cv_env_CEGUI_LIBS_value=
ac_cv_env_CEGUI_OGRE_CFLAGS_set=
ac_cv_env_CEGUI_OGRE_CFLAGS_value=
ac_cv_env_CEGUI_OGRE_LIBS_set=
ac_cv_env_CEGUI_OGRE_LIBS_value=
ac_cv_env_CEGUI_OPENGL_CFLAGS_set=
ac_cv_env_CEGUI_OPENGL_CFLAGS_value=
ac_cv_env_CEGUI_OPENGL_LIBS_set=
ac_cv_env_CEGUI_OPENGL_LIBS_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_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OGRE_CFLAGS_set=
ac_cv_env_OGRE_CFLAGS_value=
ac_cv_env_OGRE_LIBS_set=
ac_cv_env_OGRE_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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_prog_AWK=gawk
ac_cv_prog_ac_ct_CXX=g++
 
## ----------------- ##
## Output variables. ##
## ----------------- ##
 
ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK='gawk'
BOOST1_28_FALSE=''
BOOST1_28_TRUE=''
BOOST1_31_FALSE=''
BOOST1_31_TRUE=''
BOOST1_33_FALSE=''
BOOST1_33_TRUE=''
BOOST_CPPFLAGS=''
CC=''
CCDEPMODE=''
CEGUI_CFLAGS=''
CEGUI_LIBS=''
CEGUI_OGRE_CFLAGS=''
CEGUI_OGRE_LIBS=''
CEGUI_OPENGL_CFLAGS=''
CEGUI_OPENGL_LIBS=''
CFLAGS=''
CG_CPPFLAGS=''
CG_LIBS=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_LIBS=''
HAVE_CEGUI_FALSE=''
HAVE_CEGUI_OGRE_FALSE=''
HAVE_CEGUI_OGRE_TRUE=''
HAVE_CEGUI_OPENGL_FALSE=''
HAVE_CEGUI_OPENGL_TRUE=''
HAVE_CEGUI_TRUE=''
HAVE_OGRE_FALSE=''
HAVE_OGRE_TRUE=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LINUX_FALSE=''
LINUX_TRUE=''
LN_S='ln -s'
LTLIBOBJS=''
MACOSX_FALSE=''
MACOSX_TRUE=''
MAKEINFO=''
NETCOMM_FALSE=''
NETCOMM_JVOIP_FALSE=''
NETCOMM_JVOIP_TRUE=''
NETCOMM_NOSOUND_FALSE=''
NETCOMM_NOSOUND_TRUE=''
NETCOMM_NOWEBCAM_FALSE=''
NETCOMM_NOWEBCAM_TRUE=''
NETCOMM_PORTAUDIO_FALSE=''
NETCOMM_PORTAUDIO_TRUE=''
NETCOMM_TRUE=''
OBJEXT=''
OGRE_CFLAGS=''
OGRE_LIBS=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='vegastrike'
PACKAGE_STRING='vegastrike 0.4.4'
PACKAGE_TARNAME='vegastrike'
PACKAGE_VERSION='0.4.4'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POW_LIB=''
PYTHON_CPPFLAGS=''
PYTHON_LIBS=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SDL_MIXER_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION=''
VS_CPPFLAGS=''
VS_CXXFLAGS=''
VS_LIBS=''
VS_MAKE_GTKUTILS_FALSE=''
VS_MAKE_GTKUTILS_TRUE=''
VS_MAKE_NO_CLIENT_FALSE=''
VS_MAKE_NO_CLIENT_TRUE=''
VS_MAKE_SOUNDSERVER_FALSE=''
VS_MAKE_SOUNDSERVER_TRUE=''
WIN32_FALSE=''
WIN32_TRUE=''
ac_ct_CC=''
ac_ct_CXX='g++'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
 
## ----------- ##
## confdefs.h. ##
## ----------- ##
 
#define PACKAGE_NAME "vegastrike"
#define PACKAGE_TARNAME "vegastrike"
#define PACKAGE_VERSION "0.4.4"
#define PACKAGE_STRING "vegastrike 0.4.4"
#define PACKAGE_BUGREPORT ""
 
configure: exit 1
and the corresponding section from the configure-script:

Code: Select all

eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
        cross_compiling=yes
    else
        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
echo "$as_me: error: cannot run C++ compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi
_julio_
Insys Pilot
Insys Pilot
Posts: 2
Joined: Sat Mar 10, 2007 5:55 am
Location: Spain

blaming automake1.10

Post by _julio_ »

I stumped with this problem last night and after some investigation I realized that automake1.10 does not identify itself correctly, so bootstrap won't run

I suggest every newcomer to use automake1.9, as this version does not exhibit this aberrant behavior.

Hopefully this saves more than one headache

And thank you guys for bringing this awesome game!!!
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

@_julio_ that aberrant behavior may be distro specific ie maybe someone packaged it wrong.

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
_julio_
Insys Pilot
Insys Pilot
Posts: 2
Joined: Sat Mar 10, 2007 5:55 am
Location: Spain

You´re right

Post by _julio_ »

Yup, it is the .deb for automake1.10 from sid that is responsible. I tried with other distro in my spare partition and runs smoothly.

I can forgive the debian guys for such a sin... :P
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

It is Sid after all :shock:

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
Darsmol
Star Pilot
Star Pilot
Posts: 6
Joined: Sat Mar 03, 2007 5:28 am

Post by Darsmol »

i'm afraid that doesn't solve my problem at all :?
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 »

With regards to that error:

Code: Select all

./configure: line 2236: ./a.out: Permission denied
That means that your binaries you compile are not being given the "executable" file bit.

The fact that you are running everything with "sh ./configure" and "sh ./bootstrap-sh" is making me think that your filesystem is not making files executable that should be (which configure needs in order to run).

Is it at all possible that your filesystem is mounted with the "noexec" option? If you aren't sure, look at the "/etc/fstab" file or run "mount" to display mounted filesystems.

Would it be possible to try building vegastrike from /tmp? Or from some subdirectory of the root filesystem?
peter
Bounty Hunter
Bounty Hunter
Posts: 165
Joined: Sun Feb 11, 2007 3:40 am
Location: Halifax, NS, Canada

Post by peter »

ace123 wrote:Would it be possible to try building vegastrike from /tmp? Or from some subdirectory of the root filesystem?
Or just make sure you can run ./configure, not sh ./configure.
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BC
Darsmol
Star Pilot
Star Pilot
Posts: 6
Joined: Sat Mar 03, 2007 5:28 am

Post by Darsmol »

this seems to have been the solution, to move the whole directory to my root-partition.
still i do not understand why.

this is the corresponding line i have in my fstab

Code: Select all

/dev/sda8                       /home/tomboy/dev        reiserfs        user            0 0
while this is the line for my root-partition

Code: Select all

/dev/sda6                       /                       reiserfs        noatime                 0 0
peter
Bounty Hunter
Bounty Hunter
Posts: 165
Joined: Sun Feb 11, 2007 3:40 am
Location: Halifax, NS, Canada

Post by peter »

Darsmol wrote:this seems to have been the solution, to move the whole directory to my root-partition.
still i do not understand why.

this is the corresponding line i have in my fstab

Code: Select all

/dev/sda8                       /home/tomboy/dev        reiserfs        user            0 0
while this is the line for my root-partition

Code: Select all

/dev/sda6                       /                       reiserfs        noatime                 0 0
Have a look at mount(8). user implies noexec, nosuid, and nodev. You could use user,exec, or even user,exec,dev,suid.

I knew user implied nosuid and nodev, since those are obviously needed to stop someone with a cd with a setuid root bash executable, or a world-read/write /dev/mem. I forgot about noexec, and as you've discovered, it's just a pain. If you had an ELF binary on a device you mounted, you could run /lib/ld-linux.so.2 /mnt/foo.bin.
Last edited by peter on Mon Mar 12, 2007 7:40 am, edited 1 time in total.
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BC
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 »

Wow, I just learned something new today :-P

I guess it makes sense, now that I think about it, but I have never noticed since my only "user"-mountable filesystems are fat32 devices with explicitly-set umask"s to give read permission.
peter
Bounty Hunter
Bounty Hunter
Posts: 165
Joined: Sun Feb 11, 2007 3:40 am
Location: Halifax, NS, Canada

Post by peter »

ace123 wrote:Wow, I just learned something new today :-P

I guess it makes sense, now that I think about it, but I have never noticed since my only "user"-mountable filesystems are fat32 devices with explicitly-set umask"s to give read permission.
Well, I don't really think the noexec part makes sense. It's just annoying. As I said, you can even run arbitrary ELF binaries from a noexec-mounted filesystem by invoking /lib/ld.so on them, like /bin/sh for shell scripts. ld.so is even called an ELF interpreter.

Always happy to geek out for a receptive audience. :P BTW, I turned off smilies in my post above. I meant to write the man page section after the mount command name... At least the sunglasses smilies on this forum doesn't look like too much of a jerk.
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BC
Darsmol
Star Pilot
Star Pilot
Posts: 6
Joined: Sat Mar 03, 2007 5:28 am

Post by Darsmol »

yeh, found that "exec" option tonight at 3 am ... ;)

so thx for your support - and keep up the good work.
Post Reply