469,268 Members | 1,022 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,268 developers. It's quick & easy.

Problem installing DBD::mysql on a Mac OS X Panther system

I've successfully installed MySQL and the Perl DBI module, but when I
try to install DBD::mysql, it keeps failing like this:

-------------------- (from the CPAN shell) ---------------------
....
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3
cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
-o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
-lmysqlclient -lz -lm
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

cpan>
----------------------------------------------------------------

I've been doing a little Perl programming for a while now, but I'm far
from an expert, and I've been relying on simply using whatever was
already installed on my web hosting system, where the DBI and DBD::mysql
modules were pre-installed without me having to do a thing to get them
there.

I don't even have a clue where to start in evaluating what this
installation error is about. I'm just trying to follow instructions that
I've founding Googling around for help on installing Perl packages on a
Mac OS X system, and none of that help covers what to do when an
installation like this fails for God knows what reason.

Help!
Jul 19 '05 #1
1 3144
In article <DEP2c.200567$uV3.814804@attbi_s51>, Kerry Shetline
<ke***@shetline.com> wrote:
I've successfully installed MySQL and the Perl DBI module, but when I
try to install DBD::mysql, it keeps failing like this:

-------------------- (from the CPAN shell) ---------------------
....
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3
cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
-o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
-lmysqlclient -lz -lm
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

cpan>
----------------------------------------------------------------

I've been doing a little Perl programming for a while now, but I'm far
from an expert, and I've been relying on simply using whatever was
already installed on my web hosting system, where the DBI and DBD::mysql
modules were pre-installed without me having to do a thing to get them
there.

I don't even have a clue where to start in evaluating what this
installation error is about. I'm just trying to follow instructions that
I've founding Googling around for help on installing Perl packages on a
Mac OS X system, and none of that help covers what to do when an
installation like this fails for God knows what reason.

Help!

You can install it via fink --> http://fink.sourceforge.net

$ fink list dbi
dbi-pm 1:1.38-3
dbi-pm560 1:1.35-3
dbi-pm581 1:1.38-1
libdbi 0.7.2-1
libdbi-dev 0.7.2-1
libdbi-drivers-mysql 0.7.1-1
libdbi-shlibs 0.7.2-1

$ fink install libdbi-drivers-mysql

--
Koncept <<
"Contrary to popular belief, the most dangerous animal is not the lion or
tiger or even the elephant. The most dangerous animal is a shark riding
on an elephant, just trampling and eating everything they see." - Jack Handey
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Randell D. | last post: by
reply views Thread by Madhu Nair | last post: by
reply views Thread by Yun Guan | last post: by
reply views Thread by John Ntow | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.