Pipen
Newbie
Hallöchen, liebe Linux Gemeinde!
Hätte von Euch gerne mal einen Tipp, wie ich das Spiel Enigma http://www.nongnu.org/enigma/screenshots_de.html
auch unter SuSe 11.2 zum Laufen bringen kann.
Beim Kompilieren bekomme ich am Ende leider immer eine Fehlermeldung, die mich nicht wirklich darüber aufklärt, was da in die Hose geht.
Wer kann mir helfen?
Gruß aus HH
Hätte von Euch gerne mal einen Tipp, wie ich das Spiel Enigma http://www.nongnu.org/enigma/screenshots_de.html
auch unter SuSe 11.2 zum Laufen bringen kann.
Beim Kompilieren bekomme ich am Ende leider immer eine Fehlermeldung, die mich nicht wirklich darüber aufklärt, was da in die Hose geht.
Wer kann mir helfen?
Gruß aus HH
Code:
uwe@linux-test3:~> cd Downloads
uwe@linux-test3:~/Downloads> su
Passwort:
linux-test3:/home/uwe/Downloads # rpmbuild --rebuild enigma*.src.rpm
Installing enigma-1.01-82.6.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.93R5hO
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf enigma-1.01
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/enigma-1.01.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd enigma-1.01
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch (enigma-1.01.diff):'
Patch (enigma-1.01.diff):
+ /bin/cat /usr/src/packages/SOURCES/enigma-1.01.diff
+ /usr/bin/patch -s -p0 --fuzz=2
+ echo 'Patch #1 (enigma-gcc43.patch):'
Patch #1 (enigma-gcc43.patch):
+ /bin/cat /usr/src/packages/SOURCES/enigma-gcc43.patch
+ /usr/bin/patch -s -p0 --fuzz=2
+ echo 'Patch #2 (enigma-missing-return.patch):'
Patch #2 (enigma-missing-return.patch):
+ /bin/cat /usr/src/packages/SOURCES/enigma-missing-return.patch
+ /usr/bin/patch -s -p0 --fuzz=2
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CCI3ej
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /usr/src/packages/BUILDROOT/enigma-1.01-82.6.i386
++ dirname /usr/src/packages/BUILDROOT/enigma-1.01-82.6.i386
+ /bin/mkdir -p /usr/src/packages/BUILDROOT
+ /bin/mkdir /usr/src/packages/BUILDROOT/enigma-1.01-82.6.i386
+ cd enigma-1.01
+ export 'CFLAGS=-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' 'CPPFLAGS=-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ CFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ CPPFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ ./configure --prefix=/usr --bindir=/usr/games --datadir=/usr/share --mandir=/usr/share/man
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
checking target system type... i686-suse-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
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 for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... (cached) ranlib
checking for texi2html... /usr/bin/texi2html
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for library containing dlopen... -ldl
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for main in -lSDL_image... yes
checking for main in -lSDL_mixer... yes
checking for Mix_QuickLoad_RAW in -lSDL_mixer... yes
checking for SDL_ttf >=2.0.6... found
checking for main in -lSDL_ttf... yes
checking for png_create_write_struct in -lpng... yes
checking for Xerces 3.0 experimental version... found
checking for main in -lxerces... no
configure: error: xerces is required to compile Enigma
error: Bad exit status from /var/tmp/rpm-tmp.CCI3ej (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.CCI3ej (%build)
linux-test3:/home/uwe/Downloads #