$ LIBS="-L/usr/local/lib -lvorbisenc -lvorbisfile -lvorbis -logg" CFLAGS="-I/usr/local/include" configure --enable-debug checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... i686-pc-mingw32 checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe 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 g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /bin/install -c checking for ar... /mingw/bin/ar checking whether byte ordering is bigendian... no checking for xgettext... no checking for xgettext.exe... no checking for flex... no checking for lex... no checking for yywrap in -lfl... no checking for yywrap in -ll... no checking for bison... no checking for bison.exe... no checking for dirent.h that defines DIR... yes checking for library containing opendir... 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 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 unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... (cached) no checking for void *... yes checking size of void *... 4 checking for build variant... debug checking whether binary relocation support should be enabled... no checking for ld used by GCC... c:/programme/mingw/mingw32/bin/ld.exe checking if the linker (c:/programme/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... /usr/local/lib/libiconv.a checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for gawk... gawk checking for curl-config... /bin/curl-config checking for the version of libcurl... 7.16.0 checking whether libcurl is usable... no checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.4... no *** Could not run SDL test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding SDL or finding the wrong *** version of SDL. If it is not finding SDL, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH configure: error: *** SDL version 1.2.4 not found!