in reply to Frustrations with CPAN module installation

The first error message is relatively clear, the second is misleading though :

ftp: local: Digest-MD5-2.30.tar.gz: Permission denied - this means, that CPAN is trying to download the file to some directory (maybe ~/.cpan/authors/... ?), but can't write there. Check the permissions on the directories and try again. Or maybe you have to run CPAN under some "root" account under OSX, but I don't know that much about OSX and its user structure.
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web

Replies are listed 'Best First'.
Re: Re: Frustrations with CPAN module installation
by bradcathey (Prior) on Nov 10, 2003 at 22:08 UTC
    Corion, well I fixed the permissions and got much further. However, whether I try to let CPAN do the work or do it myself with gzip and tar and make, I get this error:
    (You get this message, because MakeMaker could not find "/System/Libra +ry/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h")
    Ideas?

    Gosh, where does one learn this stuff?

    —Brad
    "A little yeast leavens the whole dough."
      I am not a Mac OS user but I vaguely remember some talk that the Perl header files are not shipped with the default install. The Developer Tools need to be installed.
      Ideas? Gosh, where does one learn this stuff?
      What is there to learn (the message say it all)?

      "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h" does not exist, which means your perl install is broken.

      All these 3rd party binary installations are really annoying, mostly because people don't know what to do when things break.

      Install perl by compiling it from sources yourself. The various INSTALL files cover everything you need to know.