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 afresh 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")
# Looks like your test died before it could output anything.
Running make test
Make had some problems, maybe interrupted Won't test
Running
make installMake had some problems, maybe interrupted Won't install you’ll need to install the Apple Developer Tools. These are available on the Mac OS X
install disk that came with your system.
Double-click on the XcodeTools.mpkg icon on the screen of disk contents and follow the prompts to install this package.
You can also get the latest version of the Developer Tools by visiting
http://developer.apple.com and registering as a developer (its free. Once you’ve registered and logged into the site,
click on the Downloads link, and then click on the Developer Tools link on the downloads page. From the Developer Tools download page, click on the latest release of the Mac SDK;
at the time of writing, this was 1.2, with version 2.0 available for testing.
If you see a message similar to the one below:
Writing Makefile for DBD::mysql
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible you’ll need to build the downloaded module manually. First, check the directories containing the downloaded module source files
ls
/.cpan/buildDBD-mysql-3.0002 DBI-1.48
In this example, we have files for DBI version 1.48 and DBD MySQL driver version. The versions you download maybe different.
Now, build the module by changing to the corresponding directory (here we’ll
compile the DBI module cd
/.cpan/build/DBI-1.48and using the make command
makeOnce the module has been successfully built, install
it as the system root user sudo make installRepeat this process for any other modules you need to compile.
Share with your friends: