Date: Sun, 25 Jun 2000 21:17:07 -0700 From: Doug Barton <DougB@gorean.org> To: "Dampure, Pierre Y." <pierre.dampure@alveley.org> Cc: current@FreeBSD.ORG, Mark Murray <markm@FreeBSD.ORG> Subject: Re: Vendor import of Perl 5.6 Message-ID: <3956D943.5A898BE9@gorean.org> References: <395651B3.441FACFB@alveley.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------A59763508FAEFA8A720AAC6C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Dampure, Pierre Y." wrote: > > Apologies if this has already been reported, but `make world` is > currently failing when trying to generate Config.pm for the newly > imported Perl 5.6 (failure at line 20 of configpm) Second that. Clean /usr/obj, make cleandir in /usr/src, problem still there. cd /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl; make build-tools cd /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl && make build-tools Extracting config.h (with variable substitutions) Extracting cflags (with variable substitutions) Extracting writemain (with variable substitutions) Extracting myconfig (with variable substitutions) Invalid conversion in sprintf: "%v" at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 20. Use of uninitialized value at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 432. /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm: Config.pm not valid at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 432. *** Error code 255 Even when I got past that problem by setting '$myver = $];' in configpm, the next problem that came up was: Use of uninitialized value at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 433. /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm: Config.pm not valid at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 433. *** Error code 255 This indicates to me that configpm is not reading Config.pm from the obj directory, which does contain the correct value that configpm is looking for at line 433. I'm not sure what the fix is, but hopefully this'll help mark down the road. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? --------------A59763508FAEFA8A720AAC6C Content-Type: text/plain; charset=us-ascii; name="perlfix" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="perlfix" Index: configpm =================================================================== RCS file: /usr/ncvs/src/contrib/perl5/configpm,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 configpm --- configpm 2000/06/25 11:02:51 1.1.1.2 +++ configpm 2000/06/26 03:58:14 @@ -17,7 +17,8 @@ open CONFIG, ">$config_pm" or die "Can't open $config_pm: $!\n"; -$myver = sprintf "v%vd", $^V; +#$myver = sprintf "v%vd", $^V; +$myver = $]; print CONFIG <<'ENDOFBEG_NOQ', <<"ENDOFBEG"; package Config; --------------A59763508FAEFA8A720AAC6C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3956D943.5A898BE9>