Patrick Higgins wrote:
I am trying to install the DBI1.42 module in
OSX10.3.4 with a standard OSX install of
perl 5.8.1. It says it is unable to install because
it cannot find the file  .../CORE/Perl.h

The 5.8.1 RC3 build?

What can I do to fix this?

At the bottom of the 'perl -V' output, there's a list of directories in @INC. Mine lists:


  @INC:
    /System/Library/Perl/5.8.1/darwin-thread-multi-2level
    /System/Library/Perl/5.8.1
    /Library/Perl/5.8.1/darwin-thread-multi-2level
    /Library/Perl/5.8.1
    /Library/Perl
    /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
    /Network/Library/Perl/5.8.1
    /Network/Library/Perl
    .

I did a search using:

find $(echo "/System/...") -name perl.h -print

Where the ... represents the cut'n'pasted list of directories, new lines and all. The results listed this twice (because the second entry is a directory above the first.

/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h

If you don't have that file, then I wonder if you have the development tools installed? If not, it could be that the upgrade omits that which can't be used.

I was able to build DBI 1.42 (actually, the RC1 package of it) on MacOSX 10.3.4 using:

/usr/bin/perl Makefile.PL
make && make test

I didn't do the install step.

--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/




Reply via email to