Chaz Meyers (cpm) wrote,
Chaz Meyers
cpm

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
Subscribe
  • Post a new comment

    Error

    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.
  • 4 comments