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

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

 



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.
>
>
> drkirkby@smudge:[~] $ perl -e 'require 5.6.0'
> drkirkby@smudge:[~] $ perl -e 'require 5.7.0'
> drkirkby@smudge:[~] $ perl -e 'require 5.8.0'
> drkirkby@smudge:[~] $ 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.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux