[Bug 63781] New: ./configure fails when building project from SDL template
Dominik Haumann
dhdev at gmx.de
Sat Sep 6 12:06:02 UTC 2003
[...]
> * checking how to hardcode library paths into programs... immediate
> * checking whether stripping libraries is possible... yes
> * appending configuration tag "F77" to libtool
> * -L/usr/lib -lSDL -lpthread
> * -I/usr/include/SDL -D_REENTRANT
> * checking target system type... i686-pc-linux-gnu
> * checking for sdl-config... /usr/bin/sdl-config
> * checking for SDL - version >= 1.2.0... no
> * *** Could not run SDL test program, checking why...
> * *** The test program failed to compile or link. See the file config.log
> for the * *** exact error that occured. This usually means SDL was
> incorrectly installed * *** or that you have moved SDL since it was
> installed. In the latter case, you * *** may want to edit the sdl-config
> script: /usr/bin/sdl-config
> * configure: error: *** SDL version 1.2.0 not found!
> * *** Exited with status: 1 ***
>
> Obviously, the automake/autoconf scripts to check for the prescense of SDL
> have failed.
This maybe a SDL error. It occuers on my machine, too, but has nothing to do
with kdevelop/gideon. It is really strange - perhaps the SDL guys can solve.
I think the problem is aclocal: If I change in my /usr/share/aclocal/sdl.m4
all "SDL.h" to "SDL/SDL.h" and the line
LIBS="$LIBS $SDL_LIBS" to
LIBS="$LIBS $SDL_LIBS -lSDLmain -lSDL"
it works fine!
> I know I have SDL correctly installed on my system, because I have a
> correctly working KDevelop 2.1.5 project where I manually hacked the
> automake/autoconf files to add the SDL check macros.
--
Dominik Haumann,
dhaumann
More information about the KDevelop-devel
mailing list