Snowber Khan wrote: > [EMAIL PROTECTED] bugzilla]# perl -MCPAN -e 'force install "DBD::mysql"' > CPAN: Storable loaded ok > Going to read /root/.cpan/Metadata > Database was generated on Wed, 12 Mar 2003 15:42:32 GMT > Running install for module DBD::mysql > Running make for J/JW/JWIED/DBD-mysql-2.1026.tar.gz > > CPAN: MD5 security checks disabled because MD5 not installed. > Please consider installing the MD5 module. >
Highly recommend cpan> install Digest::MD5 cpan> install MIME::Base64 before you go any further. [snip] > > CPAN.pm: Going to build J/JW/JWIED/DBD-mysql-2.1026.tar.gz > > I will use the following settings for compiling and testing: > > cflags (mysql_config) = -I'/usr/include/mysql' > libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz > -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss > _files -lnss_dns -lresolv > nocatchstderr (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'. > Here's your clue #1 To edit these settings and build manually, do a look DBD::mysql and follow the instructions in the commands given above. [snip] > /usr/bin/make -- OK This is good > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use > Test::Harn ess qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t > t/00base............ok t/10dsnlist.........DBI->connect(test) failed: > Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) at > t/10dsnlist.t line > 45 > Cannot connect: Access denied for user: '[EMAIL PROTECTED]' (Using password: > NO) > Either your server is not up and running or you have no Here's your clue #2 > permissions for acessing the DSN DBI:mysql:test. > This test requires a running server and write permissions. > Please make sure your server is running and you have > permissions, then retry. > t/10dsnlist.........dubious > Test returned status 10 (wstat 2560, 0xa00) > DIED. FAILED tests 1-9 > Failed 9/9 tests, 0.00% okay [snip] > make test had returned bad status, won't install without force This is bad. > [EMAIL PROTECTED] bugzilla]# Recommend making sure the mysql server is running before installing this module. If it is, then I recommend that you edit the parameters of the install process and run it manually while doing 'look DBD::mysql'.