jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
I tried to compile it like#!/usr/bin/perl -l use strict; use warnings; use DateTime ; print "hello" ;
and$> perlcc -o out t20.pl /usr/bin/perlcc: t20.pl did not compile, which can't happen:Starting c +ompile Walking tree DateTime::Locale::Base saved (it is in DateTime::Locale::root's @ISA) DateTime::TimeZone saved (it is in DateTime::TimeZone::UTC's @ISA) DateTime::TimeZone::OffsetOnly saved (it is in DateTime::TimeZone::Fl +oating's @ISA) DateTime saved (it is in DateTime::Infinite's @ISA) Prescan Saving methods Can't locate object method "IVX" via package "B::NV" at /usr/lib/perl +5/5.8.8/i586-linux-thread-multi/B/C.pm line 650. CHECK failed--call queue aborted.
$> perl -MO=CC,-ot20.c t20.pl Can't locate object method "_save_common_middle" via package "B::FAKEO +P" at /usr/lib/perl5/5.8.8/i586-linux-thread-multi/B/C.pm line 389. CHECK failed--call queue aborted.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error when compiling perl-script to executable
by citromatik (Curate) on Jul 06, 2007 at 11:11 UTC | |
by jasonk (Parson) on Jul 06, 2007 at 15:24 UTC | |
by archfool (Monk) on Jul 06, 2007 at 17:40 UTC | |
|
Re: Error when compiling perl-script to executable
by fenLisesi (Priest) on Jul 06, 2007 at 10:57 UTC | |
|
Re: Error when compiling perl-script to executable
by bart (Canon) on Jul 06, 2007 at 10:58 UTC | |
by Corion (Patriarch) on Jul 06, 2007 at 11:08 UTC | |
by dave_the_m (Monsignor) on Jul 06, 2007 at 11:30 UTC |