Re: SDL 2.503 Released!
Oh I didn't know you had perl 5.8 ... App::perlbrew would be a simple, non intrusive way of upgrading just. http://search.cpan.org/dist/App-perlbrew/ perlbrew init perlbrew install perl-5.12.1 -D=useithreads perlbrew switch perl-5.12.1 cpan/pip the stuff again. You can switch back to old perl with: perlswitch /usr/bin/perlbrew Kartik Thakore On 2010-07-28, at 6:19 PM, Pip Stuart pipstu...@gmail.com wrote: On Wed, Jul 28, 2010 at 14:40, Kartik Thakore thakore.kar...@gmail.com wrote: On 2010-07-28, at 2:03 PM, Pip Stuart pipstu...@gmail.com 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
Re: SDL 2.503 Released!
On Wed, Jul 28, 2010 at 14:40, Kartik Thakore thakore.kar...@gmail.com wrote: On 2010-07-28, at 2:03 PM, Pip Stuart pipstu...@gmail.com 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
Re: SDL 2.503 Released!
You should set the PERLBREW_ROOT before doing init. Sorry I should have mentioned it. rm -rf perl5 and that line from .bashrc. Kartik Thakore On 2010-07-29, at 12:48 AM, Pip Stuart pipstu...@gmail.com wrote: On Wed, Jul 28, 2010 at 15:25, Kartik Thakore thakore.kar...@gmail.com wrote: Oh I didn't know you had perl 5.8 ... App::perlbrew would be a simple, non intrusive way of upgrading just. OMG! I wish it were simple non-intrusive. ;) http://search.cpan.org/dist/App-perlbrew/ perlbrew init This command presumptuously created a perl5/perlbrew/* sub-dirs in my $HOME! IPERLBREW_ROO moved it to ~/.perlbrew/ instead then had to export to the latter. perlbrew install perl-5.12.1 -D=useithreads r...@ryua7snajl~perlbrew installed r...@ryua7snab2~perlbrew install perl-5.12.1 -D=useithreads Attempting to load conf from /home/pip/.perlbrew/Conf.pm Fetching perl-5.12.1 as /home/pip/.perlbrew/dists/perl-5.12.1.tar.gz Installing perl-5.12.1 into /home/pip/.perlbrew/perls/perl-5.12.1 This could take a while. You can run the following command on another shell to track the status: tail -f /home/pip/.perlbrew/build.log (cd /home/pip/.perlbrew/build; tar xzf /home/pip/.perlbrew/dists/perl-5.12.1.tar.gz;cd /home/pip/.perlbrew/build/perl-5.12.1;rm -f config.sh Policy.sh;sh Configure -de -Dprefix=/home/pip/.perlbrew/perls/perl-5.12.1 -Duseithreads;make;make test make install) '/home/pip/.perlbrew/build.log' 21 Installing perl-5.12.1 failed. See /home/pip/.perlbrew/build.log to see why. If you want to force install the distribution, try: perlbrew --force install perl r...@ryua7snb2g~tail -f .perlbrew/build.log gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now sh: line 0: cd: /home/pip/.perlbrew/build/perl-5.12.1: No such file or directory sh: Configure: No such file or directory make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `test'. Stop. r...@ryua7sndup~echo Yipes! perlbrew switch perl-5.12.1 cpan/pip the stuff again. You can switch back to old perl with: perlswitch /usr/bin/perlbrew Kartik Thakore -Pip