Click here to get back home

Problems with Perl 5.10 on Mac OS 10.5.2

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problems with Perl 5.10 on Mac OS 10.5.2 Jim Gibson 03-21-2008
Get Chitika Premium
Posted by Jim Gibson on March 21, 2008, 3:44 pm
Please log in for more thread options

This is a heads-up for Mac Perl users.

Yesterday I took the plunge and downloaded the Perl 5.10.0 source and
built it on my Mac Pro running OSX 10.5.2. I used all of the default
configuration parameters, except building for threads, for which I said
"yes".

The build went OK, but 'make test' had one error in lib/locale.t,
something about a missing locale for test 99, which appears to be the
"C" locale.

I went ahead and did the install, anyway, since I am not too concerned
about locales. Everything looked fine, and I was able to update a CPAN
module that wasn't testing well under perl 5.10.

Today I ran the cpan shell to install a module and encountered the
following error:

jgibson 129% cpan
CPAN: File::HomeDir loaded ok (v0.65)
Can't locate Mac/Files.pm in @INC (@INC contains: /sw/lib/perl5
/sw/lib/perl5/darwin /Users/gibson/Library/Perl
/Users/gibson/Library/Perl/CPAN
/usr/local/lib/perl5/5.10.0/darwin-thread-multi-2level
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/darwin-thread-multi-2level
/usr/local/lib/perl5/site_perl/5.10.0
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/Users/gibson/Library/Perl/src/Mac-Carbon-0.77) at
/usr/local/lib/perl5/site_perl/5.8.8/File/HomeDir/Darwin.pm line 54.

The Mac::Files entry at CPAN points to:

(<http://search.cpan.org/~cnandor/Mac-Carbon-0.77/Files/Files.pm>)

I downloaded the tar file and tried to install with the "tar x;perl
Makefile.PL;make;make test;make install" sequence. "make test" fails on
AppleEvents/t/event with a "Too many arguments to AEBuildParameters()"
error.

This looks like a 10.5.2 incompatibility. There are already 2 bugs
submitted to CPAN for what looks like this problem.

Has anybody else seen this problem? Is there a workaround? If not, I
will have to wait for the hopefully forthcoming fix. :(

--
Jim Gibson

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Similar ThreadsPosted
Problems with PERL CGI March 31, 2006, 5:17 pm
perl ftp problems February 15, 2007, 12:38 pm
3 problems with perl. September 2, 2006, 1:35 pm
Perl Script Problems January 24, 2005, 3:46 am
Problems Installing perl 5.8.7 November 9, 2005, 7:03 am
Problems Installing perl 5.8.7 November 9, 2005, 7:03 am
Problems after updating Net::SSH:Perl March 2, 2006, 10:56 am
Problems installing DBI module on perl August 9, 2004, 10:40 am
problems with Perl RegEx match December 27, 2004, 5:07 pm
Perl and SMTP mail problems June 23, 2005, 5:12 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap