Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Help With Perl SDL

by azonicrider (Initiate)
on Sep 23, 2012 at 07:48 UTC ( #995183=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Help With Perl SDL
in thread Help With Perl SDL

I don't know how to copy the whole command prompt text, however here is the first line of the error:
Can't locate object method "config" via package "Alien::SDL" in directory C:\strawberry\blah blah blah


Comment on Re^5: Help With Perl SDL
Re^6: Help With Perl SDL
by Anonymous Monk on Sep 23, 2012 at 08:40 UTC
Re^6: Help With Perl SDL
by syphilis (Canon) on Sep 23, 2012 at 08:47 UTC
    Can't locate object method "config" via package "Alien::SDL" in directory C:\strawberry

    I didn't strike that one. During the 'perl build.pl' step of the Alien::SDL installation, I was presented with 3 options regarding which SDL package to use.
    Did that happen for you ?
    Which option did you take ? (I took the first.)

    To copy'n'paste to/from a cmd.exe shell, click on the little cmd icon that's top left of the cmd.exe window. Then select "Properties", then tick "Quick Edit".
    Then you'll be able to select, copy , and paste using the mouse in the usual way.

    Cheers,
    Rob

      I also chose the first option


      Got it now:
      Can't locate object method "config" via package "Alien::SDL" at C:/str +awberry/Dw inperl/perl/site/lib/SDL/Internal/Loader.pm line 34. Compilation failed in require at SDL.pm line 42. BEGIN failed--compilation aborted at SDL.pm line 42. Compilation failed in require at sdl.pl line 6. BEGIN failed--compilation aborted at sdl.pl line 6. Press any key to continue . . .
        And when does that happen, when you run Build.PL
        This is all rather mysterious.

        What version of Alien::SDL did you end up with ? (I have version 1.438.)
        You'll get your version number by running:
        perl -MAlien::SDL -e "print $Alien::SDL::VERSION"
        Does the following also fail for you:
        perl -MAlien::SDL -e "print Alien::SDL->config('libs')"
        For me, that produces:
        -L"C:\_32\strawberry516\perl\site\lib\auto\share\dist\Alien-SDL\1.438_ +a1ddf79e\bin\..\lib" -lmingw32 -lSDLmain -lSDL -mwindows
        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995183]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-07-25 23:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls