SDL::sdlpl and OpenGL

Both of these modules have not seen updates since around 1999-2000 if the 
readme's and ChangeLog's can be believed. 

Does any of you know of anything more recent? I get build problems on my 
RedHat 8.0 box here. 

SDL::sdlpl had a problem with font.c until I added -I/usr/include 
-I/usr/include/SDL to the Makefile.PL, (it couldn't find SDL.h since 
apparently it was pre-set to look only in /usr/local/include *sigh* ) 

however, now I get this: 

gcc -c  -I/usr/local/include -I/usr/local/include/SDL -I/usr/include 
-I/usr/include/SDL -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 
-march=i386 -mcpu=i686   -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fpic 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   font.c
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
font.c:146:2: warning: no newline at end of file
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  sdlpl.xs > 
sdlpl.xsc && mv sdlpl.xsc sdlpl.c
gcc -c  -I/usr/local/include -I/usr/local/include/SDL -I/usr/include 
-I/usr/include/SDL -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 
-march=i386 -mcpu=i686   -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fpic 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   sdlpl.c
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
sdlpl.xs: In function `XS_SDL__sdlpl_sdl_surface_clip_minx':
sdlpl.xs:1945: structure has no member named `clip_minx'
sdlpl.xs: In function `XS_SDL__sdlpl_sdl_surface_clip_miny':
sdlpl.xs:1953: structure has no member named `clip_miny'
sdlpl.xs: In function `XS_SDL__sdlpl_sdl_surface_clip_maxx':
sdlpl.xs:1961: structure has no member named `clip_maxx'
sdlpl.xs: In function `XS_SDL__sdlpl_sdl_surface_clip_maxy':
sdlpl.xs:1969: structure has no member named `clip_maxy'
sdlpl.xs: In function `XS_SDL__sdlpl_sdl_srcclipping':
sdlpl.xs:2475: `SDL_SRCCLIPPING' undeclared (first use in this function)
sdlpl.xs:2475: (Each undeclared identifier is reported only once
sdlpl.xs:2475: for each function it appears in.)
make: *** [sdlpl.o] Error 1


I suspect these modules are just seriously out of date with regards to the 
current implementations of Mesa and OpenGL. Is there anything more recent 
that any of you could point me to?

I'm looking for a way to generate several 2D triangles with gouraud filling 
and output the resulting image data to a file. 

Cheers,

Reply via email to