Re: New SDL Perl in Subversion

[email protected] (David Goehrig)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Warnings schwarnings :)

The one on line 4420 is interesting, as I haven't seen that one before.

The other one is probably just a template fix.

As for the tests not working, someone really needs to go through and fix 
the tests.  But as I put very little weight in them (as more often than 
not the test is broken, and not the underlying code), I'm in no rush to 
fix them.  Volunteers are more than welcome to take on that task.

Thanks for the report

Dave


John Gabriele wrote:
> On 3/11/07, David Goehrig <[email protected]> wrote:
>> Everybody,
>>
>> I just went through the build process on Mac OS X and Debian, and [snip]
>>
>> Assuming your environment is setup properly:
>>
>> svn co http://sdlperl.nexttolast.com/sdlperl
>> cd sdlperl
>> perl Build.PL
>> ./Build
>> ./Build install
>
> Thanks Dave,
>
> I'm on Debian, though using my own Perl in /opt. I've got most of the
> SDL prereq's installed via apt, except for SDL_vnc and SDL_svg (which
> I couldn't find via apt-cache search). SDL_vnc 1.0.0 built and
> installed fine from source. SDL_svg 1.1.9 failed, complaining about
> missing files like libxml/SAX.h, libxml/xmlmemory.h, and
> libxml/hash.h.
>
> Incidentally, I've got libsdl-console and libsdl-console-dev installed
> via apt as well (I mention this because, although console isn't
> mentioned as a prereq in the SDL_perl README, I see console mentioned
> as an issue in the ./Build test output).
>
> The SDL_perl ./Build seemed to go fine, though gave me the following 
> messages:
>
> SDL/Perl.xs: In function 'XS_SDL__Perl_Sound_AvailableDecoders':
> SDL/Perl.xs:4420: warning: ISO C90 forbids mixed declarations and code
> SDL/Perl.xs: In function 'XS_SDL__Perl_Sound_NewSampleFromMem':
> SDL/Perl.xs:4461: warning: assignment makes pointer from integer 
> without a cast
>
> ./Build test had a few issues and told me this:
>
> t/apppm............Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/apppm............ok
> t/cdrompm..........ok
> t/colorpm..........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/colorpm..........ok
> t/cursorpm.........NOK 1/2
> #   Failed test 'use SDL::Cursor;'
> #   at t/cursorpm.t line 44.
> #     Tried to use 'SDL::Cursor'.
> #     Error:  Bareword "SDL::DEBUG" not allowed while "strict subs" in
> use at blib/lib/SDL/Cursor.pm line 39.
> # Compilation failed in require at (eval 3) line 2.
> # BEGIN failed--compilation aborted at t/cursorpm.t line 44.
> t/cursorpm.........ok 2/2# Looks like you failed 1 test of 2.
> t/cursorpm.........dubious
>        Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 1
>        Failed 1/2 tests, 50.00% okay
> t/eventpm..........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/eventpm..........ok
> t/fontpm...........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/fontpm...........ok
> t/mixerpm..........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/mixerpm..........ok
> t/mpegpm...........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/mpegpm...........ok
> t/musicpm..........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/musicpm..........ok
> t/opengl...........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/opengl...........ok
> t/palettepm........ok
> t/rectpm...........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/rectpm...........ok
> t/sdlpm............Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/sdlpm............ok
> t/soundpm..........ok
> t/surfacepm........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/surfacepm........ok
> t/timerpm..........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/timerpm..........ok
> t/toolfontpm.......Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/toolfontpm.......ok
> t/toolgraphicpm....Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/toolgraphicpm....ok
> t/ttfontpm.........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/ttfontpm.........ok
> t/videopm..........Subroutine BEGIN redefined at blib/lib/SDL.pm line 40.
> t/videopm..........ok
> Failed Test  Stat Wstat Total Fail  List of Failed
> ------------------------------------------------------------------------------- 
>
> t/cursorpm.t    1   256     2    1  1
> Failed 1/20 test scripts. 1/75 subtests failed.
> Files=20, Tests=75,  3 wallclock secs ( 2.41 cusr +  0.21 csys =  2.62 
> CPU)
> Failed 1/20 test programs. 1/75 subtests failed.
>
> Hope that's useful.
>
> Thanks!
> ---John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.