List:MySQL and Perl« Previous MessageNext Message »
From:Arkadiy Chapkis - Arc Date:April 19 1999 2:08am
Subject:make test fails
View as plain text  
  Hello! I think I have a problem doing `make test` for this module on my
AlphaStation 200 4/233 with RH5.2, kernel 2.2.3, mysqld running and Perl
5.004_04. Here's the output of `perl Makefile.PL;make;make test` commands:

yakov:/usr/src/Msql-Mysql-modules-1.2017$ perl Makefile.PL
Checking for DBI, 0.93 or later ... ok
Checking for Data::Dumper ... ok
Checking for Data::ShowTable ... ok


Which DBMS do you want to use?

  1) MySQL
  2) mSQL (1 or 2)
  3) Both MySQL and mSQL

  4) mSQL1 and mSQL2
  5) Everything (MySQL, mSQL1 and mSQL2)

Enter your choice:  [3] 1


Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n]
Which database should I use for testing the Mysql drivers? [test]
On which host is database test running (hostname,  ip address or host:port)
 [localhost]
User name for connecting to database test? [undef] root
Password for connecting to database test? [undef] 
Where is your mysql installed? Please tell me the directory that contains
the subdir include/. [/usr/local]
Creating Mysql files .....................
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
yakov:/usr/src/Msql-Mysql-modules-1.2017$ make
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/Msql-Mysql-modules
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/Msql-Mysql-modules
mkdir ./blib/man1
make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
mkdir .././blib/lib/DBD
mkdir .././blib/arch/auto/DBD
mkdir .././blib/arch/auto/DBD/mysql
mkdir .././blib/lib/auto/DBD
mkdir .././blib/lib/auto/DBD/mysql
mkdir .././blib/man3
cp mysql.pm .././blib/lib/DBD/mysql.pm
cc -c -I/usr/lib/perl5/site_perl/alpha-linux/auto/DBI
-I/usr/local/include/mysql
 -I../dbd  -I/usr/lib/perl5/site_perl/alpha-linux/auto/DBI
-I/usr/lib/perl5/alph
a-linux/5.00404 -Dbool=char -DHAS_BOOL -I/usr/local/include -O2   
-DVERSION=\"2
.0217\" -DXS_VERSION=\"2.0217\" -fpic -I/usr/lib/perl5/alpha-linux/5.00404/CORE
-DDBD_MYSQL -DMyConnect=mysql_dr_connect -DMyLogin=mysql_dr_login dbdimp.c
perl -p -e "s/\~DRIVER\~/mysql/g" <
/usr/lib/perl5/site_perl/alpha-linux/auto/DB
I/Driver.xst > mysql.xsi
/usr/bin/perl -I/usr/lib/perl5/alpha-linux/5.00404 -I/usr/lib/perl5
/usr/lib/per
l5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap mysql.xs >mysql.tc
&& mv mysql.tc mysql.c
cc -c -I/usr/lib/perl5/site_perl/alpha-linux/auto/DBI
-I/usr/local/include/mysql
 -I../dbd  -I/usr/lib/perl5/site_perl/alpha-linux/auto/DBI
-I/usr/lib/perl5/alph
a-linux/5.00404 -Dbool=char -DHAS_BOOL -I/usr/local/include -O2   
-DVERSION=\"2
.0217\" -DXS_VERSION=\"2.0217\" -fpic -I/usr/lib/perl5/alpha-linux/5.00404/CORE
-DDBD_MYSQL -DMyConnect=mysql_dr_connect -DMyLogin=mysql_dr_login mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib/gcc-lib/alpha-redhat-linux/egcs-
2.91.60" cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib
dbdimp.o mysql.o -L/usr/local/lib/mysql    -L/usr/local/lib/mysql -lmysqlclient
-lm -L/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.60 -lgcc
chmod 755 .././blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs .././blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 .././blib/arch/auto/DBD/mysql/mysql.bs
Manifying .././blib/man3/DBD::mysql.3
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
Manifying ./blib/man1/dbimon.1
mkdir ./blib/script
cp dbimon ./blib/script/dbimon
/usr/bin/perl -I/usr/lib/perl5/alpha-linux/5.00404 -I/usr/lib/perl5
-MExtUtils::
MakeMaker -e "MY->fixin(shift)" ./blib/script/dbimon
yakov:/usr/src/Msql-Mysql-modules-1.2017$ make test
make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/lib/perl
5/alpha-linux/5.00404 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests
$verbo
se); $verbose=0; runtests @ARGV;' t/*.t
t/00base............ok
t/10dsnlist.........ok
t/20createdrop......ok
t/30insertfetch.....ok
t/40bindparam.......ok
t/40blobs...........FAILED test 8
        Failed 1/11 tests, 90.91% okay
t/40listfields......ok
t/40nulls...........ok
t/40numrows.........ok
t/50chopblanks......ok
t/50commit..........ok
t/60leaks...........skipping test on this platform
t/ak-dbd............ok
t/dbdadmin..........ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/40blobs.t                  11    1   9.09%  8
Failed 1/14 test scripts, 92.86% okay. 1/258 subtests failed, 99.61% okay.
make[1]: *** [test_dynamic] Error 9
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
make: *** [test] Error 2
yakov:/usr/src/Msql-Mysql-modules-1.2017$


  I'd be very happy if someone help me out with this - mysql requires this
module to be installed.

  Thank you,


                                      Arc C.
                                      achapkis@stripped
                                      achapkis@stripped
Thread
make test failsArkadiy Chapkis - Arc19 Apr
  • Re: make test fails(Alan E. Derhaag)19 Apr
Re: make test failsArkadiy Chapkis - Arc19 Apr
Re: make test failsJochen Wiedmann20 Apr