Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden. Du solltest ein Upgrade durchführen oder einen alternativen Browser verwenden.
beim versuch, das spiel supertuxkart zu compilieren sagt er mir, dass er das SDL_image nicht findet. das habe ich jetzt schon 5 mal installiert und er findet es immer noch nicht. was kann ich tun?
SDL_image kannst Du so oft installieren, wie Du willst, Dir fehlt SDL_image-devel.
Das Paket ist wahrscheinlich nicht auf Deinen Installationsmedien drauf, aber die Anleitung zur Installation gibt's erst nach Nennung der Distribution inkl. Versionsnummer.
ich krieg hier immer noch die selbe fehlermeldung, obwohl ich das SDL_image-devel installiert hab:
checking for IMG_Load in -lSDL_image... no
configure: error: SDL_image library required
configure:1366: checking build system type
configure:1384: result: i686-pc-linux-gnu
configure:1392: checking host system type
configure:1406: result: i686-pc-linux-gnu
configure:1414: checking target system type
configure:1428: result: i686-pc-linux-gnu
configure:1456: checking for a BSD-compatible install
configure:1511: result: /usr/bin/install -c
configure:1522: checking whether build environment is sane
configure:1565: result: yes
configure:1598: checking for gawk
configure:1614: found /usr/bin/gawk
configure:1624: result: gawk
configure:1634: checking whether make sets $(MAKE)
configure:1654: result: yes
configure:1865: checking for gcc
configure:1881: found /usr/local/bin/gcc
configure:1891: result: gcc
configure:2135: checking for C compiler version
configure:2138: gcc --version </dev/null >&5
gcc (GCC) 4.1.0 (SUSE Linux)
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:2141: $? = 0
configure:2143: gcc -v </dev/null >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux)
configure:2146: $? = 0
configure:2148: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2151: $? = 1
configure:2174: checking for C compiler default output file name
configure:2177: gcc conftest.c >&5
configure:2180: $? = 0
configure:2226: result: a.out
configure:2231: checking whether the C compiler works
configure:2237: ./a.out
configure:2240: $? = 0
configure:2257: result: yes
configure:2264: checking whether we are cross compiling
configure:2266: result: no
configure:2269: checking for suffix of executables
configure:2271: gcc -o conftest conftest.c >&5
configure:2274: $? = 0
configure:2299: result:
configure:2305: checking for suffix of object files
configure:2326: gcc -c conftest.c >&5
configure:2329: $? = 0
configure:2351: result: o
configure:2355: checking whether we are using the GNU C compiler
configure:2379: gcc -c conftest.c >&5
configure:2385: $? = 0
configure:2388: test -z || test ! -s conftest.err
configure:2391: $? = 0
configure:2394: test -s conftest.o
configure:2397: $? = 0
configure:2410: result: yes
configure:2416: checking whether gcc accepts -g
configure:2437: gcc -c -g conftest.c >&5
configure:2443: $? = 0
configure:2446: test -z || test ! -s conftest.err
configure:2449: $? = 0
configure:2452: test -s conftest.o
configure:2455: $? = 0
configure:2466: result: yes
configure:2483: checking for gcc option to accept ANSI C
configure:2553: gcc -c -g -O2 conftest.c >&5
configure:2559: $? = 0
configure:2562: test -z || test ! -s conftest.err
configure:2565: $? = 0
configure:2568: test -s conftest.o
configure:2571: $? = 0
configure:2589: result: none needed
configure:2607: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2613: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2754: checking for style of include used by make
configure:2782: result: GNU
configure:2810: checking dependency style of gcc
configure:2893: result: gcc3
configure:2915: checking how to run the C preprocessor
configure:2950: gcc -E conftest.c
configure:2956: $? = 0
configure:2988: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:2994: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "supertuxkart"
| #define VERSION "0.0.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3033: result: gcc -E
configure:3057: gcc -E conftest.c
configure:3063: $? = 0
configure:3095: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3101: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "supertuxkart"
| #define VERSION "0.0.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3196: checking for g++
configure:3212: found /usr/local/bin/g++
configure:3222: result: g++
configure:3238: checking for C++ compiler version
configure:3241: g++ --version </dev/null >&5
g++ (GCC) 4.1.0 (SUSE Linux)
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:3244: $? = 0
configure:3246: g++ -v </dev/null >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux)
configure:3249: $? = 0
configure:3251: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:3254: $? = 1
configure:3257: checking whether we are using the GNU C++ compiler
configure:3281: g++ -c conftest.cc >&5
configure:3287: $? = 0
configure:3290: test -z || test ! -s conftest.err
configure:3293: $? = 0
configure:3296: test -s conftest.o
configure:3299: $? = 0
configure:3312: result: yes
configure:3318: checking whether g++ accepts -g
configure:3339: g++ -c -g conftest.cc >&5
configure:3345: $? = 0
configure:3348: test -z || test ! -s conftest.err
configure:3351: $? = 0
configure:3354: test -s conftest.o
configure:3357: $? = 0
configure:3368: result: yes
configure:3410: g++ -c -g -O2 conftest.cc >&5
configure:3416: $? = 0
configure:3419: test -z || test ! -s conftest.err
configure:3422: $? = 0
configure:3425: test -s conftest.o
configure:3428: $? = 0
configure:3454: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:15: error: 'exit' was not declared in this scope
configure:3460: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "supertuxkart"
| #define VERSION "0.0.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3410: g++ -c -g -O2 conftest.cc >&5
configure:3416: $? = 0
configure:3419: test -z || test ! -s conftest.err
configure:3422: $? = 0
configure:3425: test -s conftest.o
configure:3428: $? = 0
configure:3454: g++ -c -g -O2 conftest.cc >&5
configure:3460: $? = 0
configure:3463: test -z || test ! -s conftest.err
configure:3466: $? = 0
configure:3469: test -s conftest.o
configure:3472: $? = 0
configure:3497: checking dependency style of g++
configure:3580: result: gcc3
configure:3602: checking how to run the C++ preprocessor
configure:3633: g++ -E conftest.cc
configure:3639: $? = 0
configure:3671: g++ -E conftest.cc
conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory
configure:3677: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "supertuxkart"
| #define VERSION "0.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3716: result: g++ -E
configure:3740: g++ -E conftest.cc
configure:3746: $? = 0
configure:3778: g++ -E conftest.cc
conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory
configure:3784: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "supertuxkart"
| #define VERSION "0.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3840: checking for a BSD-compatible install
configure:3895: result: /usr/bin/install -c
configure:3907: checking whether we should use SDL
configure:3917: result: yes
configure:3969: checking for sdl-config
configure:3987: found /usr/bin/sdl-config
configure:4000: result: /usr/bin/sdl-config
configure:4008: checking for SDL - version >= 1.2.4
configure:4098: gcc -o conftest -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread >&5
configure:4101: $? = 0
configure:4103: ./conftest
configure:4106: $? = 0
configure:4124: result: yes
configure:4242: checking for IMG_Load in -lSDL_image
configure:4272: gcc -o conftest -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -lSDL_image -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread >&5
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0xf9): undefined reference to `jpeg_std_error'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x147): undefined reference to `jpeg_CreateDecompress'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x17d): undefined reference to `jpeg_resync_to_restart'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x1a1): undefined reference to `jpeg_read_header'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x1bd): undefined reference to `jpeg_calc_output_dimensions'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x217): undefined reference to `jpeg_start_decompress'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x253): undefined reference to `jpeg_read_scanlines'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x26f): undefined reference to `jpeg_finish_decompress'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x27d): undefined reference to `jpeg_destroy_decompress'
/usr/lib/libSDL_image.a(IMG_jpg.o): In function `IMG_LoadJPG_RW':
(.text+0x2a6): undefined reference to `jpeg_destroy_decompress'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x59): undefined reference to `png_create_read_struct'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x6c): undefined reference to `png_create_info_struct'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0xb5): undefined reference to `png_destroy_read_struct'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0xec): undefined reference to `png_set_read_fn'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0xfe): undefined reference to `png_read_info'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x143): undefined reference to `png_get_IHDR'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x14e): undefined reference to `png_set_strip_16'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x159): undefined reference to `png_set_packing'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x17e): undefined reference to `png_get_valid'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x1a2): undefined reference to `png_read_update_info'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x1e7): undefined reference to `png_get_IHDR'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x2fe): undefined reference to `png_read_image'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x373): undefined reference to `png_get_tRNS'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x394): undefined reference to `png_set_expand'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x45f): undefined reference to `png_set_gray_to_rgb'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_LoadPNG_RW':
(.text+0x4b0): undefined reference to `png_set_expand'
/usr/lib/libSDL_image.a(IMG_png.o): In function `png_read_data':
(.text+0x4fd): undefined reference to `png_get_io_ptr'
/usr/lib/libSDL_image.a(IMG_png.o): In function `IMG_isPNG':
(.text+0x56a): undefined reference to `png_sig_cmp'
collect2: ld returned 1 exit status
configure:4278: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "supertuxkart"
| #define VERSION "0.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBSDL 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char IMG_Load ();
| int
| main ()
| {
| IMG_Load ();
| ;
| return 0;
| }
configure:4303: result: no
configure:4313: error: SDL_image library required