Well, I just tried to install the latest DBI on a MacOSX machine using the
following:

sudo perl -MCPAN -e shell
cpan> install DBI

It went without a flaw and passed all of its tests.  The test system is
running MacOSX 10.1.4 on a G4 Cube.  The development tools are reasonably up
to date and I've never tweaked the perl installation there (other than some
other CPAN modules), so it should be in the default install location.

Is it possible that your development tools need to be updated?  That's a
separate step from the regular system upgrades, I think.

Stph

> -----Original Message-----
> From: Patrick Burke [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 1:54 PM
> To: [EMAIL PROTECTED]
> Subject: DBI on Mac OSX?
> 
> 
> Hi,
> 
> Sorry to bother you, but I've been having a heckuva time 
> trying to get 
> DBI on my Mac OSX, and I was wondering if you've heard from others in 
> similar situations.
> 
> I downloaded DBI 1.22 from CPAN. When I try to run the module ("perl 
> Makefile.PL"), I get the following error:
> 
> Begin Error:
> ***************
> Error: Unable to locate installed Perl libraries or Perl source code.
> 
> It is recommended that you install perl in a standard location before
> building extensions. Some precompiled versions of perl do not contain
> these header files, so you cannot build extensions. In such a case,
> please build and install your perl from a fresh perl distribution. It
> usually solves this kind of problem.
> 
> (You get this message, because MakeMaker could not find 
> "/System/Library/Perl/darwin/CORE/perl.h")
> ****************
> End Error
> 
> Have you heard from others who have done this successfully 
> the way OSX 
> is set up by default? Or did they install a new distribution of perl, 
> the way the error message suggests?
> 
> Thanks.
> 
> 
> 

Reply via email to