autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is this perl checking code not working for me?


From: Keith Marshall
Subject: Re: Why is this perl checking code not working for me?
Date: Tue, 11 Aug 2009 20:24:14 +0100
User-agent: KMail/1.9.10

On Tuesday 11 August 2009 20:07:40 Dr. David Kirkby wrote:
> > Try running that yourself, from the shell prompt; do you see
> > what the problem is now?  (Hint: you have a minor version of 8,
> > but you require a much later minor version of 600 or more --
> > it's arcane, but it seems to be how perl interprets that version
> > number).
>
> No, it seems pretty logical to me.
>
> putting a requirement of 5.6.0 does not generate any error.
>
>
> address@hidden:[~] $ perl -e 'require 5.6.0'
> address@hidden:[~] $ perl -e 'require 5.7.0'
> address@hidden:[~] $ perl -e 'require 5.8.0'
> address@hidden:[~] $ perl -e 'require 5.9.0'
> Perl v5.9.0 required--this is only v5.8.4, stopped at -e line 1.

Hmm.  On my Ubuntu-8.04 box, I did:

  $ perl -e 'require 5.8'
  Perl v5.800.0 required (did you mean v5.008?)--this is only v5.8.8, 
  stopped at -e line 1.
  
which does seem arcane (to me).  However:

  $ perl -e 'require 5.8.0'
  $ perl -e 'require 5.9.0'
  Perl v5.9.0 required--this is only v5.8.8, stopped at -e line 1.

does match your experience.  Sorry for any confusion.

Russ has already spotted the more likely cause of your problem.

-- 

Regards,
Keith.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]