Hi everyone!
When I heard about Z+Angband a few days ago, I downloaded it for windows in the blink of an eye. Now I'm sitting at my Arch Linux in the student hostel, and since Z+Angband is not yet included in the User Repository, I have to compile.
Can anyone tell me, what should I do? So far I downloaded the .tar.gz, extracted it to a folder, and tried ./configure && make && make install. Too bad that id dies with an error message. Here is the config.log:
What am I doing wrong? Do I need some package that's missing? Or am I simply blind to find something obvious?
When I heard about Z+Angband a few days ago, I downloaded it for windows in the blink of an eye. Now I'm sitting at my Arch Linux in the student hostel, and since Z+Angband is not yet included in the User Repository, I have to compile.
Can anyone tell me, what should I do? So far I downloaded the .tar.gz, extracted it to a folder, and tried ./configure && make && make install. Too bad that id dies with an error message. Here is the config.log:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
, which wasted by Zangband configure 0
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = asgard
uname -m = i686
uname -r = 2.6.38-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue May 10 06:36:08 UTC 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/core_perl
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2445: checking for gcc
configure:2461: found /usr/bin/gcc
configure:2472: result: gcc
configure:2701: checking for C compiler version
configure:2710: gcc --version >&5
gcc (GCC) 4.6.0 20110513 (prerelease)
Copyright (C) 2011 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:2721: $? = 0
configure:2710: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.6-20110513/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libstdcxx-pch --enable-checking=release
Thread model: posix
gcc version 4.6.0 20110513 (prerelease) (GCC)
configure:2721: $? = 0
configure:2710: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2721: $? = 1
configure:2710: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2721: $? = 1
configure:2741: checking whether the C compiler works
configure:2763: gcc conftest.c >&5
conftest.c:4:25: warning: missing terminating " character [enabled by default]
conftest.c:5:1: error: expected identifier or '(' before numeric constant
conftest.c:8:1: warning: missing terminating " character [enabled by default]
conftest.c:8:1: error: missing terminating " character
conftest.c:9:24: warning: missing terminating " character [enabled by default]
conftest.c:13:1: warning: missing terminating " character [enabled by default]
conftest.c:13:1: error: missing terminating " character
configure:2767: $? = 1
configure:2805: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Zangband"
| #define PACKAGE_TARNAME "zangband"
"3#define PACKAGE_VERSION "0
"3#define PACKAGE_STRING "Zangband 0
| #define PACKAGE_BUGREPORT "bugs@zangband.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2810: error: in `/home/raven/Build/zang/ZPlusAngband_033beta_src':
configure:2812: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GAMEGROUP='games'
GREP=''
GTK_CONFIG=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT='bugs@zangband.org'
PACKAGE_NAME='Zangband'
'3CKAGE_STRING='Zangband 0
PACKAGE_TARNAME='zangband'
PACKAGE_URL=''
'3CKAGE_VERSION='0
PATH_SEPARATOR=':'
SHELL='/bin/sh'
TK_PORT=''
XMKMF=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
cygwin=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
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_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Zangband"
#define PACKAGE_TARNAME "zangband"
"3efine PACKAGE_VERSION "0
"3efine PACKAGE_STRING "Zangband 0
#define PACKAGE_BUGREPORT "bugs@zangband.org"
#define PACKAGE_URL ""
configure: exit 77
Comment