Newbie question, DBD::mysql/AIX5

Newbie question, DBD::mysql/AIX5

am 28.08.2003 11:24:10 von David Garcia Aristegui

Hello, i'm triying to

perl -MCPAN -e 'install "DBD::mysql"'
in a machine wtih AIX5, mysql-3.23.37, Perl v5.8.0 built for
aix-thread-multi-64int.

What i'm doing wrong??? Thank you in advanced...

(...)
CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9002.tar.gz

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/opt/database/mysql/include'
libs (mysql_config) = -L/opt/database/mysql/lib
-lmysqlclient -lcrypt -lnsl_r -lm
nocatchstderr (default ) = 0
nofoundrows (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'.

Checking if your kit is complete...
Looks good
Using DBI 1.38 installed in
/opt/perl5/lib/perl5/site_perl/5.8.0/aix-thread-multi-64int/ auto/DBI
Writing Makefile for DBD::mysql
/usr/local/bin/perl -e 'use ExtUtils::Mksymlists; \
Mksymlists("NAME" => "DBD::mysql", "DL_FUNCS" => { }, "FUNCLIST" =>
[], "DL_VARS" => []);'
cc_r -c
-I/opt/perl5/lib/perl5/site_perl/5.8.0/aix-thread-multi-64in t/auto/DBI
-I'/opt/database/mysql/include' -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN
-DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES
-qlonglong -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\"
"-I/usr/local/lib/perl5/5.8.0/aix-thread-multi-64int/CORE" dbdimp.c

(...)

Warning: duplicate function definition 'do' detected in mysql.xs,
line 193Warning: duplicate function definition 'rows' detected in
mysql.xs, line 291
cc_r -c
-I/opt/perl5/lib/perl5/site_perl/5.8.0/aix-thread-multi-64in t/auto/DBI
-I'/opt/database/mysql/include' -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN
-DNEED_PTHREAD_INIT -I/usr/local/include -q32 -
D_LARGE_FILES -qlonglong -O -DVERSION=\"2.9002\"
-DXS_VERSION=\"2.9002\"
"-I/usr/local/lib/perl5/5.8.0/aix-thread-multi-64int/CORE" mysql.c
1506-507 (W) No licenses available. Contact your program supplier to
add additional users. Compilation will proceed shortly.
1506-507 (W) No licenses available. Contact your program supplier to
add additional users. Compilation will proceed shortly.
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/opt/database/mysql/lib:/lib" /usr/local/bin/perl myld
ld -bhalt:4 -bM:SRE
-bI:/usr/local/lib/perl5/5.8.0/aix-thread-multi-64int/CORE/p erl.exp
-bE:mysql.exp -bnoentry

(...)

Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t/00base.t -1 132 ?? ?? % ??
t/10dsnlist.t -1 132 ?? ?? % ??
t/20createdrop.t -1 132 ?? ?? % ??
t/30insertfetch.t -1 132 ?? ?? % ??
t/40bindparam.t -1 132 ?? ?? % ??
t/40blobs.t -1 132 ?? ?? % ??
t/40listfields.t -1 132 ?? ?? % ??
t/40nulls.t -1 132 ?? ?? % ??
t/40numrows.t -1 132 ?? ?? % ??
t/50chopblanks.t -1 132 ?? ?? % ??
t/50commit.t -1 132 ?? ?? % ??
t/ak-dbd.t -1 132 90 90 100.00% 1-90
t/akmisc.t -1 132 351 351 100.00% 1-351
t/dbdadmin.t -1 132 21 21 100.00% 1-21
t/insertid.t -1 132 ?? ?? % ??
t/mysql.t -1 132 ?? ?? % ??
t/mysql2.t -1 132 ?? ??
1 test skipped.
Failed 17/18 test scripts, 5.56% okay. 462/462 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
/usr/local/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force





--
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