MySQL cant run run-all-tests
i have followed the INSTALL file instruction in MySQL source which i download it from mysql.com
the compilation seems to went fine and no error but i cant seems to run the test to test whether my installation running or not.
i've tried to run the run-all-tests using this command and got the following error
[root@localhost sql-bench]# perl run-all-tests
Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at run-all-tests line 36.
BEGIN failed--compilation aborted at run-all-tests line 36.
[root@localhost sql-bench]#
whats wrong?
what shall i do to fix this problem.
i have compiled httpd and php successfully and they run fine.
under php compilation i use this command:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
how do i direct php to use my newly installed MySQL which is installed at /usr/local/mysql?
i dont install webserver rpm from my redhat9 disk.
|