[EMAIL PROTECTED] wrote:

Who set this thing up? The --testuser and --testpassword wasn't set up to connect to the db properly, which is why it failed!

radha:~/DBD/subversion/DBD-mysql/trunk patg$ perl Makefile.PL --help
Usage: perl Makefile.PL [options]

Possible options are:

 --cflags=<flags>       Use <flags> for running the C compiler; defaults
                        to the value of "mysql_config --cflags" or a gussed
                        value
 --libs=<libs>          Use <libs> for running the linker; defaults
                        to the value of "mysql_config --libs" or a guessed
                        value
--embedded=<libs> Build embedded version of DBD and use <libs> for this;
                        defaults to the value of "mysql_config --embedded"
                        (default: off)
 --testdb=<db>          Use the database <db> for running the test suite;
                        defaults to test
 --testuser=<user>      Use the username <user> for running the test suite;
                        defaults to no username
 --testpassword=<pwd>   Use the password <pwd> for running the test suite;
                        defaults to no password
 --testhost=<host>      Use <host> as a database server for running the
                        test suite; defaults to localhost.
 --testport=<port>      Use <port> as the port number of the database;
                        by default the port number is choosen from the
                        mysqlclient library
 --mysql_config=<path>  Specify <path> for mysql_config script
                        (Not supported on Win32)
 --nocatchstderr        Supress using the "myld" script that redirects
                        STDERR while running the linker.
 --nofoundrows          Change the behavoiur of $sth->rows() so that it
                        returns the number of rows physically modified
                        instead of the rows matched
 --ps-protocol          Toggle the use of server-side prepare, requires
                        MySQL server version 4.1.3 if set to 1
 --force-embedded       Force to build embedded version of driver
 --ssl                  Enable SSL support
 --help                 Print this message and exit

This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible.  See
http://testers.cpan.org/

Please cc any replies to [email protected] to keep other
test volunteers informed and to prevent any duplicate effort.
        
--
Dear Patrick Galbraith,
This is a computer-generated test report for DBD-mysql-3.0008, created
automatically by CPAN::Reporter, version 0.28.

Thank you for uploading your work to CPAN.  However, it appears that
there were some problems testing your distribution.

Sections of this report:

   * Tester comments
   * Prerequisites
   * Test output

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:
[none provided]

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

Module Need Have ------------ ---- --------
   Data::Dumper 0    2.121_04
DBI 1.08 1.52
------------------------------
TEST OUTPUT
------------------------------

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok
t/10dsnlist..........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/10dsnlist.t line 45
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
t/20createdrop.......DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/20createdrop.t line 45
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
t/30insertfetch......DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/30insertfetch.t line 48
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/35limit............DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/35limit.t line 50
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-113
        Failed 113/113 tests, 0.00% okay
t/35prepare..........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/35prepare.t line 37
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t/40bindparam........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/40bindparam.t line 64
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-28
        Failed 28/28 tests, 0.00% okay
t/40bindparam2.......DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/40bindparam2.t line 64
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
        Failed 13/13 tests, 0.00% okay
t/40blobs............DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/40blobs.t line 64
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40listfields.......DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/40listfields.t line 57
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-18
        Failed 18/18 tests, 0.00% okay
t/40nulls............DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/40nulls.t line 50
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40numrows..........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/40numrows.t line 59
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
        Failed 25/25 tests, 0.00% okay
t/41bindparam........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/41bindparam.t line 37
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/41blobs_prepare....DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/41blobs_prepare.t line 71
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-24
        Failed 24/24 tests, 0.00% okay
t/42bindparam........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/42bindparam.t line 37
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/50chopblanks.......DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/50chopblanks.t line 57
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
        Failed 35/35 tests, 0.00% okay
t/50commit...........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/50commit.t line 64
Can't call method "tables" on an undefined value at t/lib.pl line 232.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t/60leaks............skipped
all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not installed t/dbdadmin...........DBI connect('test','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/dbdadmin.t line 74
Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
        Either your server is not up and running or you have no
        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.
dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-21
        Failed 21/21 tests, 0.00% okay
t/insertid...........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/insertid.t line 13
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
        Failed 12/12 tests, 0.00% okay
t/param_values.......DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/param_values.t line 16
Can't call method "tables" on an undefined value at t/lib.pl line 232.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
        Failed 8/8 tests, 0.00% okay
t/prepare_noerror....DBI connect('test;mysql_server_prepare=1','',...) failed: 
Access denied for user 'root'@'localhost' (using password: NO) at 
t/prepare_noerror.t line 22
Can't call method "prepare" on an undefined value at t/prepare_noerror.t line 
25.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/texecute...........DBI connect('test','',...) failed: Access denied for user 
'root'@'localhost' (using password: NO) at t/texecute.t line 17
Can't call method "tables" on an undefined value at t/lib.pl line 232.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
Failed Test         Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/10dsnlist.t         10  2560     9   17  1-9
t/20createdrop.t      10  2560     5    9  1-5
t/30insertfetch.t     10  2560    11   21  1-11
t/35limit.t           10  2560   113  225  1-113
t/35prepare.t        255 65280    30   60  1-30
t/40bindparam.t       10  2560    28   55  1-28
t/40bindparam2.t      10  2560    13   25  1-13
t/40blobs.t           10  2560    11   21  1-11
t/40listfields.t      10  2560    18   35  1-18
t/40nulls.t           10  2560    11   21  1-11
t/40numrows.t         10  2560    25   49  1-25
t/41bindparam.t      255 65280    11   22  1-11
t/41blobs_prepare.t   10  2560    24   47  1-24
t/42bindparam.t      255 65280    11   22  1-11
t/50chopblanks.t      10  2560    35   69  1-35
t/50commit.t         255 65280    30   59  1-30
t/dbdadmin.t          10  2560    21   41  1-21
t/insertid.t         255 65280    12   24  1-12
t/param_values.t     255 65280     8   15  1-8
t/prepare_noerror.t  255 65280    ??   ??  ??
t/texecute.t         255 65280     9   17  1-9
1 test skipped.
Failed 21/23 test scripts. 435/440 subtests failed.
Files=23, Tests=440, 16 wallclock secs ( 9.03 cusr +  0.80 csys =  9.83 CPU)
Failed 21/23 test programs. 435/440 subtests failed.
make: *** [test_dynamic] Error 255


--

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
 Platform:
   osname=linux, osvers=2.6.10, archname=i486-linux-gnu-thread-multi
   uname='linux rothera 2.6.10 #1 smp fri may 13 09:24:22 utc 2005 i686 
gnulinux '
   config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN 
-Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr 
-Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr 
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.7 
-Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1 
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl 
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib 
-Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
   usemymalloc=n, bincompat5005=undef
 Compiler:
   cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
   optimize='-O2',
   cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN 
-fno-strict-aliasing -pipe -I/usr/local/include'
   ccversion='', gccversion='4.0.3 20051204 (prerelease) (Ubuntu 
4.0.2-5ubuntu2)', gccosandvers=''
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
   alignbytes=4, prototype=define
 Linker and Libraries:
   ld='cc', ldflags =' -L/usr/local/lib'
   libpth=/usr/local/lib /lib /usr/lib
   libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
   perllibs=-ldl -lm -lpthread -lc -lcrypt
   libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so.5.8.7
   gnulibc_version='2.3.5'
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
   cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Reply via email to