Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^4: Installing modules

by Chuma (Beadle)
on Jan 29, 2012 at 17:19 UTC ( #950602=note: print w/replies, xml ) Need Help??

in reply to Re^3: Installing modules
in thread Installing modules

There, I found it, in usr/local. And it has GD installed, so that much seems to work now. Thank you!

It seems a little silly to have two different versions, but maybe that's okay. I'd still like to see if I can get the other one to work as well, but at least this is a big improvement.

Now I'm trying to install SDL, but neither version is very keen on that. The CPAN program spends a good while installing dependencies, and then tells me that "install seems impossible":

Undefined subroutine &My::Builder::Darwin::rel2abs called at inc/My/Bu +ilder/ line 115. FROGGS/SDL-2.536.tar.gz ./Build -- NOT OK Running Build test Can't test without successful make Running Build install Make had returned bad status, install seems impossible Failed during this command: FROGGS/SDL-2.536.tar.gz : make NO

And the PPM program has never heard of SDL, although it provides something called "Alien-SDL" which I've installed but don't know what to do with.

EDIT: Well, I tried downloading the package and installing it manually, and that gave the same error about "rel2abs". Somewhat desperate, I edited the file myself, which felt very very wrong. A quick googling suggested that "File::Spec" was needed, so I added that to the file. Now the testing went fine, and the install didn't seem to have any problems either. Unfortunately neither of the Perl versions acknowledges that I have installed SDL. So maybe it ended up in a third place.

Replies are listed 'Best First'.
Re^5: Installing modules
by MidLifeXis (Monsignor) on Jan 30, 2012 at 14:20 UTC
    It seems a little silly to have two different versions

    I have a policy about the Perl installed with the system / OS - do not touch it. Unless my application is being bundled with the OS or needs to run on the bare OS, I install my own version of Perl. This allows my application to dictate the version of Perl, compile options, library / module versions, and so on without needing to be concerned with a patch or upgrade of the OS hosing my application, or conversely, my application hosing the OS.


      Makes sense. But apparently that's what I've done. So that's good, I guess.
Re^5: Installing modules
by kielstirling (Scribe) on Jan 30, 2012 at 00:51 UTC

    Sound like a big mess .. I would try and remove AS and reinstall it.

    -Kiel R Stirling.
      I suppose, but I'm not sure how that would help. ActivePerl clearly doesn't know SDL, so that's not going to improve, and apart from that, it's working better than any of the other Perls.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950602]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2018-06-21 12:43 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.