Re: [Tuxpaint-devel] [Fwd: Bug#300632: tuxpaint: FTBFS: Changed header files.]
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: John P. <jo...@jo...> - 2005-03-23 00:53:50
|
On Tue, Mar 22, 2005 at 07:46:56PM -0400, Ben Armstrong wrote: > I believe we added header detection because it was a common problem for > users to forget to install the dependencies. But this has caused > tuxpaint in Debian to break, which is a release critical bug right on > the verge of Sarge releasing. I have to ask at this point if it is > really worth it, or if we shouldn't put moving tuxpaint to a proper > autotools-based build system as a higher priority. > > I'll hack my way around it now (probably just by disabling the checks) > so I can remove this RC bug against tuxpaint as soon as possible, but > I'd like to know what you guys think our permanent fix should be. > > Ben > Ben, I had the same problem when I was getting the MinGW build working and I just hacked my way through it and checked it into cvs: #include "SDL_image.h" #if !defined(_SDL_IMAGE_H) && !defined(_IMG_h) ... #endif #include "SDL_ttf.h" #if !defined(_SDL_TTF_H) && !defined(_SDLttf_h) ... #endif #include "SDL_mixer.h" #if !defined(_SDL_MIXER_H) && !defined(_MIXER_H_) ... #endif though this is, clearly, the work of the devil :-) cheers, John. > -------- Forwarded Message -------- > > From: Kurt Roeckx <ku...@ro...> > > Reply-To: Kurt Roeckx <ku...@ro...>, 30...@bu... > > To: su...@bu... > > Subject: Bug#300632: tuxpaint: FTBFS: Changed header files. > > Date: Sun, 20 Mar 2005 22:33:55 +0100 > > Package: tuxpaint > > Version: 1:0.9.14-1 > > Severity: serious > > > > Hi, > > > > Your package is no longer building problem. I get the following error: > > > > ...Compiling Tux Paint from source... > > src/tuxpaint.c:176:2: #error "---------------------------------------------------" > > src/tuxpaint.c:177:2: #error "If you installed SDL_image from a package, be sure" > > src/tuxpaint.c:178:2: #error "to get the development package, as well!" > > src/tuxpaint.c:179:2: #error "(e.g., 'libsdl-image1.2-devel.rpm')" > > src/tuxpaint.c:180:2: #error "---------------------------------------------------" > > src/tuxpaint.c:195:2: #error "---------------------------------------------------" > > src/tuxpaint.c:196:2: #error "If you installed SDL_mixer from a package, be sure" > > src/tuxpaint.c:197:2: #error "to get the development package, as well!" > > src/tuxpaint.c:198:2: #error "(e.g., 'libsdl-mixer1.2-devel.rpm')" > > src/tuxpaint.c:199:2: #error "---------------------------------------------------" > > make[1]: *** [obj/tuxpaint.o] Error 1 > > > > You do seem to have both mentioned required build dependencies. > > > > The code looks like this: > > #include "SDL_image.h" > > #ifndef _IMG_h > > #error > > > > #include "SDL_mixer.h" > > #ifndef _MIXER_H_ > > #error > > > > > > The first seems to be using _SDL_IMAGE_H (now?) and the > > second _SDL_MIXER_H. > > > > I find detection of presense of a header file like that a stupid > > way. It should not rely on those defines. > > > > The proper way to do this would be to have a configure script > > that could then give an error message. > > > > > > Kurt > > > > > -- > > > > ------------------------------------------------------- > This SF.net email is sponsored by: 2005 Windows Mobile Application Contest > Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones > for the chance to win $25,000 and application distribution. Enter today at > http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |