Greetings,
I am trying to install DBD::mysql on my redhat 8 system running perl 5.8. THere is my problem. I have an rpm install of perl from redhat, but apache,php,mysql are compiled from source and installed. So how do i get perl to talk to mysql, since it is not intalled in the default location. Along with being able to compiled DBD::mysql.
Currently, here are the errors while compiling:
[root@Alpha DBD-mysql-2.9003]# perl Makefile.PL --testdb=test --testpassword=dbtest --testuser=dbtest --testhost=localhost
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I'/usr/include'
libs (mysql_config) = -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (Users choice) = test
testhost (Users choice) = localhost
testpassword (Users choice) = dbtest
testuser (Users choice) = dbtest
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Note (probably harmless): No library found for -lmysqlclient
Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI at Makefile.PL line 295
Using DBI 1.40 (for perl 5.008 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::mysql
[root@Alpha DBD-mysql-2.9003]#
I am trying to install DBD::mysql on my redhat 8 system running perl 5.8. THere is my problem. I have an rpm install of perl from redhat, but apache,php,mysql are compiled from source and installed. So how do i get perl to talk to mysql, since it is not intalled in the default location. Along with being able to compiled DBD::mysql.
Currently, here are the errors while compiling:
[root@Alpha DBD-mysql-2.9003]# perl Makefile.PL --testdb=test --testpassword=dbtest --testuser=dbtest --testhost=localhost
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I'/usr/include'
libs (mysql_config) = -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (Users choice) = test
testhost (Users choice) = localhost
testpassword (Users choice) = dbtest
testuser (Users choice) = dbtest
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Note (probably harmless): No library found for -lmysqlclient
Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI at Makefile.PL line 295
Using DBI 1.40 (for perl 5.008 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::mysql
[root@Alpha DBD-mysql-2.9003]#