Hello at first, because i'm new on the list.
Excuse my english i'm from Spain :(
I'm triting to install the DBD-mysql module on my linux Slackware 8.
I try to install with CPAN,MCPAN, and manually but i have errors.
If i install manually without the make test the module left installed,
but i thing that not good installed.
On the make test i receive this messages:
---------------------------------------------------------------------------
Failed xx/xx tests, 0.00% okay
t/40listfields......install_driver(mysql) failed: Can't load
'blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql:
blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_real_escape_string at
/usr/lib/perl5/i386-linux/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/40listfields.t line 57
t/40listfields......dubious
Test returned status 255 (wstat 65280, 0xff00)
(...) MANY OTHERS like that and...
Compilation failed in require at blib/lib/Mysql.pm line 13.
Compilation failed in require at t/mysql.t line 34.
BEGIN failed--compilation aborted at t/mysql.t line 34.
t/mysql.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-68
Failed 68/68 tests, 0.00% okay
t/mysql2............Had to create DBD::mysql::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/i386-linux/DBI.pm line 913.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/i386-linux/DBI.pm line 913.
Can't locate object method "connect" via package "Mysql" (perhaps you forgot to load
"Mysql"?) at blib/lib/Mysql.pm line 71.
Driver has not implemented the disconnect_all method. at
/usr/lib/perl5/site_perl/i386-linux/DBI.pm line 552
END failed--call queue aborted.
t/mysql2............dubious
Test returned status 255 (wstat 65280, 0xff00)
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/00base.t 255 65280 5 2 40.00% 4-5
t/10dsnlist.t 255 65280 9 9 100.00% 1-9
t/20createdrop.t 255 65280 5 5 100.00% 1-5
t/30insertfetch.t 255 65280 11 11 100.00% 1-11
t/40bindparam.t 255 65280 28 28 100.00% 1-28
t/40blobs.t 255 65280 11 11 100.00% 1-11
t/40listfields.t 255 65280 16 16 100.00% 1-16
t/40nulls.t 255 65280 11 11 100.00% 1-11
t/40numrows.t 255 65280 25 25 100.00% 1-25
t/50chopblanks.t 255 65280 35 35 100.00% 1-35
t/50commit.t 255 65280 30 30 100.00% 1-30
t/ak-dbd.t 255 65280 90 90 100.00% 1-90
t/akmisc.t 255 65280 351 351 100.00% 1-351
t/dbdadmin.t 255 65280 20 20 100.00% 1-20
t/insertid.t 255 65280 12 12 100.00% 1-12
t/mysql.t 255 65280 68 68 100.00% 1-68
t/mysql2.t 255 65280 ?? ?? % ??
1 test skipped.
Failed 17/18 test scripts, 5.56% okay. 724/727 subtests failed, 0.41% okay.
make: *** [test_dynamic] Error 2
---------------------------------------------------------------------------
My system runs with :
PERL 5.6.1 built for i386-linux on /usr/bin/perl
Mysql 3.22.32
DBD module DBD-mysql-2.1017
DBI 1.28
CAN ANYONE HELP ME?????, please i need to sleep more :(
THANKS for advanced