On Mon, Oct 09, 2006, Adam D. Morley wrote: > I believe perl-time now includes DateTime. This is cool. However, it > doesn't seem to work: > > Can't locate DateTime/Locale.pm in @INC (@INC contains: > /opt/openpkg/lib/perl/site_perl/5.8.8/sun4-solaris > /opt/openpkg/lib/perl/site_perl/5.8.8 /opt/openpkg/lib/perl/site_perl > /opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris > /opt/openpkg/lib/perl/vendor_perl/5.8.8 > /opt/openpkg/lib/perl/vendor_perl/5.8.7/sun4-solaris > /opt/openpkg/lib/perl/vendor_perl/5.8.7 /opt/openpkg/lib/perl/vendor_perl > /opt/openpkg/lib/perl/5.8.8/sun4-solaris /opt/openpkg/lib/perl/5.8.8) at > /opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/DateTime.pm line 51. > BEGIN failed--compilation aborted at > /opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/DateTime.pm line 51. > Compilation failed in require at ./test.pl line 13. > BEGIN failed--compilation aborted at ./test.pl line 13. > > Line 51 of DateTime.pm says: > > use DateTime::Locale; > > And: > > # find /opt/openpkg/ -name "Locale*" > /opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/Locale > /opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/Locale > /opt/openpkg/lib/perl/vendor_perl/5.8.8/Locale > /opt/openpkg/lib/perl/5.8.8/Locale > > I didn't see anything in the cvs logs that would indicate that this has > been fixed in -current, but I might've missed something. Or I might've > done something wrong completely.
Although this is a little unusual for Perl modules on CPAN, it seems the DateTime module has DateTime::Locale as its dependency (not vice versa). I've added DateTime::Locale to "perl-time" in CURRENT and now this is fixed with perl-time-5.8.8-20061010 and higher. See http://cvs.openpkg.org/chngview?cn=30597 for details. Thanks for the hint. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org