On Nov 10, 2005, at 3:54 PM, Shawn O'Donnell wrote:

At 05:32 PM 11/9/2005, Sherm Pendley wrote:
On the other hand, because it's configured to use a different
architecture, many of the CPAN modules you've installed for this Perl
will not work with the standard Tiger Perl. And if problems do happen
to crop up, they'll be obscure and difficult to diagnose and debug.

Thanks. I'll pay more attention next time I mess with the installation. I guess I told cpan to do the wrong thing last time I upgraded.

It's not really a question of the right vs. wrong configuration. It's just options, whether you want Perl to support multi-threading or not, 32- or 64-bit, etc. A module that was compiled for a multi- threaded Perl isn't compatible with one that was compiled for a single-threaded Perl. Same thing with 32- vs. 64-bit, 5.6.x vs. 5.8.x, etc.

But Perl's installer knows all about that, so it very rarely causes problems. It's why some modules are installed in specific subdirectories such as "5.8.6/darwin-thread-multi-2level". Only a that specific version and configuration of perl will include that subdir in @INC by default.

A few years ago, the problem was much worse - Apple's installation of 5.6.0 on 10.0, 10.1, and 10.2 omitted the version subdirectory, and the configure script for 5.8.0 had problems of its own. That resulted in a lot of problems for folks who tried to upgrade. But that's all ancient history now.

Besides README.macosx, do you know of other good documentation on perl installation hygiene?

The generic README is pretty thorough, and now that we're using a *nix system it's virtually all relevant. The first part of the "ExtUtils::MakeMaker" man page is very informative about what module pieces are installed where.

sherm--

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

Reply via email to