471,075 Members | 1,252 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.


I have a binary distribution of MySQL 4.0.20 installed in
Therefore, the only libmysqlclient file I have is libmysqlclient.a
(static library).
And also, Perl:DBI already installed.

I'm trying to install perl-DBD-MySQL-2.9004 from source.
What should I add to 'perl Makefile.PL' as arguments to make sure it
finds the
static library?

I've tried 'perl Makefile.PL
--libs=/usr/local/mysql/lib/libmysqlclient.a and gotten


[root@localhost DBD-mysql-2.9004]# perl Makefile.PL
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include -mcpu=pentiumpro
libs (Users choice) =
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Unrecognized argument in LIBS ignored:
Using DBI 1.30 installed in
Writing Makefile for DBD::mysql
[root@localhost DBD-mysql-2.9004]#


What should I do to get DBD-MySQL to install correctly?

Any help will be greatly appreciated.

Jul 20 '05 #1
0 1137

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Mark Wilson CPU | last post: by
31 posts views Thread by surfunbear | last post: by
reply views Thread by Kirt Loki Dankmyer | last post: by
13 posts views Thread by Otto J. Makela | last post: by
4 posts views Thread by billb | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.