-----BEGIN PGP SIGNED MESSAGE-----

Moin,

[EMAIL PROTECTED]:~/perl/game/sdl-perl/SDL_Perl-2.0.5> ./Build
lib/SDL/Tutorial/Animation.pm -> blib/lib/SDL/Tutorial/Animation.pm
lib/SDL/Rect.pm -> blib/lib/SDL/Rect.pm
lib/SDL/Surface.pm -> blib/lib/SDL/Surface.pm
lib/SDL/Palette.pm -> blib/lib/SDL/Palette.pm
lib/SDL/SFont.pm -> blib/lib/SDL/SFont.pm
lib/SDL/Tutorial/Drawing.pm -> blib/lib/SDL/Tutorial/Drawing.pm
lib/SDL/Tool/Graphic.pm -> blib/lib/SDL/Tool/Graphic.pm
lib/SDL/Cursor.pm -> blib/lib/SDL/Cursor.pm
lib/SDL/Event.pm -> blib/lib/SDL/Event.pm
lib/SDL/Tutorial.pm -> blib/lib/SDL/Tutorial.pm
lib/SDL/Sound.pm -> blib/lib/SDL/Sound.pm
lib/SDL/Mixer.pm -> blib/lib/SDL/Mixer.pm
lib/SDL.pm -> blib/lib/SDL.pm
lib/SDL/OpenGL.pm -> blib/lib/SDL/OpenGL.pm
lib/SDL/Font.pm -> blib/lib/SDL/Font.pm
lib/SDL/Timer.pm -> blib/lib/SDL/Timer.pm
lib/SDL/Music.pm -> blib/lib/SDL/Music.pm
lib/SDL/OpenGL/Constants.pm -> blib/lib/SDL/OpenGL/Constants.pm
lib/SDL/Color.pm -> blib/lib/SDL/Color.pm
lib/SDL/Config.pm -> blib/lib/SDL/Config.pm
lib/SDL/Tool/Font.pm -> blib/lib/SDL/Tool/Font.pm
lib/SDL_perl.pm -> blib/lib/SDL_perl.pm
lib/SDL/Cdrom.pm -> blib/lib/SDL/Cdrom.pm
lib/SDL/Tutorial/Images.pm -> blib/lib/SDL/Tutorial/Images.pm
lib/SDL/App.pm -> blib/lib/SDL/App.pm
lib/SDL/Constants.pm -> blib/lib/SDL/Constants.pm
lib/SDL/TTFont.pm -> blib/lib/SDL/TTFont.pm
src/SDL.xs -> src/SDL_perl.xs
src/SDL_perl.xs -> src/SDL_perl.c
/home/usr/local/bin/perl "-I/usr/local/lib/perl5/5.8.2/i686-linux" "-I/usr/
local/lib/perl5/5.8.2" "/usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp" 
- -noprototypes -typemap "/usr/local/lib/perl5/5.8.2/ExtUtils/typemap" "src/
SDL_perl.xs"cc -I/usr/local/lib/perl5/5.8.2/i686-linux/CORE -fpic -I/usr/
include/SDL -I/usr/include -I/usr/include/SDL -D_REENTRANT -DHAVE_PNG 
- -DHAVE_SDL -DHAVE_SDL_TTF -DHAVE_SDL_NET -DHAVE_JPEG -DHAVE_SDL_MIXER -fPIC 
- -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
- -D_FILE_OFFSET_BITS=64 -O3 -o src/SDL_perl.o src/SDL_perl.c
ExtUtils::Mkbootstrap::Mkbootstrap('src/SDL_perl')
cc -shared -L/usr/local/lib -o blib/arch/auto/SDL_perl/SDL_perl.so src/
SDL_perl.o -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lpng 
- -lSDL -lSDL_ttf -lSDL_net -ljpeg -lSDL_mixer
src/SFont.xs -> src/SDL/SFont.xs
src/SDL/SFont.xs -> src/SDL/SFont.c
/home/usr/local/bin/perl "-I/usr/local/lib/perl5/5.8.2/i686-linux" "-I/usr/
local/lib/perl5/5.8.2" "/usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp" 
- -noprototypes -typemap "/usr/local/lib/perl5/5.8.2/ExtUtils/typemap" "src/
SDL/SFont.xs"cc -I/usr/local/lib/perl5/5.8.2/i686-linux/CORE -fpic -I/usr/
include/SDL -I/usr/include/SDL -D_REENTRANT -DHAVE_SDL -fPIC -c 
- -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
- -D_FILE_OFFSET_BITS=64 -O3 -o src/SDL/SFont.o src/SDL/SFont.c
ExtUtils::Mkbootstrap::Mkbootstrap('src/SDL/SFont')
cc -shared -L/usr/local/lib -o blib/arch/auto/SDL/SFont/SFont.so src/SDL/
SFont.o -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL
src/OpenGL.xs -> src/SDL/OpenGL.xs
src/SDL/OpenGL.xs -> src/SDL/OpenGL.c
/home/usr/local/bin/perl "-I/usr/local/lib/perl5/5.8.2/i686-linux" "-I/usr/
local/lib/perl5/5.8.2" "/usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp" 
- -noprototypes -typemap "/usr/local/lib/perl5/5.8.2/ExtUtils/typemap" "src/
SDL/OpenGL.xs"cc -I/usr/local/lib/perl5/5.8.2/i686-linux/CORE -fpic -I/usr/
include/SDL -I/usr/include/GL -I/usr/include/SDL -D_REENTRANT -DHAVE_GL 
- -DHAVE_SDL -fPIC -c -fno-strict-aliasing -I/usr/local/include 
- -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -o src/SDL/OpenGL.o src/SDL/
OpenGL.c
OpenGL.xs:16:17: glu.h: No such file or directory
OpenGL.xs: In function `sdl_perl_tess_end_callback':
OpenGL.xs:122: error: `GLU_TESS_BEGIN' undeclared (first use in this 
function)
OpenGL.xs:122: error: (Each undeclared identifier is reported only once
OpenGL.xs:122: error: for each function it appears in.)
OpenGL.xs: In function `sdl_perl_tess_begin_callback':
OpenGL.xs:144: error: `GLU_TESS_BEGIN' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_error_callback':
OpenGL.xs:167: error: `GLU_TESS_ERROR' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_edge_flag_callback':
OpenGL.xs:190: error: `GLU_TESS_EDGE_FLAG' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_vertex_callback':
OpenGL.xs:213: error: `GLU_TESS_VERTEX' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_combine_callback':
OpenGL.xs:244: error: `GLU_TESS_COMBINE' undeclared (first use in this 
function)
error building so file from 'src/SDL/OpenGL.c' at /usr/local/lib/perl5/
site_perl/5.8.2/Module/Build/Base.pm line 1955.

After removing SDL-devel 1.2.5 (from SuSE ) and installing the RPM package 
from libsdl.org, I get:

[EMAIL PROTECTED]:~/perl/game/sdl-perl/SDL_Perl-2.0.5> perl Build.PL
Checking whether your kit is complete...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'SDL_Perl' version '2.0.5'
[EMAIL PROTECTED]:~/perl/game/sdl-perl/SDL_Perl-2.0.5> ./Build
lib/SDL/Config.pm -> blib/lib/SDL/Config.pm
cc -I/usr/local/lib/perl5/5.8.2/i686-linux/CORE -fpic -I/usr/include/SDL -I/
usr/include/GL -I/usr/include/SDL -D_REENTRANT -DHAVE_GL -DHAVE_SDL -fPIC 
- -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
- -D_FILE_OFFSET_BITS=64 -O3 -o src/SDL/OpenGL.o src/SDL/OpenGL.c
OpenGL.xs:16:17: glu.h: No such file or directory
OpenGL.xs: In function `sdl_perl_tess_end_callback':
OpenGL.xs:122: error: `GLU_TESS_BEGIN' undeclared (first use in this 
function)
OpenGL.xs:122: error: (Each undeclared identifier is reported only once
OpenGL.xs:122: error: for each function it appears in.)
OpenGL.xs: In function `sdl_perl_tess_begin_callback':
OpenGL.xs:144: error: `GLU_TESS_BEGIN' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_error_callback':
OpenGL.xs:167: error: `GLU_TESS_ERROR' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_edge_flag_callback':
OpenGL.xs:190: error: `GLU_TESS_EDGE_FLAG' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_vertex_callback':
OpenGL.xs:213: error: `GLU_TESS_VERTEX' undeclared (first use in this 
function)
OpenGL.xs: In function `sdl_perl_tess_combine_callback':
OpenGL.xs:244: error: `GLU_TESS_COMBINE' undeclared (first use in this 
function)
error building so file from 'src/SDL/OpenGL.c' at /usr/local/lib/perl5/
site_perl/5.8.2/Module/Build/Base.pm line 1955.

Ugh :(

It seems I needed to install mesaglu-devel. I think the Build script should 
pick up these dependecies and warn if they are missing. However, I have no 
idea how to add them.

After that:

[EMAIL PROTECTED]:~/perl/game/sdl-perl/SDL_Perl-2.0.5> ./Build test
t/apppm............ok
t/cdrompm..........ok
t/colorpm..........ok
t/cursorpm.........ok
t/eventpm..........ok
t/fontpm...........ok
t/mixerpm..........ok
t/musicpm..........ok
t/palettepm........ok
t/rectpm...........ok
t/sdlpm............ok
t/soundpm..........ok
t/surfacepm........ok
t/timerpm..........ok
t/toolfontpm.......ok
t/toolgraphicpm....ok
t/ttfontpm.........ok
All tests successful.
Files=17, Tests=68,  1 wallclock secs ( 1.01 cusr +  0.08 csys =  1.09 CPU)

Hooray!

Cheers,

Tels

- -- 
 Signed on Sat Feb 21 14:44:18 2004 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Die deutsche Zensoren  - - - - - - - - - - - - - - - - - - - - - - - - -
 - - - - - - - - - - - - - - - - - - - - - - - - - - Dummköpfe - - - - - -
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - - - - - - - - - - - -." Heinrich Heine

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBQDdhmncLPEOTuEwVAQEVcQf+Lxebtcb0+5XSvwllqCE/CYH4woOecbMz
ksUJRVWf6aLop6ol8uV3zL3kNuzi8mbbM4daEUJ4HUxxmdL57QRrRsJzsYXWWd6X
dOKlTFpL0e6mMnhBJaDMOu5v46LDn7+4u/LD37rIRbM5XNxGz+RlSWL7CecYVVcX
/+6LoqP8uM0zrikV9g0jfukmaLqW4twoCIVloWqI4uQupqsBbZ01irzVc47TwmDN
J21sEfi3ArYIayh/F407qZHMbtj7eb7LmDy/CUkk64E6EBgquEFSQxUeev9eoCDa
GB/gt9bt1Pp9i6XuyMPz0euoOoxYUTZRCQon/4ayiFqjgp8UUBawGw==
=0SZA
-----END PGP SIGNATURE-----

Reply via email to