in reply to Installing DBD::MySQL on Mac OS X - Problems

Hi blackrussian,

Have you considered using Cpan.pm to install the module?
See the node Re: Perl on macOSX Darwin for details.
If you are having problems installing this by hand I think it may be worth a try.
The module install nodes have a secton on Cpan installation.

On a different note, should you wish to upgrade the Perl version your running have a read at this.
I know this is not part of your question, but a few OSX users have asked me about this in the past.

Also I notice this is your first post (under this user anyway), welcome :)
Please read the PerlMonks FAQ if you have not done so already.

Update: Just to be clear, I am not suggesting that your problems are related to the version of Perl you are running. I provided the link on upgrading as an aside.

Hope this helps.

Martin
  • Comment on Re: Installing DBD::MySQL on Mac OS X - Problems

Replies are listed 'Best First'.
Re^2: Installing DBD::MySQL on Mac OS X - Problems
by blackrussian (Initiate) on Oct 19, 2005 at 14:21 UTC
    Hi Martin,
    thanks for your reply. Yes, I orginally tried to install using CPAN, but even CPAN doesn't seem to be working. Whenever I try to install anything I get this kind of error:
    cpan> install Net::Ping CPAN: Storable loaded ok Going to read /var/root/.cpan/Metadata Database was generated on Sat, 28 May 2005 20:56:04 GMT CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz Useless content call in void context at /Library/Perl/5.8.1/LWP/Protoc +ol/ftp.pm line 398 LWP failed with code[400] message[FTP return code 000] Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
    etc.etc. I am not sure how to go about recompiling or resetting the CPAN module, since something seems to be fundamentally wrong here.

    Would you have any tips for me??! Thanks, BR

      Hi blackrussian,

      To reconfigure the CPAN module options type "o conf init" from the "cpan>" prompt.
      This is in the CPAN.pm documentation.
      Reselecting your mirrors may be the answer here, if you are unable to FTP any modules down.
      Can you manually ftp this file from the location in the error message?
      Let me know how you get on.

      Hope this helps.

      Martin