Dear list, i have a problem installing DBD::mysql module. My built is FC3 on a P4 machine. i installed mysql database via Mysql-serever-5.1.10-0.i386.rpm also via a binary version of mysql-standard-4.1.10-pc-linux-gnu-i686. both the mysql servers are fine. And i could install DBI modules thru CPAN. But i could not install DBD::mysql thru cpan. I tried manually too. i have attached the output produced by make and make test. Can some one help me out. I guess there si some problem with cflags and lib ... But i could not sort it out .... Many thanks in advance ... Sincerely, gowtham
------------------------------------------------------------------------
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/local/include/mysql libs (mysql_config) = -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
Have you checked /etc/ld.so.conf or your environment to see if the linker knows about the /usr/local/lib directory?
And/or did you install the mysql-devel/mysql-client rpm packages. I believe the first is required to build DBD::mysql, though since you didn't have build problems it seems as if it installed (hence the mysql-config script) which is why I would look at the include and lib location flags first...
[snip]
HTH,
http://danconia.org
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>