Re: SDL 2.503 Released!
[email protected] (Kartik Thakore)
| Newsgroups | perl.sdl.devel |
|---|---|
| Message-ID | <[email protected]> |
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. 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 > > Thanks for helping me figure these out. =) > > -Pip No problem. Thank you for testing. > > On Wed, Jul 28, 2010 at 05:39, Kartik Thakore <[email protected] > > wrote: >> Can you remove the old SDL and reinstall? If not try a manual >> install. >> >> Kartik Thakore >> >> On 2010-07-28, at 12:46 AM, Pip Stuart <[email protected]> wrote: >> >>> 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 <[email protected] >>> > >>> wrote: >>>> >>>> On 2010-07-27, at 10:04 PM, Pip Stuart <[email protected]> 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 :)