At 11:44, 19990831, David Bessell wrote:
>>Description:
>I have just installed MySQL (for the first time) following the steps in the
>manual. When I try to test the installation with "run-all-tests" I get the
>following error message with both mysqld and safe_mysql. DBI.pm does not
>appear anywhere in the manual.
>
>trainer# ./run-all-tests
>Can't locate DBI.pm in @INC (@INC contains:
>/usr/libdata/perl/5.00502/mach /usr/ libdata/perl/5.00502
>/usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/loca
>l/lib/perl5/site_perl/5.005 .) at ./run-all-tests line 20.
>BEGIN failed--compilation aborted at ./run-all-tests line 20.
David, run-all-tests uses perl scripts which in turn use DBI. The
perl packages are no longer distributed with MySQL, but there are
links to them on the Downloads page (Downloads for Perl). After you
install those in the the normal fashion (perl Makefile.PL; make test;
su root -c 'make install'), you should be set.
Maybe there should be a note somewhere on the downloads page(s)
mentioning that the Perl modules are required for benchmarking and
testing.
Tim