tphyahoo has asked for the wisdom of the Perl Monks concerning the following question:

I am on a quest to make the catalyst bundle install smoothly for non-root users on a shared webserver host, as I think this will encourage more widespread experimentation and adoption.

This is a challenging install because there are a huge number of dependencies, some of which use the old Extutils::Makemaker, and some the newer Module::Build.

After much back and forth on the mailing list, it seems that in theory this should work for non-root users if they have the newest version of cpan (v 1.87), which has configuration options for module build, including mbuildpl_arg and some other related options that get written into MyConfig.pm.

I am not a CPAN expert, so before trying to configure this myself I'd like to ask if anyone in monk world has configured a shared webserver for the newest version of cpan. If they have, would they share their MyConfig.pm, .bashrc, and other relevant configuration info for getting this to work.

I am looking for something like the information provided at Using CPAN with a non-root account, which also includes a sample MyConfig.pm -- except it's out of date and doesn't have anything for the mbuildpl_arg option and friends.

I think making this information more available will help in a wide range of scenarios, not just catalyst.

Before posting this there were no hits in SuperSearch for mbuildpl_arg so... now there's at least 1 :)

  • Comment on Seeking .bashrc/MyConfig.pm examples for cpan 1.87, with mbuildpl_arg, suitable for shared hosting

Replies are listed 'Best First'.
Re: Seeking .bashrc/MyConfig.pm examples for cpan 1.87, with mbuildpl_arg, suitable for shared hosting
by tinita (Parson) on Jun 04, 2006 at 02:15 UTC
    in the .bashrc:
    export PERL5LIB=/path/to/your/lib

    in the MyConfig.pm:
    'makepl_arg' => q[LIB=/path/to/your/lib PREFIX=/path/to/your/lib],
    i don't know about mbuildpl_arg, should be similar.

    also see Personal library with CPAN