Chaz Meyers (cpm) wrote,
Chaz Meyers

CPAN as a non-root user doesn't need to be painful.

I had my biggest "der" moment ever last night. For both personal and work reasons, I've been fighting with installing Perl modules on webhosts where I do not have root for a long time. CPAN provides some documentation on doing this, but what they provide doesn't seem to do enough for every module, and seems to especially break when CPANPLUS is involved.

After Googling for the answer for the billionth time, I came across Bugzilla's recommendation: Compile your own perl in your home directory and don't worry about it.

This works like a charm! I had to tweak my CPAN and CPANPLUS config files a little, but I think that was just because I was trying to do things the hard way earlier. It takes up more space, but now at least I get to play with Catalyst in shared hosting environments without any problems at all. (Wow. Catalyst isn't in the top three when googling for it? Kind of odd for an OMGRADWEBTWOPOINTOHFRAMEWORK.)
Tags: catalyst, computers, perl, web2.0

  • My tweets

    Mon, 08:57: RT @ thomdunn: New inspiration just dropped

  • My tweets

    Fri, 23:43: RT @ TheParkerJam: Have any fellow EST @ Fusion fans been following this year? Between new time zone and the gaps between games, I…

  • My tweets

    Fri, 10:53: RT @ TheParkerJam: I can now say I'm in an Among Us YouTube video that has features Kimi, Ellum, and Chilled. 🤯(OK, it's a…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.