[Catalyst] Makefile.PL seems to be ignoring INSTALL_BASE
Robert Rothenberg
robrwo at gmail.com
Sat Jan 21 15:16:31 GMT 2012
So we are trying to set up Catalyst on a freshly minted CentOS 6 machine.
On this machine, we've decided to build Perl 5.12.3 to use with web
applications and install in /opt/perl rather than use the vendor's Perl.
Moose, DBIx::Class, Catalyst and several other modules were installed in
/opt/perl/lib using cpanminus (/opt/perl/bin/cpanm).
We want to install the application in /opt/appname.
But when we run
/opt/perl/bin/perl Makefile.PL INSTALL_BASE=/opt/appname
Module::Install wants to install the dependencies in /opt/perl instead of
/opt/appname.
The most recent ExtUtils::MakeMaker and related modules are installed.
We've been able to work around this by building the distribution and using
cpanminus to install it.
But this seems like a hack.
Is there a better way to tell the installer to install additional modules in
the base?
Thanks,
Rob
More information about the Catalyst
mailing list