Re: SDL 2.503 Released!

[email protected] (Pip Stuart)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
On Wed, Jul 28, 2010 at 14:40, Kartik Thakore <[email protected]> wrote:
> On 2010-07-28, at 2:03 PM, Pip Stuart <[email protected]> wrote:
>> From Gentoo GNU/Linux, I unmerged my old dev-perl/sdl-perl-2.2.6
>> install, then manual Build install worked to have `perl -MSDL -e
>> 'print $SDL::VERSION'` return 2.504. The libpath must've been
>> misordering the versions favoring the distro vendor. Now I got
>> warnings treated as errors with quickness && I'm not sure why.
>>
>> `cpan Games::FrozenBubble`:
>> ...
>> cc1: warnings being treated as errors
>> server/tools.c: In function 'reregister_server_if_needed':
>> server/tools.c:189: error: ISO C90 forbids mixed declarations and code
>> error building server/tools.o from 'server/tools.c' at
>> /usr/lib64/perl5/vendor_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 115.
>>  KTHAKORE/Games-FrozenBubble-2.210.tar.gz
> What version of gcc do you have? I should probably make this portable. I
> will do this as soon as I get home.
sys-devel/gcc version: 4.4.3-r2

> Until the here is anothe game as a condolation prize :) . It was make in a
> couple of days during FISL by crazy brazilians.
>
> http://search.cpan.org/~garu/Games-Zumbis-0.01/lib/Games/Zumbis.pm
>
> cpan Games::Zumbis
  CPAN.pm: Going to build G/GA/GARU/Games-Zumbis-0.01.tar.gz
...
  /usr/bin/make -j3 -j3 -- OK
Running make test
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/zumbi.png (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/mapa.xsd (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/mapas/mapa-de-teste-1.xml (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/AtariSmall.ttf (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/mapas/free_tileset_version_10.png
(unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/gameover.png (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/terrortrack.ogg (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/heroi.png (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/bullet.png (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/heroina.png (unchanged)
Skip blib/lib/auto/share/dist/Games-Zumbis/dados/shot.ogg (unchanged)
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t .. 1/7 Can't load
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/SDL/Mixer/Music/Music.so'
for module SDL::Mixer::Music:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/SDL/Mixer/Music/Music.so:
undefined symbol: perl_clone at
/usr/lib64/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 230.
 at lib/Games/Zumbis/Audio.pm line 13
Compilation failed in require at lib/Games/Zumbis/Audio.pm line 13.
BEGIN failed--compilation aborted at lib/Games/Zumbis/Audio.pm line 13.
Compilation failed in require at -e line 1.

#   Failed test 'Games::Zumbis::Audio loaded ok'
#   at t/00-compile.t line 34.
#                   ''
#     doesn't match '(?s-xim:^\s*Games::Zumbis::Audio ok)'
procurando /home/pip/.cpan/build/Games-Zumbis-0.01-OsJV48/.. at
lib/Games/Zumbis.pm line 18.
t/00-compile.t .. 3/7 Can't load
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/SDLx/Surface/Surface.so'
for module SDLx::Surface:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/SDLx/Surface/Surface.so:
undefined symbol: DPPP_my_newSV_type at
/usr/lib64/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 230.
 at lib/Games/Zumbis/TelaGameOver.pm line 9
Compilation failed in require at lib/Games/Zumbis/TelaGameOver.pm line 9.
BEGIN failed--compilation aborted at lib/Games/Zumbis/TelaGameOver.pm line 9.
Compilation failed in require at -e line 1.
t/00-compile.t .. 4/7
#   Failed test 'Games::Zumbis::TelaGameOver loaded ok'
#   at t/00-compile.t line 34.
#                   ''
#     doesn't match '(?s-xim:^\s*Games::Zumbis::TelaGameOver ok)'
Perl v5.10.0 required--this is only v5.8.8, stopped at
lib/Games/Zumbis/Tiro.pm line 5.
BEGIN failed--compilation aborted at lib/Games/Zumbis/Tiro.pm line 5.
Compilation failed in require at -e line 1.

#   Failed test 'Games::Zumbis::Tiro loaded ok'
#   at t/00-compile.t line 34.
#                   ''
#     doesn't match '(?s-xim:^\s*Games::Zumbis::Tiro ok)'
procurando /home/pip/.cpan/build/Games-Zumbis-0.01-OsJV48/.. at
lib/Games/Zumbis.pm line 18.
libpng warning: Application was compiled with png.h from libpng-1.4.3
libpng warning: Application  is  running with png.c from libpng-1.2.43
libpng error: Incompatible libpng version in application and library

#   Failed test 'zumbis script compiles'
#   at t/00-compile.t line 42.
# 9 - Perl v5.10.0 required--this is only v5.8.8, stopped at bin/zumbis line 2.
# BEGIN failed--compilation aborted at bin/zumbis line 2.
# Looks like you failed 4 tests of 7.
t/00-compile.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests

Test Summary Report
-------------------
t/00-compile.t (Wstat: 1024 Tests: 7 Failed: 4)
  Failed tests:  2, 4-5, 7
  Non-zero exit status: 4
Files=1, Tests=7,  3 wallclock secs ( 0.05 usr  0.01 sys +  1.59 cusr
0.33 csys =  1.98 CPU)
Result: FAIL
Failed 1/1 test programs. 4/7 subtests failed.
make: *** [test_dynamic] Error 4
  GARU/Games-Zumbis-0.01.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports GARU/Games-Zumbis-0.01.tar.gz
Running make install
  make test had returned bad status, won't install without force

>> Thanks for helping me figure these out. =)
>> -Pip
> No problem. Thank you for testing.
Glad to.
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.