Bug#669571: Dependency changes causing other packages to fail to build

Felix Geyer debfx-pkg at fobos.de
Fri Apr 20 09:21:54 UTC 2012


On 20.04.2012 11:08, Dominique Dumont wrote:
> I wonder if the problem is not a tad more complex. Here's a snippet from
> bomberclone's build log:
>
>  configure: error:
>  *** Unable to find SDL_image libary with PNG support
>  (http://www.libsdl.org/projects/SDL_image/)
> 
>  checking for IMG_LoadPNG_RW in -lSDL_image... no
>  make: *** [debian/stamp-autotools] Error 1
>
> What puzzle me is that IMG_LoadPNG_RW symbol is provided by SDL_image library.
> It's not just an issue with a missing header file.
>
> Hope this helps

That's just the build system being a bit silly.
It links against libpng and libjpeg even though it never actually uses these libraries.

That can be easily fixed by removing this line from configure.in:
    SDL_LIBS="$SDL_LIBS -lpng -ljpeg"

Felix






More information about the Pkg-sdl-maintainers mailing list