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
Re: SDL 2.503 Released!
On 2010-07-27, at 8:51 PM, Pip Stuart pipstu...@gmail.com wrote: Hi Kartik, Hi, Thanks for all the awesome SDLPerl work you've been doing. It's much appreciated. I'd like to get back into some SDLPerl hacking to help you test releases features. Earlier today, I tried to run `perl -MCPAN -e install SDL`, but it failed I was hoping you could please help me get it ( the Games::FrozenBubble beta) installed running, when you have time. Force install didn't work I'm not sure what to try next, so please advise. Do you know what I need to do to get around the libpng error should I have a threaded Perl or smpeg too? I've pasted the conclusion of my build below to help diagnose. The png is a error but we have fixed it do: cpan pip pip http://sdlperl.ath.cx/releases/SDL-2.504.tar.gz This will be on CPAN later this week. Also a threaded Perl is not necessecary but recommended. Try frozen-bubble again after installing this. Thanks again, -Pip No problem. On Thu, Jul 22, 2010 at 16:55, Kartik Thakore thakore.kar...@gmail.com wrote: SDL 2.503 has been released on to CPAN. The changes are mostly in the new features added to SDLx::* layer. However as our continuing attempt to improve cross platform support we have some low level fixes. Most interstingly we have begun work on SDLx::Sprite::Animated. Although, volatile, this addition will be highly anticipated. We look forward for more work on it soon. Additionally are the changes in SDLx::Surface. SDLx::Surface is an attempt to provide gfx, pixels, video and low level surface functions in a combined and simpler interface. Since SDLx::Sprite and SDLx::App depends on SDLx::Surface, new features will be propagated and the magic amplified! These are exciting times for SDL in Perl. So come join us for great justice on #sdl irc.perl.org or sdl-de...@perl.org. Kartik Thakore
Re: SDL 2.503 Released!
On 2010-07-27, at 10:04 PM, Pip Stuart pipstu...@gmail.com wrote: Hi again, The `cpan pip` `pip http://sdlperl.ath.cx/releases/SDL-2.504.tar.gz` commands both succeeded but `cpan Games::FrozenBubble` can't find the installed 2.504 tries to install 2.503 then fails again. Hmm that is weird. Run perl -MSDL -e ' print @SDL::VERSION ' I don't understand why it can't find the new one. Do I need to run `pip Games::FrozenBubble` instead or something else to get the pip'd 2.504 to be found as an acceptable prerequisite? No it should work. Thanks, -Pip P.S. I like that the utility is my name. =) I figured you would :) On Tue, Jul 27, 2010 at 18:30, Kartik Thakore thakore.kar...@gmail.com wrote: On 2010-07-27, at 8:51 PM, Pip Stuart pipstu...@gmail.com wrote: Hi Kartik, Hi, Thanks for all the awesome SDLPerl work you've been doing. It's much appreciated. I'd like to get back into some SDLPerl hacking to help you test releases features. Earlier today, I tried to run `perl -MCPAN -e install SDL`, but it failed I was hoping you could please help me get it ( the Games::FrozenBubble beta) installed running, when you have time. Force install didn't work I'm not sure what to try next, so please advise. Do you know what I need to do to get around the libpng error should I have a threaded Perl or smpeg too? I've pasted the conclusion of my build below to help diagnose. The png is a error but we have fixed it do: cpan pip pip http://sdlperl.ath.cx/releases/SDL-2.504.tar.gz This will be on CPAN later this week. Also a threaded Perl is not necessecary but recommended. Try frozen-bubble again after installing this. Thanks again, -Pip No problem.
Re: SDL 2.503 Released!
After `pip http://sdlperl.ath.cx/releases/SDL-2.504.tar.gz` succeeds with: LOCAL/SDL-2.504.tar.gz ./Build install -- OK ... I ran `perl -MSDL -e 'print $SDL::VERSION'` 2.2.6 It's weird. Maybe `pip` doesn't do everything `perl -MCPAN -e install '$@'` would do? I can't think of why a Build would think it installed correctly, yet fail to do so. -Pip On Tue, Jul 27, 2010 at 21:10, Kartik Thakore thakore.kar...@gmail.com wrote: On 2010-07-27, at 10:04 PM, Pip Stuart pipstu...@gmail.com wrote: Hi again, The `cpan pip` `pip http://sdlperl.ath.cx/releases/SDL-2.504.tar.gz` commands both succeeded but `cpan Games::FrozenBubble` can't find the installed 2.504 tries to install 2.503 then fails again. Hmm that is weird. Run perl -MSDL -e ' print @SDL::VERSION ' I don't understand why it can't find the new one. Do I need to run `pip Games::FrozenBubble` instead or something else to get the pip'd 2.504 to be found as an acceptable prerequisite? No it should work. Thanks, -Pip P.S. I like that the utility is my name. =) I figured you would :)
Re: SDL 2.503 Released!
Hi again, The `cpan pip` `pip http://sdlperl.ath.cx/releases/SDL-2.504.tar.gz` commands both succeeded but `cpan Games::FrozenBubble` can't find the installed 2.504 tries to install 2.503 then fails again. I don't understand why it can't find the new one. Do I need to run `pip Games::FrozenBubble` instead or something else to get the pip'd 2.504 to be found as an acceptable prerequisite? Thanks, -Pip P.S. I like that the utility is my name. =) On Tue, Jul 27, 2010 at 18:30, Kartik Thakore thakore.kar...@gmail.com wrote: On 2010-07-27, at 8:51 PM, Pip Stuart pipstu...@gmail.com wrote: Hi Kartik, Hi, Thanks for all the awesome SDLPerl work you've been doing. It's much appreciated. I'd like to get back into some SDLPerl hacking to help you test releases features. Earlier today, I tried to run `perl -MCPAN -e install SDL`, but it failed I was hoping you could please help me get it ( the Games::FrozenBubble beta) installed running, when you have time. Force install didn't work I'm not sure what to try next, so please advise. Do you know what I need to do to get around the libpng error should I have a threaded Perl or smpeg too? I've pasted the conclusion of my build below to help diagnose. The png is a error but we have fixed it do: cpan pip pip http://sdlperl.ath.cx/releases/SDL-2.504.tar.gz This will be on CPAN later this week. Also a threaded Perl is not necessecary but recommended. Try frozen-bubble again after installing this. Thanks again, -Pip No problem.