On Jun 13, 2004, at 1:48 AM, Sherm Pendley wrote:

On Jun 13, 2004, at 1:45 AM, Phil Calvert wrote:

I enter the line "sudo perl -MCPAN -e 'install libwww-perl'" and things seem to go well for a while but then it gets stuck at:

CPAN: Storable loaded ok
Going to read /Users/thatsme/.cpan/Metadata
 Database was generated on Tue, 08 Jun 2004 19:34:06 GMT
Warning: Cannot install 0, don't know what it is.
Try the command

 i /0/

to find objects with matching identifiers.

Any ideas on where I go from here?

I get the same error, and also on Linux with 5.8.3 - it appears to be an error in the book. It's not mentioned in the errata listed on oreilly.com though. Maybe something's changed since the book was printed; it's not that old (Oct. '03), but it's possible, especially given the lead time for dead tree editions.


Installing Bundle::LWP works though - i.e. "perl -MCPAN -e 'install Bundle::LWP'".

sherm--


Hi,

That gets me a bit father along (or at least I think it does, since there's quite a bit of activity) but then it hangs up with this;

Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" -DU32_ALIGNMENT_REQUIRED MD5.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
Running Mkbootstrap for Digest::MD5 ()
chmod 644 MD5.bs
rm -f blib/arch/auto/Digest/MD5/MD5.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib MD5.o -o blib/arch/auto/Digest/MD5/MD5.bundle
ld: -undefined: unknown argument: dynamic_lookup
make: *** [blib/arch/auto/Digest/MD5/MD5.bundle] Error 1
/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


...Which is different from before (and therefore a welcome change) but still sounds bad.

Thanks for the hint about the errata. I didn't think of looking in at it - not that it would have helped this time. I've submitted an errata about this.

--Phil




Reply via email to