Hey monks. A bit of trouble with those supposed-to-be-easy-to-install things, modules. You'd think I'd be able to tackle them by now, wouldn't you? :)

I want to install the latest version of LWP. I'm on Win98, using ActiveState Perl. The latest version doesn't have a PPM package yet, so I'm using CPAN.pm instead. Trouble is, install LWP downloads everything fine, but nmake just stops and never returns at the nmake install phase. It seems to accessing pl2bat.bat that's causing the hang. Does anyone have any idea how I could fix this? It also affects my updating of CPAN.pm, as install Bundle::CPAN does the same thing (hanging on the exact same line) when it tries to install Archive::Tar.

$ perl -v This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 631 provided by ActiveState Tool Corp. http://www.ActiveS +tate.com Built 17:16:22 Jan 2 2002
Output from CPAN.pm and nmake follows.
$ perl -MCPAN -e "$obj=CPAN::Shell->expand('Module','LWP');$obj->insta +ll" CPAN: Storable loaded ok Going to read \david\stuff\perl\.cpan\Metadata Database was generated on Sun, 31 Mar 2002 06:39:26 GMT Running install for module LWP Running make for G/GA/GAAS/libwww-perl-5.64.tar.gz CPAN: MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for \.cpan\sources\authors\id\G\GA\GAAS\libwww-perl-5.64.tar. +gz ok Scanning cache \david\stuff\perl\.cpan\build\. for sizes CPAN: Archive::Tar loaded ok libwww-perl-5.64/ libwww-perl-5.64/lib/ libwww-perl-5.64/lib/HTTP/ libwww-perl-5.64/lib/HTTP/Cookies.pm libwww-perl-5.64/lib/HTTP/Status.pm libwww-perl-5.64/lib/HTTP/Request/ libwww-perl-5.64/lib/HTTP/Request/Common.pm libwww-perl-5.64/lib/HTTP/Headers/ libwww-perl-5.64/lib/HTTP/Headers/Auth.pm libwww-perl-5.64/lib/HTTP/Headers/ETag.pm libwww-perl-5.64/lib/HTTP/Headers/Util.pm libwww-perl-5.64/lib/HTTP/Request.pm libwww-perl-5.64/lib/HTTP/Response.pm libwww-perl-5.64/lib/HTTP/Date.pm libwww-perl-5.64/lib/HTTP/Daemon.pm libwww-perl-5.64/lib/HTTP/Message.pm libwww-perl-5.64/lib/HTTP/Negotiate.pm libwww-perl-5.64/lib/HTTP/Headers.pm libwww-perl-5.64/lib/LWP/ libwww-perl-5.64/lib/LWP/Protocol/ libwww-perl-5.64/lib/LWP/Protocol/nntp.pm libwww-perl-5.64/lib/LWP/Protocol/ftp.pm libwww-perl-5.64/lib/LWP/Protocol/mailto.pm libwww-perl-5.64/lib/LWP/Protocol/GHTTP.pm libwww-perl-5.64/lib/LWP/Protocol/nogo.pm libwww-perl-5.64/lib/LWP/Protocol/file.pm libwww-perl-5.64/lib/LWP/Protocol/data.pm libwww-perl-5.64/lib/LWP/Protocol/https10.pm libwww-perl-5.64/lib/LWP/Protocol/http10.pm libwww-perl-5.64/lib/LWP/Protocol/https.pm libwww-perl-5.64/lib/LWP/Protocol/gopher.pm libwww-perl-5.64/lib/LWP/Protocol/http.pm libwww-perl-5.64/lib/LWP/RobotUA.pm libwww-perl-5.64/lib/LWP/MemberMixin.pm libwww-perl-5.64/lib/LWP/media.types libwww-perl-5.64/lib/LWP/Debug.pm libwww-perl-5.64/lib/LWP/UserAgent.pm libwww-perl-5.64/lib/LWP/MediaTypes.pm libwww-perl-5.64/lib/LWP/Protocol.pm libwww-perl-5.64/lib/LWP/ConnCache.pm libwww-perl-5.64/lib/LWP/Authen/ libwww-perl-5.64/lib/LWP/Authen/Digest.pm libwww-perl-5.64/lib/LWP/Authen/Basic.pm libwww-perl-5.64/lib/LWP/Simple.pm libwww-perl-5.64/lib/WWW/ libwww-perl-5.64/lib/WWW/RobotRules/ libwww-perl-5.64/lib/WWW/RobotRules/AnyDBM_File.pm libwww-perl-5.64/lib/WWW/RobotRules.pm libwww-perl-5.64/lib/File/ libwww-perl-5.64/lib/File/Listing.pm libwww-perl-5.64/lib/Net/ libwww-perl-5.64/lib/Net/HTTP/ libwww-perl-5.64/lib/Net/HTTP/Methods.pm libwww-perl-5.64/lib/Net/HTTP/NB.pm libwww-perl-5.64/lib/Net/HTTP.pm libwww-perl-5.64/lib/Net/HTTPS.pm libwww-perl-5.64/lib/Bundle/ libwww-perl-5.64/lib/Bundle/LWP.pm libwww-perl-5.64/lib/LWP.pm libwww-perl-5.64/lib/HTML/ libwww-perl-5.64/lib/HTML/Form.pm libwww-perl-5.64/t/ libwww-perl-5.64/t/base/ libwww-perl-5.64/t/base/headers-util.t libwww-perl-5.64/t/base/status.t libwww-perl-5.64/t/base/cookies.t libwww-perl-5.64/t/base/headers-etag.t libwww-perl-5.64/t/base/http.t libwww-perl-5.64/t/base/date.t libwww-perl-5.64/t/base/listing.t libwww-perl-5.64/t/base/response.t libwww-perl-5.64/t/base/headers-auth.t libwww-perl-5.64/t/base/common-req.t libwww-perl-5.64/t/base/message.t libwww-perl-5.64/t/base/mediatypes.t libwww-perl-5.64/t/base/ua.t libwww-perl-5.64/t/base/headers.t libwww-perl-5.64/t/base/negotiate.t libwww-perl-5.64/t/local/ libwww-perl-5.64/t/local/get.t libwww-perl-5.64/t/local/autoload.t libwww-perl-5.64/t/local/http.t libwww-perl-5.64/t/local/protosub.t libwww-perl-5.64/t/live/ libwww-perl-5.64/t/live/jigsaw-te.t libwww-perl-5.64/t/live/validator.t libwww-perl-5.64/t/live/jigsaw-neg.t libwww-perl-5.64/t/live/jigsaw-auth-d.t libwww-perl-5.64/t/live/jigsaw-md5.t libwww-perl-5.64/t/live/jigsaw-chunk.t libwww-perl-5.64/t/live/jigsaw-auth-b.t libwww-perl-5.64/t/live/activestate.t libwww-perl-5.64/t/net/ libwww-perl-5.64/t/net/http-get.t libwww-perl-5.64/t/net/cgi-bin/ libwww-perl-5.64/t/net/cgi-bin/nph-slowdata libwww-perl-5.64/t/net/cgi-bin/moved libwww-perl-5.64/t/net/cgi-bin/test libwww-perl-5.64/t/net/cgi-bin/slowread libwww-perl-5.64/t/net/cgi-bin/timeout libwww-perl-5.64/t/net/proxy.t libwww-perl-5.64/t/net/http-post.t libwww-perl-5.64/t/net/moved.t libwww-perl-5.64/t/net/http-timeout.t libwww-perl-5.64/t/net/config.pl.dist libwww-perl-5.64/t/net/mirror.t libwww-perl-5.64/t/robot/ libwww-perl-5.64/t/robot/rules.t libwww-perl-5.64/t/robot/ua.t libwww-perl-5.64/t/robot/rules-dbm.t libwww-perl-5.64/t/README libwww-perl-5.64/t/TEST libwww-perl-5.64/t/html/ libwww-perl-5.64/t/html/form.t libwww-perl-5.64/bin/ libwww-perl-5.64/bin/lwp-rget libwww-perl-5.64/bin/lwp-mirror libwww-perl-5.64/bin/lwp-download libwww-perl-5.64/bin/lwp-request libwww-perl-5.64/Makefile.PL libwww-perl-5.64/TODO libwww-perl-5.64/MANIFEST libwww-perl-5.64/README.SSL libwww-perl-5.64/Changes libwww-perl-5.64/README libwww-perl-5.64/lwpcook.pod Removing previously used \david\stuff\perl\.cpan\build\libwww-perl-5.6 +4\. CPAN.pm: Going to build G/GA/GAAS/libwww-perl-5.64.tar.gz This package comes with some sample programs that I can try to install in C:\David\stuff\Perl\site\bin. Note that you can avoid these questions by passing the '-n' option to 'Makefile.PL'. Do you want to install lwp-request? [y] y Do you want to install lwp-mirror? [y] y Do you want to install lwp-rget? [y] y Do you want to install lwp-download? [y] y The lwp-request program will use the name it is invoked with to determine what HTTP method to use. I can set up alias for the most common HTTP methods. These alias are also installed in C:\David\stuff\Perl\site\bin. Do you want to install the GET alias? [y] y Do you want to install the HEAD alias? [y] y Do you want to install the POST alias? [y] y Checking for URI........... ok Checking for HTML::Parser.. ok Checking for MIME::Base64.. ok Checking for Net::FTP...... ok Checking for Digest::MD5 .. ok Checking if your kit is complete... Looks good Writing Makefile for libwww-perl cp lib/LWP/Protocol.pm blib\lib\LWP\Protocol.pm cp lib/Bundle/LWP.pm blib\lib\Bundle\LWP.pm cp lib/HTTP/Cookies.pm blib\lib\HTTP\Cookies.pm cp lib/LWP/Protocol/nntp.pm blib\lib\LWP\Protocol\nntp.pm cp lib/HTTP/Daemon.pm blib\lib\HTTP\Daemon.pm cp lib/LWP/Protocol/ftp.pm blib\lib\LWP\Protocol\ftp.pm cp lib/HTTP/Status.pm blib\lib\HTTP\Status.pm cp lib/LWP/Protocol/mailto.pm blib\lib\LWP\Protocol\mailto.pm cp lib/HTTP/Message.pm blib\lib\HTTP\Message.pm cp lib/WWW/RobotRules.pm blib\lib\WWW\RobotRules.pm cp lib/LWP/ConnCache.pm blib\lib\LWP\ConnCache.pm cp lib/LWP/RobotUA.pm blib\lib\LWP\RobotUA.pm cp lib/LWP.pm blib\lib\LWP.pm cp lib/LWP/Protocol/data.pm blib\lib\LWP\Protocol\data.pm cp lib/LWP/Authen/Digest.pm blib\lib\LWP\Authen\Digest.pm cp lib/HTTP/Negotiate.pm blib\lib\HTTP\Negotiate.pm cp lib/LWP/MemberMixin.pm blib\lib\LWP\MemberMixin.pm cp lib/WWW/RobotRules/AnyDBM_File.pm blib\lib\WWW\RobotRules\AnyDBM_Fi +le.pm cp lib/HTML/Form.pm blib\lib\HTML\Form.pm cp lib/LWP/Protocol/GHTTP.pm blib\lib\LWP\Protocol\GHTTP.pm cp lib/File/Listing.pm blib\lib\File\Listing.pm cp lib/HTTP/Headers.pm blib\lib\HTTP\Headers.pm cp lib/HTTP/Request/Common.pm blib\lib\HTTP\Request\Common.pm cp lib/HTTP/Headers/Util.pm blib\lib\HTTP\Headers\Util.pm cp lib/HTTP/Headers/Auth.pm blib\lib\HTTP\Headers\Auth.pm cp lib/LWP/Protocol/nogo.pm blib\lib\LWP\Protocol\nogo.pm cp lib/LWP/media.types blib\lib\LWP\media.types cp lib/LWP/Simple.pm blib\lib\LWP\Simple.pm cp lib/HTTP/Request.pm blib\lib\HTTP\Request.pm cp lib/LWP/Protocol/https10.pm blib\lib\LWP\Protocol\https10.pm cp lib/LWP/Protocol/http10.pm blib\lib\LWP\Protocol\http10.pm cp lib/Net/HTTP/Methods.pm blib\lib\Net\HTTP\Methods.pm cp lib/HTTP/Response.pm blib\lib\HTTP\Response.pm cp lib/Net/HTTP.pm blib\lib\Net\HTTP.pm cp lib/Net/HTTP/NB.pm blib\lib\Net\HTTP\NB.pm cp lib/HTTP/Date.pm blib\lib\HTTP\Date.pm cp lib/LWP/Authen/Basic.pm blib\lib\LWP\Authen\Basic.pm cp lib/LWP/Debug.pm blib\lib\LWP\Debug.pm cp lib/Net/HTTPS.pm blib\lib\Net\HTTPS.pm cp lib/LWP/Protocol/https.pm blib\lib\LWP\Protocol\https.pm cp lib/HTTP/Headers/ETag.pm blib\lib\HTTP\Headers\ETag.pm cp lib/LWP/UserAgent.pm blib\lib\LWP\UserAgent.pm cp lib/LWP/Protocol/file.pm blib\lib\LWP\Protocol\file.pm cp lwpcook.pod blib\lib\lwpcook.pod cp lib/LWP/Protocol/gopher.pm blib\lib\LWP\Protocol\gopher.pm cp lib/LWP/MediaTypes.pm blib\lib\LWP\MediaTypes.pm cp lib/LWP/Protocol/http.pm blib\lib\LWP\Protocol\http.pm C:\david\stuff\perl\bin\perl.exe -IC:\David\stuff\Perl\lib -IC:\Da +vid\stuff\Perl\lib -MExtUtils::Command -e cp bin/POST blib\script\POS +T C:\david\stuff\perl\bin\perl.exe -IC:\David\stuff\Perl\lib -IC:\Da +vid\stuff\Perl\lib -e "system qq[pl2bat.bat ].shift" blib\script\POS +T (Program freezes, I have to ctrl-c it.)

This is really puzzling me, and it especially sucks because it's preventing me updating CPAN - which, for all I know, may fix the bug, if it is one.


--
amoe

In reply to pl2bat hangs when installing modules with CPAN.pm by Amoe

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.