Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Alien-SDL CPAN distribution.

Report information
The Basics
Id: 49125
Status: resolved
Priority: 0/
Queue: Alien-SDL

People
Owner: Nobody in particular
Requestors: AERO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.01
Fixed in: (no value)



Subject: Win32 Alien::SDL problem
Hello. Alien::SDL try to get http://cloud.github.com/downloads/kthakore/SDL_perl/sdldeps-aug26.zip file to c:\strawberry directory and extract it. But some portable, d: driver version of strawberry perl have different base path. so static path (c:\strawberry) will not work. And http://cloud.github.com/downloads/kthakore/SDL_perl/sdldeps-aug26.zip file is packed all dll files except SDL.dll in c\lib directory. but I think they should be move to c\bin directory.
RT-Send-CC: adam [...] ali.as
Hi, moving Alien::SDL specific discussion from http://rt.cpan.org/Public/Bug/Display.html?id=49003 to this RT. Show quoted text
> But some portable, d: driver version of strawberry perl have different > base path. so static path (c:\strawberry) will not work.
try: my $strawberry = "$Config::Config{prefix}/../" if( $^O =~ /MSWin.*/); instead of: my $strawberry = 'C:\\strawberry\\' if( $^O =~ /Win*/); Putting Alias in Cc: as he could confirm (or decline :) whether this is the right way how get a path to strawberry's directory. -- kmx
Hi, I have added this to patch commit here http://github.com/kthakore/Alien_SDL/commit/43a8d2a73bef6b4a5a049ff2cbe7e1cbe539c44a On Mon Aug 31 03:21:10 2009, KMX wrote: Show quoted text
> Hi, > > moving Alien::SDL specific discussion from > http://rt.cpan.org/Public/Bug/Display.html?id=49003 to this RT. >
> > But some portable, d: driver version of strawberry perl have different > > base path. so static path (c:\strawberry) will not work.
> > try: > > my $strawberry = "$Config::Config{prefix}/../" if( $^O =~ /MSWin.*/); > > instead of: > > my $strawberry = 'C:\\strawberry\\' if( $^O =~ /Win*/); > > Putting Alias in Cc: as he could confirm (or decline :) whether this is > the right way how get a path to strawberry's directory. > > -- > kmx
-- work in progress
Uploaded v0.3 to fix this