Subject: | Installing Module::Build with CPAN fails (at least 5.6.1 and higher) |
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