I have a binary distribution of MySQL 4.0.20 installed in
/usr/local/mysql.
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
this:
---------------------------------
[root@localhost DBD-mysql-2.9004]# perl Makefile.PL
--libs=/usr/local/mysql/lib/lib/mysqlclient.a
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include -mcpu=pentiumpro
libs (Users choice) =
/usr/local/mysql/lib/lib/mysqlclient.a
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:
'/usr/local/mysql/lib/lib/mysqlclient.a'
Using DBI 1.30 installed in
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
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.
Thanks.
John