Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML::RSS Install Fails on Mac OS X 10.6 (Perl 5.10)

10 views
Skip to first unread message

Jerry Krinock

unread,
Nov 24, 2009, 3:03:17 AM11/24/09
to
After upgrading from Mac OS 10.5 to 10.6, I found as usual that most
of my Perl modules were gone; also Apple upgraded to Perl 5.10.

So, I reinstalled stuff using cpan, but XML::RSS failed after several
tries. It seems to follow the prerequisite tree through DateTime::
and then things start to look bad when it tries to install
Params::Validate. Does anyone know what might be wrong? I tried it
several times, also tried to install Params::Validate directly but got
similar results.

Here is the part where it looks like things start to look bad...

Creating new 'Build' script for 'Params-Validate' version '0.92'
Could not read '/Users/jk/.cpan/build/Params-Validate-0.92-ecePzk/
META.yml'. Falling back to other methods to determine prerequisites
No action '-j3' defined, try running the 'help' action.
DROLSKY/Params-Validate-0.92.tar.gz
./Build -j3 -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running Build test
Can't test without successful make

Skipping to the conclusion.....

Running Build for S/SH/SHLOMIF/XML-RSS-1.46.tar.gz
Has already been unwrapped into directory /Users/jk/.cpan/build/XML-
RSS-1.46-a2OKC5

CPAN.pm: Going to build S/SH/SHLOMIF/XML-RSS-1.46.tar.gz

Warning: Prerequisite 'DateTime => 0' for 'S/SH/SHLOMIF/XML-
RSS-1.46.tar.gz' failed when processing 'D/DR/DROLSKY/
DateTime-0.51.tar.gz' with 'make => NO'. Continuing, but chances to
succeed are limited.
Warning: Prerequisite 'DateTime::Format::W3CDTF => 0' for 'S/SH/
SHLOMIF/XML-RSS-1.46.tar.gz' failed when processing 'D/DR/DROLSKY/
DateTime-Format-W3CDTF-0.05.tar.gz' with 'make => NO'. Continuing, but
chances to succeed are limited.
Warning: Prerequisite 'DateTime::Format::Mail => 0' for 'S/SH/SHLOMIF/
XML-RSS-1.46.tar.gz' failed when processing 'D/DR/DROLSKY/DateTime-
Format-Mail-0.3001.tar.gz' with 'make => NO'. Continuing, but chances
to succeed are limited.
No action '-j3' defined, try running the 'help' action.
SHLOMIF/XML-RSS-1.46.tar.gz
./Build -j3 -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running Build test
Can't test without successful make
Running Build install
Make had returned bad status, install seems impossible
Failed during this command:
DROLSKY/Params-Validate-0.92.tar.gz : make NO
DROLSKY/DateTime-Locale-0.44.tar.gz : make NO
DROLSKY/DateTime-0.51.tar.gz : make NO
DROLSKY/DateTime-TimeZone-1.05.tar.gz : make NO
DROLSKY/DateTime-Format-W3CDTF-0.05.tar.gz : make NO
DROLSKY/DateTime-Format-Mail-0.3001.tar.gz : make NO
SHLOMIF/XML-RSS-1.46.tar.gz : make NO

Running Build install
Make had returned bad status, install seems impossible

Jerry Krinock

unread,
Nov 28, 2009, 11:14:53 PM11/28/09
to
So I solved this problem by downloading from cpan the latest .tar
files for each of the following modules

Params::Validate
DateTime
DateTime::TimeZone
DateTime::Locale
DateTime::Format::Mail
DateTime::Format::W3CDTF
XML::RSS

And then I very carefully merged the contents of their 'lib'
directories into the /Library/Perl/5.10.0 directory on my Mac. I
still believe that Params::Validate was the only one that the cpan
tool wouldn't install, but unfortunately I screwed up on my first
attempt and had several modules manually installed before I realized
what I had done wrong, so I just did them all manually.

Prior to the manual installation, I had tried using the cpan tool on
three different days and it always failed as explained in my previous
post. Also, I updated the cpan tool, i.e. "install cpan", since I
noticed a warning that it was old. But none of this helped the
problem.

So if anyone could explain why the cpan tool might have failed, that
would be nice to know for future reference. Anyhow, XML::RSS seems to
work now, at least for my purposes.

Jerry Krinock

0 new messages