Bug 33322 - xwelltris does not compile because of missing SDL_image.h
Bug#: 33322 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: c-otto@gmx.de
Component: Games
URL: 
Summary: xwelltris does not compile because of missing SDL_image.h
Keywords:  
Status Whiteboard: 
Opened: 2003-11-12 12:43 0000
Description:   Opened: 2003-11-12 12:43 0000
Hello!
When compiling games-puzzle/xwelltris-1.0.1 with +SDL it aborts with:

g++ -c `sdl-config --cflags` -I./sdl  -DHAVE_CONFIG_H -I. -I./.. -I./image
-I./include -I../include -DHAVE_CONFIG_H  -O2 -march=athlon-xp -pipe 
sdl/sdlwellengine.cxx -o sdl/sdlwellengine.o
sdl/sdlwellengine.cxx:29:23: SDL_image.h: No such file or directory
sdl/sdlwellengine.cxx: In member function `virtual bool 
   SDLWellEngine::load_image(Images, char*)':
sdl/sdlwellengine.cxx:279: `IMG_Load' undeclared (first use this function)
sdl/sdlwellengine.cxx:279: (Each undeclared identifier is reported only once 
   for each function it appears in.)
make[1]: *** [sdl/sdlwellengine.o] Error 1

The missing file SDL_image.h is located here (using find):
/daten/tmp/portage/xwelltris-1.0.1/work/xwelltris-1.0.1/src/image/sublib/SDL_image.h
/daten/tmp is the destination of /var/tmp (symlink)

I tried re-emerging sdllib, does not help.

Reproducible: Always
Steps to Reproduce:
1. emerge -u xwelltris
Actual Results:  
Compile aborted, missing file

Expected Results:  
Compile + Install

As a sidenote: The emerge does not stop after "make" failed, but when "make
install" fails.

------- Comment #1 From Mr. Bones. 2003-11-12 13:20:10 0000 -------
It needed to depend on sdl-image.  Fixed in CVS.  Wait a bit and remerge for
the fix.  You should see sdl-image in the ebuild.

------- Comment #2 From Will Buckner 2004-06-17 17:55:29 0000 -------
This should be repoened. I just experianced the same problem.

------- Comment #3 From Marc Benstein 2005-01-12 17:31:53 0000 -------
This has not been fixed. Please fix!

------- Comment #4 From SpanKY 2005-01-12 17:40:46 0000 -------
fixed in cvs