Databases Reference
In-Depth Information
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")
# Looks like your test died before it could output anything.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make 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 (it's free). Once you've registered and logged
in to 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/build
DBD-mysql-3.0002 DBI-1.48
In this example, we have files for DBI version 1.48 and DBD MySQL driver version
3.0002. The versions you download may be different.
Now, build the module by changing to the corresponding directory (here we'll compile
the DBI module):
$ cd ~/.cpan/build/ DBI-1.48
and using the make command:
$ make
Once the module has been successfully built, install it as the system root user:
$ sudo make install
Repeat this process for any other modules you need to compile.
 
Search WWH ::




Custom Search