Learning Mysql


noand press the Enter key to letPerl figure out how best to download the required files.Problems installing the Perl modules



Download 4.24 Mb.
View original pdf
Page89/366
Date04.08.2023
Size4.24 Mb.
#61806
1   ...   85   86   87   88   89   90   91   92   ...   366
Learning MySQL
no
and press the Enter key to let
Perl figure out how best to download the required files.
Problems installing the Perl modules
If, during the install process, you see an error message such as this one:
Error: Unable to locate installed Perl libraries or Perl source code.
It is recommended that you install perl in a standard location before
Setting up Perl | 91

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 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 (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/build

DBD-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.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.

Download 4.24 Mb.

Share with your friends:
1   ...   85   86   87   88   89   90   91   92   ...   366




The database is protected by copyright ©ininet.org 2024
send message

    Main page