make trouble with Perl module insall (LWP::Simple)

Hi,
I am trying to install the perl module LWP::Simple. I have tried to do this bothe using the CPAN shell and also by directly downloading the libwww package, unzipping it and running make commands.

When I do this using the CPAN shell (as sudo), the final result is:

<quote>
Checking if your kit is complete...
Looks good
Writing Makefile for LWP
y -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
</quote>

It was suggested to me, by persons wiser than me in the ways of Perl, that make may not be installed, and that I need to install Xcode. I had previously installed xcode, and I also performed this test

make

what I got back was
bash: make: permission denied.

Next, I tried doing this by directly downloading the tar file from CPAN, extracting, and runnning the following command in that libwww directory.

perl Makefile.PL && make && make test && sudo make install

I seemed to get further with this, but the end result was the same. LWP::Simple failed to install. The final output was

<quote>
...
ive/validator.........Can't locate HTML/Tagset.pm in @INC (@INC contains: ../blib/lib ../blib/arch /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 ../. /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level/HTML/TokeParser.pm line 12.
BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level/HTML/TokeParser.pm line 12.
Compilation failed in require at ../blib/lib/HTML/Form.pm line 116.
live/validator.........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
html/form-param.t 2 512 24 48 200.00% 1-24
html/form.t 2 512 122 244 200.00% 1-122
live/validator.t 2 512 2 4 200.00% 1-2
Failed 3/41 test scripts, 92.68% okay. 148/827 subtests failed, 82.10% okay.
</quote>
Next I tried installing HTML::Tagset, since this seems to be a dependency for the LWP::Simple module. When I attempted this using the CPAN shell I once again got the
<quote>
...
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
</quote>
Any help or a direction pointed towards good resources would be greatly appreciated.

Sincerely,

Ramon

IMAC G5 Mac OS X (10.4.3)

IMAC G5, Mac OS X (10.4.3)

Posted on Dec 31, 2005 1:14 AM

Reply
10 replies

Dec 31, 2005 4:46 AM in response to ramonred

Hi, Ramon.

The statement you made:

make

what I got back was
bash: make: permission denied.

suggests that your make has the wrong permissions or has been corrupted. Enter:

which make # this will give the path to 'make"
ls -l <path> # my path is '/usr/bin/make'

Here is what I got:
lrwxr-xr-x 1 root wheel 7 28 Oct 2004 /usr/bin/make -> gnumake

When I do which gnumake, it gives: /usr/bin/gnumake
and ls -l /usr/bin/gnumake gives:
-rwxr-xr-x 1 root wheel 148248 1 Dec 15:43 /usr/bin/gnumake

Once you post those answers, we may be able to suggest further action.

Boyd

Dec 31, 2005 8:56 AM in response to ramonred

Next, I tried doing this by directly downloading the
tar file from CPAN, extracting, and runnning the
following command in that libwww directory.

perl Makefile.PL && make && make test && sudo make
install


Just to add a suggestion: stringing together the commands like that makes it harder to figure out why and where it's failing. You'd be much better off doing the steps one by one.

When you do the perl Makefile.PL step, you'll get a clear idea of which prerequisites are missing. Then download those and install them. Some of those prerequisites also have prerequisites, I think. Keep a sticky note on your desktop handy with the modules you need to install. It can be kind of tedious, but it's how I install LWP and others.

Also, some modules, and LWP is one of them, ask pre-installation questions as you do the first step. I'm not sure what effect stringing together the commands like that would have.

charlie

Dec 31, 2005 9:00 AM in response to ramonred

Hi Ramon,
Welcome to Apple Discussions. Let me begin with some advice peculiar to this Discussion. Unfortunately like so many people that are new to the UNIX Discussion, you failed to post the command you executed in the CPAN shell. It is more helpful to us if the command and the output are posted together. The CPAN shell should install any items necessary to satisfy dependencies if you have it configured correctly. However, the packages themselves are organized to make this as simple as possible. Thus, I recommend the following command in the CPAN shell:

install Bundle::LWP

or:

force install Bundle::LWP

My CPAN shell says that the required HTML components are part of the Bundle so installation should go more smoothly once you get the issues ironed out with "make". Hopefully you won't need to install by force as I've indicated in the second command above but I thought the syntax would be useful to have on hand should the need arise.

Let me add a little to what Boyd suggested. If "make" is really installed but has a permissions problem, you should be able to fix that by simply using "Disk Utility" to "Repair Permissions". That never hurts and can fix a wide variety of problems. Thus it's worth suggesting even before we get the results of your listing of /usr/bin/make. Aside from the listing that Boyd suggests, you might also post the output of the following command:

which make

There's always the possibility that you have another version of "make" installed. You might want to also double check that you have a version of Xcode installed that is meant for Tiger.
--
Gary
~~~~
Woody: How are you today, Mr. Peterson?
Norm: Never been better, Woody. ... Just once I'd like to
be better.
-- Cheers, Chambers vs. Malone

Dec 31, 2005 12:10 PM in response to Gary Kerbaugh

first of all, thank you very much for taking the time to reply to my post.

As suggested I checked to see if I had the right make:

---
ramon-hildreths-imac-g5:~ ramonhildreth$ which make
/usr/bin/make
ramon-hildreths-imac-g5:~ ramonhildreth$ ls -l /usr/bin/make
lrwxr-xr-x 1 root wheel 7 Dec 28 00:10 /usr/bin/make -> gnumake
---

I then repaired disk permissions as suggested. Once that was complete I ran this command:
---
sudo perl -MCPAN -e shell
---
Once I was in the CPAN shell I ran
install Bundle::LWP


this is the complete output I received from that
cpan> install Bundle::LWP
CPAN: Storable loaded ok
Going to read /Users/ramonhildreth/.cpan/Metadata
Database was generated on Fri, 30 Dec 2005 22:09:30 GMT

Running install for module MIME::Base64
Running make for G/GA/GAAS/MIME-Base64-3.07.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /Users/ramonhildreth/.cpan/sources/authors/id/G/GA/GAAS/MIME-Base64-3.07.tar.gz ok
Scanning cache /Users/ramonhildreth/.cpan/build for sizes
CPAN: Archive::Tar loaded ok
MIME-Base64-3.07/
MIME-Base64-3.07/t/
MIME-Base64-3.07/t/warn.t
MIME-Base64-3.07/t/bad-sv.t
MIME-Base64-3.07/t/unicode.t
MIME-Base64-3.07/t/quoted-print.t
MIME-Base64-3.07/t/base64.t
MIME-Base64-3.07/README
MIME-Base64-3.07/QuotedPrint.pm
MIME-Base64-3.07/MANIFEST
MIME-Base64-3.07/Base64.pm
MIME-Base64-3.07/Changes
MIME-Base64-3.07/Makefile.PL
MIME-Base64-3.07/Base64.xs
Removing previously used /Users/ramonhildreth/.cpan/build/MIME-Base64-3.07

CPAN.pm: Going to build G/GA/GAAS/MIME-Base64-3.07.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
Can't exec "y": No such file or directory at /System/Library/Perl/5.8.6/CPAN.pm line 4566.
y -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running install for module Digest::MD5
Running make for G/GA/GAAS/Digest-MD5-2.36.tar.gz
Checksum for /Users/ramonhildreth/.cpan/sources/authors/id/G/GA/GAAS/Digest-MD5-2.36.tar.gz ok
Digest-MD5-2.36/
Digest-MD5-2.36/t/
Digest-MD5-2.36/t/md5-aaa.t
Digest-MD5-2.36/t/clone.t
Digest-MD5-2.36/t/badfile.t
Digest-MD5-2.36/t/utf8.t
Digest-MD5-2.36/t/bits.t
Digest-MD5-2.36/t/align.t
Digest-MD5-2.36/t/files.t
Digest-MD5-2.36/README
Digest-MD5-2.36/MANIFEST
Digest-MD5-2.36/hints/
Digest-MD5-2.36/hints/MacOS.pl
Digest-MD5-2.36/hints/irix_6.pl
Digest-MD5-2.36/hints/dec_osf.pl
Digest-MD5-2.36/Changes
Digest-MD5-2.36/Makefile.PL
Digest-MD5-2.36/MD5.xs
Digest-MD5-2.36/typemap
Digest-MD5-2.36/MD5.pm
Digest-MD5-2.36/rfc1321.txt
Removing previously used /Users/ramonhildreth/.cpan/build/Digest-MD5-2.36

CPAN.pm: Going to build G/GA/GAAS/Digest-MD5-2.36.tar.gz

Perl's config says that U32 access must be aligned.
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::MD5
Can't exec "y": No such file or directory at /System/Library/Perl/5.8.6/CPAN.pm line 4566.
y -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
URI is up to date.
Net::FTP is up to date.
Running install for module HTML::Tagset
Running make for P/PE/PETDANCE/HTML-Tagset-3.10.tar.gz
Checksum for /Users/ramonhildreth/.cpan/sources/authors/id/P/PE/PETDANCE/HTML-Tagset-3.10.ta r.gz ok
HTML-Tagset-3.10/
HTML-Tagset-3.10/Tagset.pm
HTML-Tagset-3.10/Changes
HTML-Tagset-3.10/MANIFEST
HTML-Tagset-3.10/META.yml
HTML-Tagset-3.10/README
HTML-Tagset-3.10/MANIFEST.SKIP
HTML-Tagset-3.10/t/
HTML-Tagset-3.10/t/pod.t
HTML-Tagset-3.10/t/00 aboutverbose.t
HTML-Tagset-3.10/t/01 oldjunk.t
HTML-Tagset-3.10/Makefile.PL
Removing previously used /Users/ramonhildreth/.cpan/build/HTML-Tagset-3.10

CPAN.pm: Going to build P/PE/PETDANCE/HTML-Tagset-3.10.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for HTML::Tagset
Can't exec "y": No such file or directory at /System/Library/Perl/5.8.6/CPAN.pm line 4566.
y -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running install for module HTML::Parser
Running make for G/GA/GAAS/HTML-Parser-3.48.tar.gz
Checksum for /Users/ramonhildreth/.cpan/sources/authors/id/G/GA/GAAS/HTML-Parser-3.48.tar.gz ok
HTML-Parser-3.48/
HTML-Parser-3.48/t/
HTML-Parser-3.48/t/xml-mode.t
HTML-Parser-3.48/t/textarea.t
HTML-Parser-3.48/t/filter-methods.t
HTML-Parser-3.48/t/crashme.t
HTML-Parser-3.48/t/handler-eof.t
HTML-Parser-3.48/t/unicode-bom.t
HTML-Parser-3.48/t/argspec-bad.t
HTML-Parser-3.48/t/dtext.t
HTML-Parser-3.48/t/callback.t
HTML-Parser-3.48/t/entities.t
HTML-Parser-3.48/t/argspec.t
HTML-Parser-3.48/t/comment.t
HTML-Parser-3.48/t/declaration.t
HTML-Parser-3.48/t/offset.t
HTML-Parser-3.48/t/handler.t
HTML-Parser-3.48/t/plaintext.t
HTML-Parser-3.48/t/case-sensitive.t
HTML-Parser-3.48/t/cases.t
HTML-Parser-3.48/t/marked-sect.t
HTML-Parser-3.48/t/filter.t
HTML-Parser-3.48/t/tokeparser.t
HTML-Parser-3.48/t/linkextor-rel.t
HTML-Parser-3.48/t/entities2.t
HTML-Parser-3.48/t/skipped-text.t
HTML-Parser-3.48/t/linkextor-base.t
HTML-Parser-3.48/t/default.t
HTML-Parser-3.48/t/headparser.t
HTML-Parser-3.48/t/uentities.t
HTML-Parser-3.48/t/headparser-http.t
HTML-Parser-3.48/t/script.t
HTML-Parser-3.48/t/stack-realloc.t
HTML-Parser-3.48/t/pod.t
HTML-Parser-3.48/t/magic.t
HTML-Parser-3.48/t/options.t
HTML-Parser-3.48/t/attr-encoded.t
HTML-Parser-3.48/t/unicode.t
HTML-Parser-3.48/t/argspec2.t
HTML-Parser-3.48/t/ignore.t
HTML-Parser-3.48/t/largetags.t
HTML-Parser-3.48/t/unbroken-text.t
HTML-Parser-3.48/t/msie-compat.t
HTML-Parser-3.48/t/api_version.t
HTML-Parser-3.48/t/parsefile.t
HTML-Parser-3.48/t/parser.t
HTML-Parser-3.48/t/process.t
HTML-Parser-3.48/t/pullparser.t
HTML-Parser-3.48/eg/
HTML-Parser-3.48/eg/hlc
HTML-Parser-3.48/eg/hanchors
HTML-Parser-3.48/eg/htextsub
HTML-Parser-3.48/eg/htitle
HTML-Parser-3.48/eg/hstrip
HTML-Parser-3.48/eg/hrefsub
HTML-Parser-3.48/eg/hform
HTML-Parser-3.48/eg/hdump
HTML-Parser-3.48/eg/htext
HTML-Parser-3.48/lib/
HTML-Parser-3.48/lib/HTML/
HTML-Parser-3.48/lib/HTML/Entities.pm
HTML-Parser-3.48/lib/HTML/PullParser.pm
HTML-Parser-3.48/lib/HTML/Filter.pm
HTML-Parser-3.48/lib/HTML/TokeParser.pm
HTML-Parser-3.48/lib/HTML/LinkExtor.pm
HTML-Parser-3.48/lib/HTML/HeadParser.pm
HTML-Parser-3.48/util.c
HTML-Parser-3.48/Makefile.PL
HTML-Parser-3.48/hints/
HTML-Parser-3.48/hints/solaris.pl
HTML-Parser-3.48/Parser.pm
HTML-Parser-3.48/TODO
HTML-Parser-3.48/MANIFEST
HTML-Parser-3.48/tokenpos.h
HTML-Parser-3.48/Changes
HTML-Parser-3.48/mkhctype
HTML-Parser-3.48/Parser.xs
HTML-Parser-3.48/mkpfunc
HTML-Parser-3.48/hparser.c
HTML-Parser-3.48/README
HTML-Parser-3.48/hparser.h
HTML-Parser-3.48/typemap
Removing previously used /Users/ramonhildreth/.cpan/build/HTML-Parser-3.48

CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.48.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite HTML::Tagset 3 not found.
Writing Makefile for HTML::Parser
---- Unsatisfied dependencies detected during [G/GA/GAAS/HTML-Parser-3.48.tar.gz] -----
HTML::Tagset
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module HTML::HeadParser
Running make for G/GA/GAAS/HTML-Parser-3.48.tar.gz
Is already unwrapped into directory /Users/ramonhildreth/.cpan/build/HTML-Parser-3.48
Delayed until after prerequisites
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module LWP
Running make for G/GA/GAAS/libwww-perl-5.805.tar.gz
Checksum for /Users/ramonhildreth/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.g z ok
libwww-perl-5.805/
libwww-perl-5.805/lib/
libwww-perl-5.805/lib/HTTP/
libwww-perl-5.805/lib/HTTP/Cookies.pm
libwww-perl-5.805/lib/HTTP/Status.pm
libwww-perl-5.805/lib/HTTP/Cookies/
libwww-perl-5.805/lib/HTTP/Cookies/Netscape.pm
libwww-perl-5.805/lib/HTTP/Cookies/Microsoft.pm
libwww-perl-5.805/lib/HTTP/Request/
libwww-perl-5.805/lib/HTTP/Request/Common.pm
libwww-perl-5.805/lib/HTTP/Headers/
libwww-perl-5.805/lib/HTTP/Headers/Auth.pm
libwww-perl-5.805/lib/HTTP/Headers/ETag.pm
libwww-perl-5.805/lib/HTTP/Headers/Util.pm
libwww-perl-5.805/lib/HTTP/Request.pm
libwww-perl-5.805/lib/HTTP/Response.pm
libwww-perl-5.805/lib/HTTP/Date.pm
libwww-perl-5.805/lib/HTTP/Daemon.pm
libwww-perl-5.805/lib/HTTP/Message.pm
libwww-perl-5.805/lib/HTTP/Negotiate.pm
libwww-perl-5.805/lib/HTTP/Headers.pm
libwww-perl-5.805/lib/LWP/
libwww-perl-5.805/lib/LWP/Protocol/
libwww-perl-5.805/lib/LWP/Protocol/nntp.pm
libwww-perl-5.805/lib/LWP/Protocol/ftp.pm
libwww-perl-5.805/lib/LWP/Protocol/mailto.pm
libwww-perl-5.805/lib/LWP/Protocol/GHTTP.pm
libwww-perl-5.805/lib/LWP/Protocol/nogo.pm
libwww-perl-5.805/lib/LWP/Protocol/file.pm
libwww-perl-5.805/lib/LWP/Protocol/loopback.pm
libwww-perl-5.805/lib/LWP/Protocol/data.pm
libwww-perl-5.805/lib/LWP/Protocol/https10.pm
libwww-perl-5.805/lib/LWP/Protocol/http10.pm
libwww-perl-5.805/lib/LWP/Protocol/https.pm
libwww-perl-5.805/lib/LWP/Protocol/gopher.pm
libwww-perl-5.805/lib/LWP/Protocol/cpan.pm
libwww-perl-5.805/lib/LWP/Protocol/http.pm
libwww-perl-5.805/lib/LWP/RobotUA.pm
libwww-perl-5.805/lib/LWP/Authen/
libwww-perl-5.805/lib/LWP/Authen/Ntlm.pm
libwww-perl-5.805/lib/LWP/Authen/Digest.pm
libwww-perl-5.805/lib/LWP/Authen/Basic.pm
libwww-perl-5.805/lib/LWP/MemberMixin.pm
libwww-perl-5.805/lib/LWP/media.types
libwww-perl-5.805/lib/LWP/DebugFile.pm
libwww-perl-5.805/lib/LWP/Debug.pm
libwww-perl-5.805/lib/LWP/UserAgent.pm
libwww-perl-5.805/lib/LWP/MediaTypes.pm
libwww-perl-5.805/lib/LWP/Protocol.pm
libwww-perl-5.805/lib/LWP/ConnCache.pm
libwww-perl-5.805/lib/LWP/Simple.pm
libwww-perl-5.805/lib/WWW/
libwww-perl-5.805/lib/WWW/RobotRules/
libwww-perl-5.805/lib/WWW/RobotRules/AnyDBM_File.pm
libwww-perl-5.805/lib/WWW/RobotRules.pm
libwww-perl-5.805/lib/File/
libwww-perl-5.805/lib/File/Listing.pm
libwww-perl-5.805/lib/Net/
libwww-perl-5.805/lib/Net/HTTP/
libwww-perl-5.805/lib/Net/HTTP/Methods.pm
libwww-perl-5.805/lib/Net/HTTP/NB.pm
libwww-perl-5.805/lib/Net/HTTP.pm
libwww-perl-5.805/lib/Net/HTTPS.pm
libwww-perl-5.805/lib/Bundle/
libwww-perl-5.805/lib/Bundle/LWP.pm
libwww-perl-5.805/lib/LWP.pm
libwww-perl-5.805/lib/HTML/
libwww-perl-5.805/lib/HTML/Form.pm
libwww-perl-5.805/t/
libwww-perl-5.805/t/base/
libwww-perl-5.805/t/base/headers-util.t
libwww-perl-5.805/t/base/status.t
libwww-perl-5.805/t/base/cookies.t
libwww-perl-5.805/t/base/headers-etag.t
libwww-perl-5.805/t/base/http.t
libwww-perl-5.805/t/base/date.t
libwww-perl-5.805/t/base/listing.t
libwww-perl-5.805/t/base/response.t
libwww-perl-5.805/t/base/headers-auth.t
libwww-perl-5.805/t/base/common-req.t
libwww-perl-5.805/t/base/protocols.t
libwww-perl-5.805/t/base/message.t
libwww-perl-5.805/t/base/mediatypes.t
libwww-perl-5.805/t/base/ua.t
libwww-perl-5.805/t/base/headers.t
libwww-perl-5.805/t/base/negotiate.t
libwww-perl-5.805/t/base/message-old.t
libwww-perl-5.805/t/base/message-parts.t
libwww-perl-5.805/t/local/
libwww-perl-5.805/t/local/get.t
libwww-perl-5.805/t/local/autoload.t
libwww-perl-5.805/t/local/http.t
libwww-perl-5.805/t/local/http-get.t
libwww-perl-5.805/t/local/autoload-get.t
libwww-perl-5.805/t/local/protosub.t
libwww-perl-5.805/t/live/
libwww-perl-5.805/t/live/jigsaw-te.t
libwww-perl-5.805/t/live/validator.t
libwww-perl-5.805/t/live/jigsaw-md5-get.t
libwww-perl-5.805/t/live/jigsaw-neg.t
libwww-perl-5.805/t/live/jigsaw-auth-d.t
libwww-perl-5.805/t/live/apache-listing.t
libwww-perl-5.805/t/live/jigsaw-md5.t
libwww-perl-5.805/t/live/jigsaw-neg-get.t
libwww-perl-5.805/t/live/jigsaw-chunk.t
libwww-perl-5.805/t/live/jigsaw-auth-b.t
libwww-perl-5.805/t/live/activestate.t
libwww-perl-5.805/t/net/
libwww-perl-5.805/t/net/http-get.t
libwww-perl-5.805/t/net/cgi-bin/
libwww-perl-5.805/t/net/cgi-bin/nph-slowdata
libwww-perl-5.805/t/net/cgi-bin/moved
libwww-perl-5.805/t/net/cgi-bin/test
libwww-perl-5.805/t/net/cgi-bin/slowread
libwww-perl-5.805/t/net/cgi-bin/timeout
libwww-perl-5.805/t/net/proxy.t
libwww-perl-5.805/t/net/http-post.t
libwww-perl-5.805/t/net/moved.t
libwww-perl-5.805/t/net/http-timeout.t
libwww-perl-5.805/t/net/config.pl.dist
libwww-perl-5.805/t/net/mirror.t
libwww-perl-5.805/t/robot/
libwww-perl-5.805/t/robot/rules.t
libwww-perl-5.805/t/robot/ua.t
libwww-perl-5.805/t/robot/ua-get.t
libwww-perl-5.805/t/robot/rules-dbm.t
libwww-perl-5.805/t/README
libwww-perl-5.805/t/html/
libwww-perl-5.805/t/html/form-param.t
libwww-perl-5.805/t/html/form.t
libwww-perl-5.805/t/TEST
libwww-perl-5.805/bin/
libwww-perl-5.805/bin/lwp-rget
libwww-perl-5.805/bin/lwp-mirror
libwww-perl-5.805/bin/lwp-download
libwww-perl-5.805/bin/lwp-request
libwww-perl-5.805/Makefile.PL
libwww-perl-5.805/talk-to-ourself
libwww-perl-5.805/lwptut.pod
libwww-perl-5.805/MANIFEST
libwww-perl-5.805/README.SSL
libwww-perl-5.805/Changes
libwww-perl-5.805/AUTHORS
libwww-perl-5.805/README
libwww-perl-5.805/lwpcook.pod
Removing previously used /Users/ramonhildreth/.cpan/build/libwww-perl-5.805

CPAN.pm: Going to build G/GA/GAAS/libwww-perl-5.805.tar.gz


You appear to be directly connected to the Internet. I have some tests
that tries to access some sites on the net to verify that the new HTTP/1.1
support works as it should.

Do you want to enable these tests? [y]

This package comes with some sample programs that I can try
to install in /usr/bin.

Note that you can avoid these questions by passing
the '-n' option to 'Makefile.PL'.

Do you want to install lwp-request? [y]
Do you want to install lwp-mirror? [y]
Do you want to install lwp-rget? [y]
Do you want to install lwp-download? [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
/usr/bin.

Do you want to install the GET alias? [n]
Do you want to install the HEAD alias? [n]
Do you want to install the POST alias? [n]

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 LWP
Can't exec "y": No such file or directory at /System/Library/Perl/5.8.6/CPAN.pm line 4566.
y -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Bundle summary: The following items in bundle Bundle::LWP had installation
problems:
MIME::Base64 Digest::MD5 HTML::Tagset HTML::Parser HTML::HeadParser LWP
Running install for module HTML::Tagset
Running make for P/PE/PETDANCE/HTML-Tagset-3.10.tar.gz
Is already unwrapped into directory /Users/ramonhildreth/.cpan/build/HTML-Tagset-3.10
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running make for G/GA/GAAS/HTML-Parser-3.48.tar.gz
Is already unwrapped into directory /Users/ramonhildreth/.cpan/build/HTML-Parser-3.48

CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.48.tar.gz

Can't exec "y": No such file or directory at /System/Library/Perl/5.8.6/CPAN.pm line 4566.
y -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

cpan>

---
I am wondering if this piece of output can shed light on this problem?
---

Can't exec "y": No such file or directory at /System/Library/Perl/5.8.6/CPAN.pm line 4566

---
Is CPAN.pm another package that I need to get first?

In addition, before attempting the LWP module install(s) I had installed xcode from the disk that came with the system.

I am running:
Component versions
Xcode IDE: 514.0
Xcode Core: 515.0
ToolSupport: 514.0

Thanks again for your time and thoughts.

Best,

Ramon


iMac G5 Mac OS X (10.4.3)

IMAC G5 Mac OS X (10.4.3)

Dec 31, 2005 1:20 PM in response to ramonred

Hi Ramon,
Such a gargantuan post may tax the storage of Apple's servers but sometimes there is no other way to figure out what's gone wrong and I think that's the case here. I believe that I understand at least one of the problems.

Line 4566 of the CPAN.pm script attempts to execute the contents of the "$system" variable, the beginning of which was set in the line above to the value of "$CPAN::Config->{'make'}". The output suggests that that variable has been set to the letter 'y' and I think I can guess how that happened. That variable is supposed to be set to the path to your "make" executable when the CPAN shell is configured. It "asks" you where your make executable is and provides the path that it found to the "make" executable as the default value, like this: "[/usr/bin/make]". I'm guessing that you typed a 'y' and hit the <Return> key. What that did was to tell the CPAN shell that the path to "make" was 'y'. To accept the default you simply hit the <Return> key without typing anything. You should execute:

o conf init

in the CPAN shell and this time just hit the return key when it asks you any question for which you want to accept the default. It's been my experience that you could accept the default for everything except the mirrors. You should certainly accept the default for any question you don't understand. It actually asks for some things that aren't installed. In that case the default is empty but you should still accept that because an empty value tells the CPAN shell that that executable isn't installed.
--
Gary
~~~~
He draweth out the thread of his verbosity finer than the
staple of his argument.
-- William Shakespeare, "Love's Labour's Lost"

Dec 31, 2005 1:32 PM in response to ramonred

Ramon--

---
I am wondering if this piece of output can shed light
on this problem?
---

Can't exec "y": No such file or directory at
/System/Library/Perl/5.8.6/CPAN.pm line 4566


Hmmm. How did you set up CPAN the first time it ran? Did you answer a bunch of questions? It looks to me like you might have accidentally answered "y" to one of those questions. I'd suggest resetting your CPAN preferences by opening up the CPAN shell and typing "o conf init" at the prompt. When this line comes up:

Where is your make program? [/usr/bin/make]

just hit the "ENTER" key. It's not a "yes" or "no" question. It's expecting a path, so if you accidentally hit "y", it's looking for that instead of "/usr/bin/make", hence the error at line 4566 in CPAN.pm.

charlie

Oops. I see Gary beat me to it. But I'll leave it rather than confuse things by deleting it.

Dec 31, 2005 1:57 PM in response to Charles Minow

Hi Charles,
I definitely think you should leave your post up and Ramon's vote certainly seconds that emotion! I may be conceited (not really; I'm just convinced) but I thought it was good detective work to figure out what that 'y' meant. I had to read some of the /System/Library/Perl/5.8.6/CPAN.pm module before I knew exactly how CPAN::Config works. You probably already knew how it works but I still think it's decent detective work. Of course I would; somebody's gotta do the convincing.
--
Gary
~~~~
Paranoia doesn't mean the whole world isn't out to get you.

Dec 31, 2005 4:30 PM in response to Charles Minow

Hi Charlie,
In that case, your detective work was better. You saw that "make" was in the place where Ramon had a 'y'. While Perl can find the make command itself, having just configured the CPAN shell probably helped you figure out from where the information was obtained and that's really all you have to know about the mechanism. I can see why Apple support refers some people here; there's more than a few ganglionically-graced ganders in this gaggle.
--
Gary
~~~~
>>> Internal error in fortune program:
>>> fnum=2987 n=45 flag=1 goose_level=-232323
>>> Please write down these values and notify fortune
program administrator.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

make trouble with Perl module insall (LWP::Simple)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.