Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Module::Build article on perl.com, MakeMaker is doomed

by autarch (Hermit)
on Feb 15, 2003 at 18:11 UTC ( [id://235594]=note: print w/replies, xml ) Need Help??


in reply to Re: Module::Build article on perl.com, MakeMaker is doomed
in thread Module::Build article on perl.com, MakeMaker is doomed

Did you see the part of the article where I showed a Makefile.PL script that simply gets Module::Build installed and then proxies all commands through to M::B? That works just fine without Module::Build already installed. Go ahead and try to install my Thesaurus module from CPAN to see it in action. Bug reports welcome ;)

  • Comment on Re: Re: Module::Build article on perl.com, MakeMaker is doomed

Replies are listed 'Best First'.
Re: Re: Re: Module::Build article on perl.com, MakeMaker is doomed
by tachyon (Chancellor) on Feb 15, 2003 at 18:56 UTC

    OK here is a bug report. Module::Builder requires Archive::Tar > 0.22 On Win2K this craps out and without it I can't install your Module unless I edit the Makefile.PL (easy enough). I cna't use PPM to get 0.22 because the latest PPM is 0.072. So to install your module I need to write a new Makefile, rearrange the directory structure, fix the MANIFEST and then it will work. Hmmm. A second bug report is that if a user has never run CPAN it defaults into interactive mode which results in an automated script calling CPAN effectively hanging as it waits for user input that never comes if you call it using backtics. If you use piped opens it is not portable.....

    Here is the install:

        I have spent a couple of hours patching the source of Module::Build and can now get it to install (almost) properly with nmake. Patches submitted to the author. This module has a way to go yet and stillhas some very significant issues particularly the failure to recognise an incremented version number and thus the requirement for an update.....

        cheers

        tachyon

        s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

        Yep, Archive::Tar 0.23 installs fine on Win32. Module::Build on the other hand does not:

        C:\Thesaurus-0.21>perl Makefile.PL This module required Module::Build to install itself. Install Module::Build [y] CPAN: Storable loaded ok Going to read \cpan\Metadata Database was generated on Mon, 10 Feb 2003 20:36:47 GMT CPAN is up to date. Running install for module Module::Build Running make for K/KW/KWILLIAMS/Module-Build-0.15.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for \cpan\sources\authors\id\K\KW\KWILLIAMS\Module-Build-0.15 +.tar.gz ok Scanning cache \cpan\build\. for sizes CPAN: Archive::Tar loaded ok Module-Build-0.15/ Module-Build-0.15/Build.PL Module-Build-0.15/Changes Module-Build-0.15/INSTALL Module-Build-0.15/lib/ Module-Build-0.15/lib/Module/ Module-Build-0.15/lib/Module/Build/ Module-Build-0.15/lib/Module/Build/Base.pm Module-Build-0.15/lib/Module/Build/Compat.pm Module-Build-0.15/lib/Module/Build/Platform/ Module-Build-0.15/lib/Module/Build/Platform/Amiga.pm Module-Build-0.15/lib/Module/Build/Platform/darwin.pm Module-Build-0.15/lib/Module/Build/Platform/Default.pm Module-Build-0.15/lib/Module/Build/Platform/EBCDIC.pm Module-Build-0.15/lib/Module/Build/Platform/MacOS.pm Module-Build-0.15/lib/Module/Build/Platform/MPEiX.pm Module-Build-0.15/lib/Module/Build/Platform/RiscOS.pm Module-Build-0.15/lib/Module/Build/Platform/Unix.pm Module-Build-0.15/lib/Module/Build/Platform/VMS.pm Module-Build-0.15/lib/Module/Build/Platform/VOS.pm Module-Build-0.15/lib/Module/Build/Platform/Windows.pm Module-Build-0.15/lib/Module/Build.pm Module-Build-0.15/Makefile.PL Module-Build-0.15/MANIFEST Module-Build-0.15/META.yml Module-Build-0.15/README Module-Build-0.15/t/ Module-Build-0.15/t/basic.t Module-Build-0.15/t/common.pl Module-Build-0.15/t/lib/ Module-Build-0.15/t/lib/ModuleBuildOne.pm Module-Build-0.15/t/MANIFEST Module-Build-0.15/t/runthrough.t Module-Build-0.15/t/Sample/ Module-Build-0.15/t/Sample/Build.PL Module-Build-0.15/t/Sample/lib/ Module-Build-0.15/t/Sample/lib/Sample.pm Module-Build-0.15/t/Sample/MANIFEST Module-Build-0.15/t/Sample/META.yml Module-Build-0.15/t/Sample/test.pl Module-Build-0.15/t/xs.t Module-Build-0.15/t/XSTest/ Module-Build-0.15/t/XSTest/Build.PL Module-Build-0.15/t/XSTest/Changes Module-Build-0.15/t/XSTest/lib/ Module-Build-0.15/t/XSTest/lib/XSTest.pm Module-Build-0.15/t/XSTest/lib/XSTest.xs Module-Build-0.15/t/XSTest/MANIFEST Module-Build-0.15/t/XSTest/test.pl Removing previously used \cpan\build\Module-Build-0.15 CPAN.pm: Going to build K/KW/KWILLIAMS/Module-Build-0.15.tar.gz C:\Perl\bin\Perl.exe Build.PL Checking whether your kit is complete... Looks good Creating new 'Build' script for 'Module-Build' version '0.15' Warning: PREREQ_PM mentions ExtUtils::Install more than once, last men +tion wins at C:/Perl/lib/CPAN.pm line 4642, <GEN4> line 1. Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. ./Build '.' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code ' +0x1' Stop. C:\WINNT\nmake.EXE -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible C:\Thesaurus-0.21>This module required Module::Build to install itself +. Install Module::Build [y] y 'y' is not recognized as an internal or external command, operable program or batch file. C:\Thesaurus-0.21>

        cheers

        tachyon

        s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://235594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-09-15 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.