Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / December 2003



Tip: Looking for answers? Try searching our database.

Help requested for installing module...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kim Helliwell - 25 Dec 2003 04:27 GMT
I'm trying to install the Spreadsheet::WriteExcel module.
I downloaded the .tar.Z file and unpacked it, and started
with the commmand "perl Makefile.PL". Here's what I got:

> kim% perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite Parse::RecDescent 0 not found.
>
> 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")

This is the stock perl install from Panther, and I'm up to date. I did
find the
perl.h file in /System/Library/Perl/darwin/CORE/perl.h, so it exists,
but
the .PL script looks for it in a different place evidently. Is there a
simple
fix for this, or will I have to do a whole new install of Perl?

It looks like there are some other prereqs I need to install, I realize.
But I bet properly locating perl.h is fundamental for all module
installs...

Thanks for any help....

Kim Helliwell
kimgh@mac.com
Homepage: http://homepage.mac.com/kimgh
Oliver Schnarchendorf - 25 Dec 2003 04:39 GMT
>> Parse::RecDescent

Kim,

    perl.h is not the problem... even if perl says so.

    You need to install the Parse::RecDescent Module because it is a dependency of whatever you try to install.

thanks
/oliver/
Sherm Pendley - 26 Dec 2003 02:35 GMT
>> (You get this message, because MakeMaker could not find
>> "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h")
>
> This is the stock perl install from Panther, and I'm up to date. I did
> find the
> perl.h file in /System/Library/Perl/darwin/CORE/perl.h,

The perl.h you found is from the older 5.6 Perl included with 10.1 &
Jaguar. Since the older Perl is still there, I'm guessing that you
upgraded to Panther, and didn't choose the "clean install" option.
That's not a problem - just explaining why you found a copy of perl.h
in a location other than the one where the current Perl expects it. ;-)

Have you updated your developer tools? If so, did you install the "BSD
SDK" sub-package? That's the package that installs the Perl headers.
It's optional but installed by default.

sherm--
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.