Hi there,
I tried to install xscorch ('fink install xscorch') but cannot. All
seems fine but then it ends with:
execution of make failed, exit code 2
(More error text below)
Anybody else having the same problem? How to fix it? What did I do wrong?
I'm on an Intel iMac. All software is updated, I think, including fink.
Thanks for any hints.
TD
****
First std output then the first ~40 lines of error output (there would
be hundreds more afterwards):
The following package will be installed or updated:
xscorch
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-xscorch-0.2.0-1
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-xscorch-0.2.0-1' in
`/sw/src/fink.build/fink-buildlock-xscorch-0.2.0-1_2007.05.10-14.00.56_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-xscorch-0.2.0-1_2007.05.10-14.00.56_darwin-i386.deb
Selecting previously deselected package fink-buildlock-xscorch-0.2.0-1.
(Reading database ... 34260 files and directories currently installed.)
Unpacking fink-buildlock-xscorch-0.2.0-1 (from
.../fink-buildlock-xscorch-0.2.0-1_2007.05.10-14.00.56_darwin-i386.deb) ...
Setting up fink-buildlock-xscorch-0.2.0-1 (2007.05.10-14.00.56) ...
gzip -dc /sw/src/xscorch-0.2.0.tar.gz | /sw/bin/tar -xf -
--no-same-owner --no-same-permissions
cp /sw/src/xscorch-0.2.0-stack-smash.patch.gz .
cp /sw/src/xscorch-0.2.0-64bit.patch.gz .
gzcat ../xscorch-0.2.0-stack-smash.patch.gz | patch -p0
patching file sgame/saddconf.c
patching file sgame/seconomy.h
gzcat ../xscorch-0.2.0-64bit.patch.gz | patch -p0
patching file sgame/saccessory.c
patching file sgame/seconomy.c
patching file sgame/sregistry.c
patching file sgame/sregistry.h
patching file sgame/sweapon.c
patching file sgtk/sstatus-gtk.c
patching file sgtk/stank-gtk.c
./configure --prefix=/sw --mandir=/sw/share/man --enable-opt
--disable-sound --with-gnome --without-readline
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for libj version number... 4.0.16
checking build system type... i686-apple-darwin8.9.1
checking host system type... i686-apple-darwin8.9.1
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for egrep... grep -E
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 sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for gettimeofday... yes
checking for snprintf... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for int16_t... yes
checking size of int16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
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 g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.9.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.9.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for --enable-network flag... Network enabled
checking for --with-readline flag... no
checking for --with-gtk-12 flag... using GTK 1.2
checking for --with-gtk flag... search for gtk-config
checking for gtk-config... /sw/bin/gtk-config
GTK frontend will be built, /sw/bin/gtk-config, version 1.2.10
GTK link flags: -L/sw/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib
-lintl -lXext -lX11 -lm
GTK compile flags: -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2
-I/sw/lib/glib/include -I/usr/X11R6/include
checking for --with-gnome flag... search for gnome-config
checking for gnome-config... no
gnome-config not found, disabling GNOME-specific features
checking for --enable-sound flag... Sound/music not enabled
checking for sys/time.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for gettimeofday... (cached) yes
checking for usleep... yes
checking for memcpy... yes
checking for memset... yes
checking for vsnprintf... yes
checking for stat... yes
checking for strnlen... no
checking for getopt_long... yes
checking for gethostbyname... yes
checking for socket... yes
Network libraries we're linking against: (none)
checking for convolution in -lreality... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for XpmCreateImageFromData in -lXpm... yes
GCC compiler found, trying GCC-specific optimizations and warnings.
checking if compiler supports C99 standard... yes
checking for --enable-opt flag... enabled
checking for --enable-warn flag... not enabled
checking for --enable-warn-error flag... not enabled
checking for --enable-debug flag... not enabled
CFLAGS = -g -O2 -O3 -fomit-frame-pointer -finline-functions
-funroll-loops -fthread-jumps -DNDEBUG
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xscorch.h
config.status: creating libj/libj.h
config.status: creating sai/Makefile
config.status: creating sconsole/Makefile
config.status: creating sgame/Makefile
config.status: creating sgtk/Makefile
config.status: creating sgtk/swidgets/Makefile
config.status: creating snet/Makefile
config.status: creating snet/tcpnet/Makefile
config.status: creating ssound/Makefile
config.status: creating sutil/Makefile
config.status: creating libj/Makefile
config.status: creating libj/jreg/Makefile
config.status: creating libj/jstr/Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating img/Makefile
config.status: creating snd/Makefile
config.status: creating config.h
config.status: executing default-1 commands
xscorch 0.2.0 Configuration:
Prefix: /sw
Datadir: /sw/share
Mandir: /sw/share/man
CFLAGS: -g -O2 -O3 -fomit-frame-pointer -finline-functions
-funroll-loops -fthread-jumps -DNDEBUG
Sound: NO
Network: Yes
Readline: NO
GTK 1.2: Yes
GTK 2.0: NO
GNOME: NO
*** WARNING ***
Network games are UNSTABLE. PLEASE read doc/NETWORK before sending in bug
reports. Also, check out the document if you are interested in network
development. We appreciate any feedback/bugfixes on the networking code.
make
make all-recursive
Making all in doc
echo "#include <shelpdata.h>"> shelpdata.c
./make_text_data.pl data_xscorch_txt <xscorch.txt>> shelpdata.c
./make_text_data.pl data_xscorch_man <xscorch.6>> shelpdata.c
./make_text_data.pl data_copying_txt <../COPYING>> shelpdata.c
Making all in sai
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -g -O2 -O3
-fomit-frame-pointer -finline-functions -funroll-loops -fthread-jumps
-DNDEBUG -c sai.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -g -O2 -O3
-fomit-frame-pointer -finline-functions -funroll-loops -fthread-jumps
-DNDEBUG -c saibuy.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -g -O2 -O3
-fomit-frame-pointer -finline-functions -funroll-loops -fthread-jumps
-DNDEBUG -c saitraj.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -g -O2 -O3
-fomit-frame-pointer -finline-functions -funroll-loops -fthread-jumps
-DNDEBUG -c saiturn.c
rm -f libscorch_ai.a
ar cru libscorch_ai.a sai.o saibuy.o saitraj.o saiturn.o
ranlib libscorch_ai.a
Making all in sconsole
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -g -O2 -O3
-fomit-frame-pointer -finline-functions -funroll-loops -fthread-jumps
-DNDEBUG -c swindow-console.c
rm -f libscorch_console.a
ar cru libscorch_console.a swindow-console.o
ranlib libscorch_console.a
Making all in sgame
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c saccessory.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c saddconf.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c scffile.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c scffileold.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c scolor.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sconfig.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c seconomy.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sexplosion.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sgame.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c shelp.c
cp -f ../doc/shelpdata.c shelpdata.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c shelpdata.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sinfo.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sinventory.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sland.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c slscape.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c slscapetools.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c soptions.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sphoenix.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sphysics.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c splayer.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c spreround.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sregistry.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sshield.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sspill.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sstate.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c stankpro.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c strack.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sutil -I../libj -I/sw/include -g
-O2 -O3 -fomit-frame-pointer -finline-functions -funroll-loops
-fthread-jumps -DNDEBUG -c sweapon.c
rm -f libscorch_game.a
ar cru libscorch_game.a saccessory.o saddconf.o scffile.o scffileold.o
scolor.o sconfig.o seconomy.o sexplosion.o sgame.o shelp.o shelpdata.o
sinfo.o sinventory.o sland.o slscape.o slscapetools.o soptions.o
sphoenix.o sphysics.o splayer.o spreround.o sregistry.o sshield.o
sspill.o sstate.o stankpro.o strack.o sweapon.o
ranlib libscorch_game.a
Making all in sgtk
Making all in swidgets
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I../
-I../../sutil -I../../libj -I/sw/include -g -O2 -O3
-fomit-frame-pointer -finline-functions -funroll-loops -fthread-jumps
-DNDEBUG -c sactiveconsole.c
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-xscorch-0.2.0-1
(Reading database ... 34261 files and directories currently installed.)
Removing fink-buildlock-xscorch-0.2.0-1 ...
Failed: phase compiling: xscorch-0.2.0-1 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists. As a last resort, you can try e-mailing
the maintainer directly:
Alexander Strange <[EMAIL PROTECTED]>
Note that many fink package maintainers do not have access to all possible
hardware configurations, so you may have better luck on the mailing lists.
In file included from /sw/include/gtk-1.2/gdk/gdk.h:31,
from /sw/include/gtk-1.2/gtk/gtk.h:31,
from ./sactiveconsole.h:29,
from sactiveconsole.c:27:
/sw/include/gtk-1.2/gdk/gdktypes.h:33:18: error: glib.h: No such file or
directory
In file included from /sw/include/gtk-1.2/gdk/gdk.h:31,
from /sw/include/gtk-1.2/gtk/gtk.h:31,
from ./sactiveconsole.h:29,
from sactiveconsole.c:27:
/sw/include/gtk-1.2/gdk/gdktypes.h:52: error: parse error before 'GdkAtom'
/sw/include/gtk-1.2/gdk/gdktypes.h:52: warning: data definition has no
type or storage class
/sw/include/gtk-1.2/gdk/gdktypes.h:98: error: parse error before 'gpointer'
/sw/include/gtk-1.2/gdk/gdktypes.h:103: error: parse error before 'GdkWChar'
/sw/include/gtk-1.2/gdk/gdktypes.h:103: warning: data definition has no
type or storage class
In file included from /sw/include/gtk-1.2/gdk/gdk.h:31,
from /sw/include/gtk-1.2/gtk/gtk.h:31,
from ./sactiveconsole.h:29,
from sactiveconsole.c:27:
/sw/include/gtk-1.2/gdk/gdktypes.h:694: error: parse error before 'data'
/sw/include/gtk-1.2/gdk/gdktypes.h:698: error: parse error before 'data'
/sw/include/gtk-1.2/gdk/gdktypes.h:759: error: parse error before 'gulong'
/sw/include/gtk-1.2/gdk/gdktypes.h:759: warning: no semicolon at end of
struct or union
/sw/include/gtk-1.2/gdk/gdktypes.h:760: warning: data definition has no
type or storage class
/sw/include/gtk-1.2/gdk/gdktypes.h:761: error: parse error before 'green'
/sw/include/gtk-1.2/gdk/gdktypes.h:761: warning: data definition has no
type or storage class
/sw/include/gtk-1.2/gdk/gdktypes.h:762: error: parse error before 'blue'
/sw/include/gtk-1.2/gdk/gdktypes.h:762: warning: data definition has no
type or storage class
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users