PerlGameDev / SDL

Rehashing the old perl SDL binding on cpan.org
http://search.cpan.org/dist/SDL
GNU General Public License v2.0
81 stars 29 forks source link

SDL upgradtion failure." SDL.h'tempfile' can't be called as a method at /usr/share/perl5/Alien/SDL.pm line 243" #256

Open VAR121 opened 10 years ago

VAR121 commented 10 years ago

I am trying to install SDL using "cpanm -i SDL", I already have the older version of SDL. Upgarded the Module::Build to 0.42003.

Cpanm build log has the below BEGIN block. *_BEGIN_** Searching SDL on cpanmetadb ... --> Working on SDL Fetching http://search.cpan.org/CPAN/authors/id/J/JT/JTPALMER/SDL-2.540.tar.gz -> OK Unpacking SDL-2.540.tar.gz Entering SDL-2.540 Checking configure dependencies from META.yml Checking if you have Tie::Simple 0 ... Yes (1.03) Checking if you have File::ShareDir 1.0 ... Yes (1.03) Checking if you have Capture::Tiny 0 ... Yes (0.23) Checking if you have File::Find 0 ... Yes (1.19) Checking if you have Module::Build 0.4 ... Yes (0.4203) Checking if you have ExtUtils::CBuilder 0.260301 ... Yes (0.280205) Checking if you have Alien::SDL 1.426 ... Yes (1.428) Configuring SDL-2.540 Running Build.PL *** !!!WARNING!!! This Release breaks back compatibility support with versions 2.4x and below


Using 'My::Builder::Unix' class ... [Alien::SDL] Testing header(s): SDL.h'tempfile' can't be called as a method at /usr/share/perl5/Alien/SDL.pm line 243. Detecting available libraries ... -> N/A -> FAIL Configure failed for SDL-2.540. See /home/var121/.cpanm/build.log for details. *END*******

jtpalmer commented 10 years ago

What version of File::Temp do you have? Try upgrading that.

VAR121 commented 10 years ago

Hello,

Successfully installed File-Temp-0.2304 (upgraded from 0.2301). Even after upgrading File::Temp the issue does not change.

Thanks in advance

On 21/12/13 04:17, Jeffrey T. Palmer wrote:

What version of File::Temp do you have? Try upgrading that.

— Reply to this email directly or view it on GitHub https://github.com/PerlGameDev/SDL/issues/256#issuecomment-31047505.

Vakkalagadda A Ramesh Jr. Research Fellow Lab of Computational Biology Centre for DNA Fingerprinting and Diagnostics (CDFD) Nampally Hyderabad-500001 Lab: 040-24749368 Mobile: 08686363632

jtpalmer commented 10 years ago

It looks like there was a bug in Alien::SDL, upgrade to Alien::SDL 1.440 and that should fix the problem.