logo       

Re: [Module::Build] Re: something broken between Module::Build, CPAN.pm, an: msg#00049

Subject: Re: [Module::Build] Re: something broken between Module::Build, CPAN.pm, and ExtUtils::MakeMaker in 5.8.8 for UINST=1
>>>>> On Wed, 15 Feb 2006 07:36:17 -0500, John Peacock <jpeacock@xxxxxxxxxx> 
>>>>> said:

 jp> Andreas J. Koenig wrote:
 >>>>>>> On Wed, 15 Feb 2006 13:29:34 +1100, Adam Kennedy <cpan@xxxxxx> said:
 >> > So as a result, any MB-using dist cannot be installed on any current
 >> > production Perl. Installation requires an undocumented (to the
 >> > installer) undeclared non-core module MB to be hand-installed because
 >> > any of these dists will work.
 >> 
 >> CPAN.pm 1.83_56 introduced a protection against this sometimes missing
 >> prerequisite declaration. 1.84 is really close to a release, so this
 >> gap is closed then.

 jp> Actually, I was going to point out that I took one of the rare machines 
that I
 jp> have access to that isn't infected with my entire toolchain and installed
 jp> Bundle::CPAN.  The very last thing it installed was Module::Build itself; 
I was
 jp> trying to see how long the Bundle::CPAN that is distributed with CPAN has
 jp> included M::B, but search.cpan.org is having some issues at the present 
time. :(

It entered 2005-12-19, short before 1.80_57. But note, that the
protection I was talking about is not the fact that M:B is in the
Bundle:CPAN. The protecion looks instead like so:

    if (-f "Build.PL" && ! -f "Makefile.PL" && ! exists 
$req->{"Module::Build"}) {
        $CPAN::Frontend->mywarn("  Warning: CPAN.pm discovered Module::Build as 
".
                                "undeclared prerequisite.\n".
                                "  Adding it now as a prerequisite.\n"
                               );


This code ensure that M:B gets installed right at the moment where it
is actually required.

-- 
andreas



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe