delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/11/14:02:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D778D78.4040807@cornell.edu>
References: <4D767FFD DOT 20001 AT cornell DOT edu> <4D76DB1C DOT 4020804 AT cpan DOT org> <4D778D78 DOT 4040807 AT cornell DOT edu>
Date: Fri, 11 Mar 2011 20:02:10 +0100
Message-ID: <AANLkTikahGUFhfCsicXB1p1C3y9OYY3JcFMSNpDCJiau@mail.gmail.com>
Subject: Re: Perl: Operation "bool": no method found
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
Cc: Ken Brown <kbrown AT cornell DOT edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

2011/3/9 Ken Brown:
> On 3/8/2011 8:42 PM, Rafael Kitover wrote:
>> On 3/8/2011 2:14 PM, Ken Brown wrote:
>>>
>>> I'm trying to build biber (http://biblatex-biber.sourceforge.net/) for
>>> Cygwin. =A0It is written in Perl. =A0The documentation says to start by
>>> running `perl Build.PL' in order to make sure that I have all the
>>> required modules. =A0This fails as follows:
>>>
>>> $ perl Build.PL
>>> Operation "bool": no method found, argument in overloaded package
>>> version at /usr/lib/perl5/5.10/Module/Build/Base.pm line 1568.
>>>
>>> Line 1568 of Base.pm is
>>>
>>> =A0 return $^V ? $self->perl_version_to_float(sprintf "%vd", $^V) : $];
>>>
>>> I know practically nothing about Perl, but I was hoping I could still
>>> build biber by following instructions. =A0I would appreciate any hints =
as
>>> to how to track down the problem. =A0I'm attaching Build.PL as well as
>>> cygcheck output.
>>>
>>> Ken
>>
>> I had similar bizarre error messages related to $^V, specifically the
>> construct sprintf "%vd", $^V, in my case related to CPAN::Reporter for
>> doing test reports from cpan shell.
>>
>> This is something related to the $^V being a version.pm object, as it is
>> in new perls, but the version class not being available for some reason,
>> hence perl trying to call nonexistant overloaded methods.
>>
>> Reini, what do you think?
>
> Problem solved: I asked for help on the biblatex-biber forum and was told
> that Cygwin's Module::Build module is outdated and needs to be updated via
>
> =A0perl -MCPAN -e "install Module::Build"
>
> This worked.

Oh my, Module::Build is my special friend and should die a painful death IM=
HO.
Looks like I need to roll another small update this weekend.
--=20
Reini Urban

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019