Problems with DBD::mysql v.2.9003 on Solaris 8 (core dumping)

Problems with DBD::mysql v.2.9003 on Solaris 8 (core dumping)

am 11.03.2004 17:24:06 von Gilles Frydman

Perl Makefile.PL went smoothly

Make produced the following:

Using DBI 1.41 (for perl 5.008003 on sun4-solaris-thread-multi-64int)
installed in
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-mul ti-64int/auto/DB
I
Writing Makefile for DBD::mysql
e10kdom0# make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c
-I/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-m ulti-64int/auto/
DBI -I/usr/local/mysql/include/mysql -D_REENTRANT -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC
"-I/usr/local/lib/perl5/5.8.3/sun4-solaris-thread-multi-64in t/CORE"
dbdimp.c
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:1456: warning: cast from pointer to integer of different size
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:2146: warning: cast from pointer to integer of different size
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g"
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-mul ti-64int/auto/DB
I/Driver.xst > mysql.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.3/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 192
Warning: duplicate function definition 'rows' detected in mysql.xs, line 290
gcc -c
-I/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris-thread-m ulti-64int/auto/
DBI -I/usr/local/mysql/include/mysql -D_REENTRANT -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC
"-I/usr/local/lib/perl5/5.8.3/sun4-solaris-thread-multi-64in t/CORE"
mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/mysql/lib/mysql:/usr/lib" /usr/local/bin/perl myld
gcc -Wl,-E -G -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib/mysql
-lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
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
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Mysql.3
Manifying blib/man3/Bundle::DBD::mysql.3

Make test produced this:

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........ok
t/10dsnlist........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/20createdrop.....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/30insertfetch....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40bindparam......dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40blobs..........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40listfields.....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40nulls..........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40numrows........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/50chopblanks.....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/50commit.........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/60leaks..........skipped
all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not
installed
t/ak-dbd...........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 1-90
Failed 90/90 tests, 0.00% okay
t/akmisc...........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 1-351
Failed 351/351 tests, 0.00% okay
t/dbdadmin.........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 1-21
Failed 21/21 tests, 0.00% okay
t/insertid.........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/mysql............dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/mysql2...........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ ----------------
---
t/10dsnlist.t 0 139 ?? ?? % ??
t/20createdrop.t 0 139 ?? ?? % ??
t/30insertfetch.t 0 139 ?? ?? % ??
t/40bindparam.t 0 139 ?? ?? % ??
t/40blobs.t 0 139 ?? ?? % ??
t/40listfields.t 0 139 ?? ?? % ??
t/40nulls.t 0 139 ?? ?? % ??
t/40numrows.t 0 139 ?? ?? % ??
t/50chopblanks.t 0 139 ?? ?? % ??
t/50commit.t 0 139 ?? ?? % ??
t/ak-dbd.t 0 139 90 180 200.00% 1-90
t/akmisc.t 0 139 351 702 200.00% 1-351
t/dbdadmin.t 0 139 21 42 200.00% 1-21
t/insertid.t 0 139 ?? ?? % ??
t/mysql.t 0 139 ?? ?? % ??
t/mysql2.t 0 139 ?? ?? % ??
1 test skipped.
Failed 16/18 test scripts, 11.11% okay. 462/467 subtests failed, 1.07% okay.
make: *** [test_dynamic] Error 2


BTW, make test on Msql-Mysql-modules-1.2219 produced the same kind of
results (core dumping).

Any help will be much appreciated!

TIA.
--
Gilles Frydman
ACOR.org


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org