On Nov 5, 2005, at 9:44 PM, Jeremy Mates wrote:

* Sherm Pendley <[EMAIL PROTECTED]>
A finer-grained method, supported by Perl 5.8.x and newer, is to use
the "DESTDIR" option when installing. You need to download and build
the modules by hand, beginning with the normal recipe - "perl
Makefile.PL; make; make test".

There is no need to hand install modules. Using the CPAN module, the
DESTDIR option can be set as a 'make_install_arg' argument in the CPAN
configuration file, for example:

$ grep DESTDIR ~/.cpan/CPAN/MyConfig.pm
  'make_install_arg' => q[DESTDIR=/var/tmp],

However! With modules being installed under /var/tmp/<PREFIX>, building
prerequisite modules will be tricky, unless these modules are first
installed onto the system

That's why I suggested building them by hand. CPAN is quite useful most of the time, but in my experience putting together the FatCamel packages, it was mostly more trouble than it was worth. Although, I'm prepared to believe that FatCamel could be an exception to the rule - it was a complete Perl installation, and several dozen modules, and the C libraries that the XS modules depended on.

TMTOWTDI. YMMV.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

Reply via email to