John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
I learned to set it up to use 'sudo' in the build rule of the config, and run it under my user account, rather than having to 'make' as root all the time.
But, when I moved my Catalyst app to another computer (a clone of my actual server), and let Makefile.PL/make pull down the dependencies, things got bad and very weird. One module fails testing, and it fact goes into an infinite recursion loop just loading the module (AUTOLOAD keeps getting called to satisfy blessed), and another module chokes because has is undefined.
I'm wondering if the difference is that the makefile is triggering "cpanplus", not "cpan". I couldn't find the equivalent configuration items (to make it sudo) so I wonder if it's supposed to defer to cpan's configuration, or if it just can't be used that way?
Anyway, it was a real mess and my only way out was to roll back and start over.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpan and cpanplus and toolchain
by educated_foo (Vicar) on Mar 18, 2011 at 02:32 UTC | |
by John M. Dlugosz (Monsignor) on Mar 18, 2011 at 07:53 UTC | |
by Khen1950fx (Canon) on Mar 18, 2011 at 08:50 UTC | |
by John M. Dlugosz (Monsignor) on Mar 19, 2011 at 06:38 UTC | |
by educated_foo (Vicar) on Mar 18, 2011 at 08:41 UTC | |
by John M. Dlugosz (Monsignor) on Mar 19, 2011 at 06:41 UTC | |
by educated_foo (Vicar) on Mar 19, 2011 at 13:50 UTC | |
|