compilaton problems (sound, images)

Help
2007-02-07
2013-04-23
  • ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    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 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 for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    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... g++ -E
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for ranlib... ranlib
    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 windows.h usability... no
    checking windows.h presence... no
    checking for windows.h... no
    checking for X... libraries , headers in standard search path
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking for glNewList in -lGL... yes
    checking for gluLookAt in -lGLU... yes
    checking for sdl-config... /usr/local/bin/sdl-config
    checking for SDL - version >= 1.1.0... yes
    checking SDL_image.h usability... no
    checking SDL_image.h presence... no
    checking for SDL_image.h... no
    checking for IMG_Load in -lSDL_image... no
    checking for socket in -lsocket... no
    checking for gethostbyname in -lnsl... yes
    checking for inet_aton in -lresolv... yes
    checking for ANSI C header files... (cached) yes
    checking GL/gl.h usability... yes
    checking GL/gl.h presence... yes
    checking for GL/gl.h... yes
    checking for GL/glext.h... yes
    checking AL/al.h usability... no
    checking AL/al.h presence... no
    checking for AL/al.h... no
    checking for alGetError in -lopenal... no
    checking AL/alut.h usability... no
    checking AL/alut.h presence... no
    checking for AL/alut.h... no
    checking for alutExit in -lalut... no
    checking fmod/fmod.h usability... no
    checking fmod/fmod.h presence... no
    checking for fmod/fmod.h... no
    checking for FSOUND_Close in -lfmod... no
    checking whether gcc accepts -finput-charset and -fexec-charset... 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 whether we are using the GNU C Library 2 or newer... yes
    checking for library containing strerror... none required
    checking for an ANSI C-conforming const... yes
    checking for signed... yes
    checking for inline... inline
    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... 4294967295U
    checking for stdint.h... (cached) yes
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    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 for CFPreferencesCopyAppValue... (cached) no
    checking for CFLocaleCopyCurrent... (cached) no
    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
    configure: creating ./config.status
    config.status: creating ultimatestunts.conf
    config.status: creating Makefile
    config.status: creating intl/Makefile
    config.status: creating po/Makefile.in
    config.status: creating data/Makefile
    config.status: creating shared/Makefile
    config.status: creating simulation/Makefile
    config.status: creating graphics/Makefile
    config.status: creating stuntsserver/Makefile
    config.status: creating stuntsai/Makefile
    config.status: creating stunts3dedit/Makefile
    config.status: creating trackedit/Makefile
    config.status: creating ultimatestunts/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing default-1 commands
    config.status: creating po/POTFILES
    config.status: creating po/Makefile

    Some important results:
    Network libraries: "-lresolv -lnsl "
    Sound libraries: ""
    Graphics libraries: "-lGLU -lGL   -lSM -lICE -lX11 -lXi -lXext  -lm"
    SDL libraries: "-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread "
    Prefix dir: "/usr/local"
    usdatadir: "/usr/local/share/ultimatestunts/"

    WARNING: No appropriate sound libraries found.
      You can still compile Ultimate Stunts, but
      sound will not be available

    WARNING: SDL_image library not found
      It is still perfectly possible to compile Ultimate Stunts,
      but it won't be able to load all image formats.
      This is no problem for the non-graphical programs,
      but the graphical programs will not work with all
      the default texture files. Only .rgb and .rgba are
      supported withoud SDL_image.

    I have installed fmodapi4.07 and i have SDL_image on my computer.
    Any ideas what to do?
    thanks

     
    • CJP
      CJP
      2007-02-18

      ----
      Make sure that:

      1:
      libfmod.so is in /usr/lib (e.g. make a symlink with that name which points to libfmod.so.4.07 or similar)

      2:
      fmod/*.h is in /usr/include

      3:
      libSDL_image.so is in /usr/lib (similar symlink method can do the trick)

      4:
      SDL_image.h is in /usr/include, or in the same directory as the SDL include files (like SDL.h). This usually is /usr/include/SDL, but in your case it could be /usr/local/include/SDL.

      ----
      Looking at your configure output:

      checking for SDL - version >= 1.1.0... yes
      checking SDL_image.h usability... no
      checking SDL_image.h presence... no
      checking for SDL_image.h... no
      checking for IMG_Load in -lSDL_image... no
      [..]
      checking fmod/fmod.h usability... no
      checking fmod/fmod.h presence... no
      checking for fmod/fmod.h... no
      checking for FSOUND_Close in -lfmod... no
      [..]
      SDL libraries: "-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread "

      it seems that your system meets none of these points, but that SDL is installed correctly in /usr/local. What distribution do you use? Did you use your distro's packages for FMOD and/or SDL_image?
      ----