You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Wed, 20 Jun 2012, Bjørnsvik Morten via RT wrote:
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.orghttp://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
============================================================/
Migrated from rt.cpan.org #77920 (status was 'stalled')
Requestors:
From morten.bjornsvik@evry.com on 2012-06-20 11:34:12:
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
The text was updated successfully, but these errors were encountered: