Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 77920
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: Morten.Bjornsvik [...] evry.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: DateTime.pm v075 do not install into x86_64-linux folder
Date: Wed, 20 Jun 2012 13:33:53 +0200
To: "bug-DateTime [...] rt.cpan.org" <bug-DateTime [...] rt.cpan.org>
From: Bjørnsvik Morten <Morten.Bjornsvik [...] evry.com>
Hi all I tried to upgrade DateTime from v0.50 to V.75 DateTime installs here: : Prepending /root/.cpan/build/DateTime-0.75-SOd13E/blib/arch /root/.cpan/build/DateTime-0.75-SOd13E/blib/lib to PERL5LIB for 'install' Building DateTime Installing /opt/perl/lib/site_perl/5.8.9/DateTime.pm Installing /opt/perl/lib/site_perl/5.8.9/DateTimePP.pm Installing /opt/perl/lib/site_perl/5.8.9/DateTimePPExtra.pm Installing /opt/perl/lib/site_perl/5.8.9/DateTime/Duration.pm Installing /opt/perl/lib/site_perl/5.8.9/DateTime/Helpers.pm Installing /opt/perl/lib/site_perl/5.8.9/DateTime/Infinite.pm Installing /opt/perl/lib/site_perl/5.8.9/DateTime/LeapSecond.pm Installing /opt/perl/man/man3/DateTime::Infinite.3 Installing /opt/perl/man/man3/DateTime.3 Installing /opt/perl/man/man3/DateTime::Duration.3 Installing /opt/perl/man/man3/DateTime::LeapSecond.3 DROLSKY/DateTime-0.75.tar.gz ./Build install -- OK But when I run: /opt/perl/bin/perl -e 'use DateTime; print "$DateTime::VERSION\n";' 0.50 cat /opt/perl/lib/site_perl/5.8.9/DateTime.pm | grep DateTime::VERSION $DateTime::VERSION = '0.75'; $serialized .= "version:$DateTime::VERSION"; find /opt/perl/ -name 'DateTime.pm' /opt/perl/lib/site_perl/5.8.9/x86_64-linux/DateTime.pm /opt/perl/lib/site_perl/5.8.9/DateTime.pm cat /opt/perl/lib/site_perl/5.8.9/x86_64-linux/DateTime.pm | grep VERSION our $VERSION; $VERSION = '0.50'; XSLoader::load( 'DateTime', $DateTime::VERSION ); $serialized .= "version:$VERSION"; So it seems to me it is forgetting to install under /opt/perl/lib/site_perl/5.8.9/x86_64-linux/ Doing this as root seem to fix it: cp -rv /opt/perl/lib/site_perl/5.8.9/DateTime* /opt/perl/lib/site_perl/5.8.9/x86_64-linux/ Then most of our code seem to work fine. A bit ugly? Is it my custom build perl 5.8.9 under /opt/perl that confuses it? I'm building on an opensuse 11.4 X86_64 with system perl 5.12.3 Thanks -- Morten Bjoernsvik Senior Developer Secana Evry Card Services AS
Subject: Re: [rt.cpan.org #77920] DateTime.pm v075 do not install into x86_64-linux folder
Date: Wed, 20 Jun 2012 11:39:05 -0500 (CDT)
To: Bjørnsvik Morten via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Wed, 20 Jun 2012, Bjørnsvik Morten via RT wrote: Show quoted text
> I tried to upgrade DateTime from v0.50 to V.75 > > DateTime installs here: > : > Prepending /root/.cpan/build/DateTime-0.75-SOd13E/blib/arch /root/.cpan/build/DateTime-0.75-SOd13E/blib/lib to PERL5LIB for 'install' > Building DateTime > Installing /opt/perl/lib/site_perl/5.8.9/DateTime.pm > Installing /opt/perl/lib/site_perl/5.8.9/DateTimePP.pm > Installing /opt/perl/lib/site_perl/5.8.9/DateTimePPExtra.pm > Installing /opt/perl/lib/site_perl/5.8.9/DateTime/Duration.pm > Installing /opt/perl/lib/site_perl/5.8.9/DateTime/Helpers.pm > Installing /opt/perl/lib/site_perl/5.8.9/DateTime/Infinite.pm > Installing /opt/perl/lib/site_perl/5.8.9/DateTime/LeapSecond.pm > Installing /opt/perl/man/man3/DateTime::Infinite.3 > Installing /opt/perl/man/man3/DateTime.3 > Installing /opt/perl/man/man3/DateTime::Duration.3 > Installing /opt/perl/man/man3/DateTime::LeapSecond.3 > DROLSKY/DateTime-0.75.tar.gz > ./Build install -- OK
My guess is that for some reason DateTime thought it couldn't compile XS on your system (see the actual shipped Build.PL for how it determines this). Why it thought this, I couldn't tell you, but I'd suggest starting by installing Module::Build from CPAN, which will pull in all the required C-building deps. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/