Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 3748
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: perl [...] crystalflame.net
Cc:
AdminCc:

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



Subject: Makefile.PL fails in an unfriendly manner under 5.003
Hi, I tried to install 0.044 on a 5.003 system, and got the following nasty compilation failure. A simple fix is to change "use 5.00503" to "require 5.00503", which is how I remember it being documented as "the way to be done since perl5.0". Changing use to require works great. garcia% /usr/local/bin/perl5 Makefile.PL || /usr/local/bin/perl5 -e 'use 5.00503;' || /usr/local/bin/perl5 -v syntax error at Makefile.PL line 6, near "use 5.00503" Execution of Makefile.PL aborted due to compilation errors. syntax error at -e line 1, near "use 5.00503" Execution of -e aborted due to compilation errors. This is perl, version 5.003 with EMBED built under sunos at Aug 24 1996 02:27:46 + suidperl security patch Copyright 1987-1996, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit.
Subject: Re: [cpan #3748] Makefile.PL fails in an unfriendly manner under 5.003
From: Autrijus Tang <autrijus [...] autrijus.org>
To: bug-CPANPLUS [...] rt.cpan.org
Date: Tue, 09 Sep 2003 12:20:28 +0800
RT-Send-Cc:
?b δΈ€, 2003-09-08 18:12, Guest via RT ?g?D?G Show quoted text
> Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=3748 > > > Hi, I tried to install 0.044 on a 5.003 system, and got the following nasty compilation failure. A simple fix is to change "use 5.00503" to "require 5.00503", which is how I remember it being documented as "the way to be done since perl5.0". Changing use to require works great.
Hi. We officially target 5.00503 only. But I'm curious: do you mean that CPANPLUS works with 5.003 for installing modules, etc? I seemed to recall it has weird File::Spec-related errors with 5.004... /Autrijus/
Download signature.asc
application/pgp-signature 187b

Message body not shown because it is not plain text.

Date: Tue, 9 Sep 2003 09:58:34 +0200
Subject: Re: [cpan #3748] Makefile.PL fails in an unfriendly manner under 5.003
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
On Tuesday, September 9, 2003, at 06:21 AM, Autrijus Tang via RT wrote: Show quoted text
>> Hi, I tried to install 0.044 on a 5.003 system, and got the following >> nasty compilation failure. A simple fix is to change "use 5.00503" >> to "require 5.00503", which is how I remember it being documented as >> "the way to be done since perl5.0". Changing use to require works >> great.
> > Hi. We officially target 5.00503 only. But I'm curious: do you mean > that CPANPLUS works with 5.003 for installing modules, etc? I seemed > to > recall it has weird File::Spec-related errors with 5.004...
I think he means he got a syntax error when trying it on 5.003. the reason for that is that it says 'use 5.005.03' rather than 'require 5.005.03' -- Jos Boumans How do I prove I am not crazy to people who are? CPANPLUS http://cpanplus.sf.net