Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 4061
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: perl [...] crystalflame.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.045
Fixed in: (no value)



Subject: 0.045 doesn't detect perl.h properly under OS X 10.3
If I theoretically tried to install CPANPLUS 0.045 on OS X 10.3, this would be the error I might have gotten. I'm not sure what the problem is, but it means I can't even try to install 0.045. Checking if your kit is complete...Looks good 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/5.8.1/darwin-thread-multi-2level/CORE/perl.h") root@cay:.cpanplus/5.8.1/build/CPANPLUS-0.045/ > find /System/Library/Perl -name perl.h /System/Library/Perl/darwin/CORE/perl.h
Date: Fri, 10 Oct 2003 14:02:34 +0200
Subject: Re: [Cpanplus-bugs] [cpan #4061] 0.045 doesn't detect perl.h properly under OS X 10.3
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
Show quoted text
> (You get this message, because MakeMaker could not find > "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h") > > root@cay:.cpanplus/5.8.1/build/CPANPLUS-0.045/ > find > /System/Library/Perl -name perl.h > /System/Library/Perl/darwin/CORE/perl.h
that makes it sounds like a MakeMaker bug, not a cpanplus bug... -- Jos Boumans "We are not far from the kind of moral decay that has brought on the fall of other nations and peoples" - Senator Barry Goldwater, 1964 CPANPLUS http://cpanplus.sf.net
From: schwern [...] pobox.com
[kane@dwim.org - Fri Oct 10 08:03:08 2003]: Show quoted text
> that makes it sounds like a MakeMaker bug, not a cpanplus bug...
After talking with coral and Ed Moy it looks like this is a mistake in OS X 10.3. Or at least a very poor design decision. OS X 10.3 is not shipping with $Config{archlib}/ CORE/perl.h. All the perl header files are in the DevTools distribution. MakeMaker expects $Config{archlib}/CORE/perl.h to exist, its one of the ways it determines where and when Perl was installed. Without that file *YOU CANNOT INSTALL ANY PERL MODULES* (at least none that use MakeMaker). You must install the Perl header files by downloading and installing the rather large 10.3 Developer Tools package. This is not a bug in CPANPLUS but rather a design decision on Apple's part not to ship the Perl header files with the OS. I believe they didn't realize the full consequences of this and thought the header files were only used when installing XS modules. I'm working with Ed Moy to hopefully correct this before 10.3 ships.