Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 1200
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: ELIZABETH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.08
Fixed in: 0.11



Subject: Installing Module::Build with CPAN fails (at least 5.6.1 and higher)
Download (untitled) / with headers
text/plain 5.3k
Probably wrong at the moment it says "Package seems to come without a Makefile.PL". Which is correct, as it is not part of the distribution. Shouldn't there be a Module::Build::Compat style Makefile.PL in the distribution? Show quoted text
cpan> install Module::Build
CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sat, 06 Apr 2002 02:39:40 GMT CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://download.xs4all.nl/pub/mirror/CPAN/authors/01mailrc.txt.gz Going to read /root/.cpan/sources/authors/01mailrc.txt.gz Fetching with LWP: ftp://download.xs4all.nl/pub/mirror/CPAN/modules/02packages.details.txt.gz Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Thu, 27 Jun 2002 13:10:50 GMT There's a new CPAN.pm version (v1.61) available! [Current version is v1.59_54] You might want to try install Bundle::CPAN reload cpan without quitting the current session. It should be a seamless upgrade while we are running... Fetching with LWP: ftp://download.xs4all.nl/pub/mirror/CPAN/modules/03modlist.data.gz Going to read /root/.cpan/sources/modules/03modlist.data.gz Going to write /root/.cpan/Metadata Running install for module Module::Build Running make for K/KW/KWILLIAMS/Module-Build-0.06.tar.gz Fetching with LWP: ftp://download.xs4all.nl/pub/mirror/CPAN/authors/id/K/KW/KWILLIAMS/Module-Buil d-0.06.tar.gz CPAN: MD5 loaded ok Fetching with LWP: ftp://download.xs4all.nl/pub/mirror/CPAN/authors/id/K/KW/KWILLIAMS/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/K/KW/KWILLIAMS/Module-Build-0.06.tar .gz ok Scanning cache /root/.cpan/build for sizes Module-Build-0.06/ Module-Build-0.06/Build.PL Module-Build-0.06/Changes Module-Build-0.06/lib/ Module-Build-0.06/lib/Module/ Module-Build-0.06/lib/Module/Build/ Module-Build-0.06/lib/Module/Build/Base.pm Module-Build-0.06/lib/Module/Build/Compat.pm Module-Build-0.06/lib/Module/Build/Platform/ Module-Build-0.06/lib/Module/Build/Platform/Amiga.pm Module-Build-0.06/lib/Module/Build/Platform/darwin.pm Module-Build-0.06/lib/Module/Build/Platform/Default.pm Module-Build-0.06/lib/Module/Build/Platform/EBCDIC.pm Module-Build-0.06/lib/Module/Build/Platform/MacOS.pm Module-Build-0.06/lib/Module/Build/Platform/MPEiX.pm Module-Build-0.06/lib/Module/Build/Platform/RiscOS.pm Module-Build-0.06/lib/Module/Build/Platform/Unix.pm Module-Build-0.06/lib/Module/Build/Platform/VMS.pm Module-Build-0.06/lib/Module/Build/Platform/VOS.pm Module-Build-0.06/lib/Module/Build/Platform/Windows.pm Module-Build-0.06/lib/Module/Build.pm Module-Build-0.06/MANIFEST Module-Build-0.06/README Module-Build-0.06/t/ Module-Build-0.06/t/basic.t Module-Build-0.06/t/xs.t Module-Build-0.06/t/XSTest/ Module-Build-0.06/t/XSTest/Build.PL Module-Build-0.06/t/XSTest/Changes Module-Build-0.06/t/XSTest/lib/ Module-Build-0.06/t/XSTest/lib/XSTest.pm Module-Build-0.06/t/XSTest/lib/XSTest.xs Module-Build-0.06/t/XSTest/MANIFEST Module-Build-0.06/t/XSTest/test.pl Package seems to come without Makefile.PL. (The test -f "/root/.cpan/build/Module-Build-0.06/Makefile.PL" returned false. ) Writing one on our own (setting NAME to ModuleBuild) CPAN.pm: Going to build K/KW/KWILLIAMS/Module-Build-0.06.tar.gz Checking if your kit is complete... Looks good Writing Makefile for ModuleBuild cp lib/Module/Build/Platform/Unix.pm blib/lib/Module/Build/Platform/Unix.pm cp lib/Module/Build/Compat.pm blib/lib/Module/Build/Compat.pm cp lib/Module/Build/Platform/darwin.pm blib/lib/Module/Build/Platform/darwin.pm cp lib/Module/Build/Base.pm blib/lib/Module/Build/Base.pm cp lib/Module/Build/Platform/VMS.pm blib/lib/Module/Build/Platform/VMS.pm cp lib/Module/Build/Platform/MacOS.pm blib/lib/Module/Build/Platform/MacOS.pm cp lib/Module/Build/Platform/EBCDIC.pm blib/lib/Module/Build/Platform/EBCDIC.pm cp lib/Module/Build/Platform/VOS.pm blib/lib/Module/Build/Platform/VOS.pm cp lib/Module/Build/Platform/Amiga.pm blib/lib/Module/Build/Platform/Amiga.pm cp lib/Module/Build/Platform/RiscOS.pm blib/lib/Module/Build/Platform/RiscOS.pm cp lib/Module/Build/Platform/Default.pm blib/lib/Module/Build/Platform/Default.p m cp lib/Module/Build.pm blib/lib/Module/Build.pm cp lib/Module/Build/Platform/MPEiX.pm blib/lib/Module/Build/Platform/MPEiX.pm cp lib/Module/Build/Platform/Windows.pm blib/lib/Module/Build/Platform/Windows.p m Manifying blib/man3/Module::Build::Compat.3 Manifying blib/man3/Module::Build::Platform::Unix.3 Manifying blib/man3/Module::Build::Platform::darwin.3 Manifying blib/man3/Module::Build::Base.3 Manifying blib/man3/Module::Build::Platform::VMS.3 Manifying blib/man3/Module::Build::Platform::MacOS.3 Manifying blib/man3/Module::Build::Platform::EBCDIC.3 Manifying blib/man3/Module::Build::Platform::VOS.3 Manifying blib/man3/Module::Build::Platform::Amiga.3 Manifying blib/man3/Module::Build::Platform::RiscOS.3 Manifying blib/man3/Module::Build::Platform::Default.3 Manifying blib/man3/Module::Build.3 Manifying blib/man3/Module::Build::Platform::MPEiX.3 Manifying blib/man3/Module::Build::Platform::Windows.3 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i686-lin ux -I/usr/local/lib/perl5/5.6.1 Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. make: *** [Build] Error 255 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Date: Fri, 28 Jun 2002 09:59:42 +1000
Subject: Re: [cpan #1200] Installing Module::Build with CPAN fails (at least 5.6.1 and higher)
From: Ken Williams <ken [...] mathforum.org>
To: bug-Module-Build [...] rt.cpan.org
Download (untitled) / with headers
text/plain 1.1k
On Friday, June 28, 2002, at 12:56 AM, via RT wrote: Show quoted text
> This message about Module-Build was sent to you by ELIZABETH > via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=1200 > > > Probably wrong at the moment it says "Package seems to come without a > Makefile.PL". Which is correct, as it is not part of the distribution. > Shouldn't there be a Module::Build::Compat style Makefile.PL in the > distribution?
Hi Elizabeth, Yes, there probably should be. M::B::Compat is a relatively recent addition to the package, it took me a while to be convinced that it was a good idea. I'm trying to make a clean break from MakeMaker, and having too many Makefile.PLs around makes that hard. The best solution will be to get CPAN and CPANPLUS to just understand the Module::Build process natively. That looks like it can happen relatively soon, since all the relevant maintainers are receptive to the idea. It's a bigger task than just providing a M::B::Compat layer for M::B, but a smaller task than having *everybody* provide M::B::Compat layers for their modules. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.