Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Reinstalling perl from scratch on OS X

by silent11 (Vicar)
on Jul 05, 2007 at 03:58 UTC ( #624984=note: print w/replies, xml ) Need Help??

in reply to Reinstalling perl from scratch on OS X

I've installed a separate perl using macports and haven't had any problems installing from CPAN. Once macports is installed all you gotta do is sudo port install perl. You can also sudo port search perl to see what perl related software is available to you via ports.

Has anyone else had good/bad experiences with the port system?


Replies are listed 'Best First'.
Re^2: Reinstalling perl from scratch on OS X
by halley (Prior) on Jul 05, 2007 at 17:47 UTC
    My only beef with the port system, which is not particular to macports, but to any packaging manager, is how you manage the multiple libraries of available modules. If you use port, you should probably use it for common modules too (and there are many, like p5-www-mechanize).

    If it's not on the macports list (and there are many), then it feels ugly to try to use CPAN to manage a second packaging layer on top of that, and not know whether the module you're requesting will end up building a constellation of modules that are unproven on your platform.

    The last alternative is to go through the dependency hell yourself in your own local PERLLIB directory, which is only slightly more unsavory and has the same pitfalls.

    When I did more development on Red Hat Linux, the same deal applied to their repository, but I got familiar with how to repackage most CPAN modules with cpanflute at the time, so I could at least work with one installation library path. With macports, I'm not familiar with this route: how to make a port file for a CPAN module, so it would install safely in the same tree with other port-installed p5-* modules.

    [ e d @ h a l l e y . c c ]

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://624984]
[shmem]: a pupal bug then. Sits there in dev and hatches in production.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2018-02-20 13:58 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (271 votes). Check out past polls.