Trying to install Msql-Mysql-modules-1.2216.

System is Linux w/following:

perl 5.6.1 (built from source)
DBI-1.14 (installed without apparent problem)
Data-ShowTable-3.3 (got error re: missing > during make, but make test fine --
suspect POD syntax error)
MySQL-3.23.38 (server up and running, installed from RPM, clients work fine)

I get the following(my input underlined):

perl Makefile.PL
Which drivers do you want to install?
    1)  MySQL only
    2)  mSQL only (either of mSQL 1 or mSQL 2)
    3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
    4)  mSQL 1 and mSQL 2
    5)  MySQL, mSQL 1 and mSQL 2
Enter the appropriate number:  [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! [y] n
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local/mysql] <carriage return>
Which database should I use for testing the MySQL drivers? [test] <carriage
return>
On which host is database test running (hostname, ip address
or host:port) [localhost] <carriage return>
User name for connecting to database test? [undef] xxxxxxx
Password for connecting to database test? [undef] xxxxxxx
Creating files for MySQL ....................
Checking if your kit is complete...
Looks good
Using DBI 1.14 installed in
/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules

make
/usr/local/bin/pod2text mysql/lib/DBD/mysql.pm >README
make[1]: Entering directory `/usr/local/src/Msql-Mysql-modules-1.2216/mysql'
cp lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm
cp lib/Bundle/DBD/mysql.pm ../blib/lib/Bundle/DBD/mysql.pm
cp lib/Mysql/Statement.pm ../blib/lib/Mysql/Statement.pm
cp lib/Mysql.pm ../blib/lib/Mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI
-I/usr/local/mysql/include/mysql -I../dbd
-I/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI
-I/usr/local/lib/perl5/5.6.1/i586-linux -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.0416\"
-DXS_VERSION=\"2.0416\" -fpic -I/usr/local/lib/perl5/5.6.1/i586-linux/CORE
-DDBD_MYSQL dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i586-linux
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp 
-typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI
-I/usr/local/mysql/include/mysql -I../dbd
-I/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI
-I/usr/local/lib/perl5/5.6.1/i586-linux -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.0416\"
-DXS_VERSION=\"2.0416\" -fpic -I/usr/local/lib/perl5/5.6.1/i586-linux/CORE
-DDBD_MYSQL 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:/lib:/usr/lib:/usr/lib/gcc-lib/i386-
redhat-linux/egcs-2.91.66" cc  -shared -L/usr/local/lib dbdimp.o mysql.o
-L/usr/local/mysql/lib/mysql  -o ../blib/arch/auto/DBD/mysql/mysql.so  
-L/usr/local/mysql/lib/mysql -lmysqlclient -lm -lz
-L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -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
Manifying ../blib/man3/Bundle::DBD::mysql.3
Manifying ../blib/man3/Mysql.3
make[1]: Leaving directory `/usr/local/src/Msql-Mysql-modules-1.2216/mysql'
cp dbimon blib/script/dbimon
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i586-linux
-I/usr/local/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)"
blib/script/dbimon
Manifying blib/man1/dbimon.1

make test
make[1]: Entering directory `/usr/local/src/Msql-Mysql-modules-1.2216/mysql'
make[1]: Leaving directory `/usr/local/src/Msql-Mysql-modules-1.2216/mysql'
make[1]: Entering directory `/usr/local/src/Msql-Mysql-modules-1.2216/mysql'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
-I/usr/local/lib/perl5/5.6.1/i586-linux -I/usr/local/lib/perl5/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00base............ok
t/10dsnlist.........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
t/20createdrop......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
t/30insertfetch.....dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40bindparam.......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-28
        Failed 28/28 tests, 0.00% okay
t/40blobs...........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40listfields......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
t/40nulls...........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
t/40numrows.........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
        Failed 25/25 tests, 0.00% okay
t/50chopblanks......dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
        Failed 35/35 tests, 0.00% okay
t/50commit..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t/60leaks...........skipped test on this platform
t/ak-dbd............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 4-90
        Failed 88/90 tests, 2.22% okay
t/dbdadmin..........dubious
        Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-20
        Failed 20/20 tests, 0.00% okay
Failed Test       Status Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
----
t/10dsnlist.t             10  2560     3    3 100.00%  1-3
t/20createdrop.t          10  2560     5    5 100.00%  1-5
t/30insertfetch.t         10  2560    11   11 100.00%  1-11
t/40bindparam.t           10  2560    28   28 100.00%  1-28
t/40blobs.t               10  2560    11   11 100.00%  1-11
t/40listfields.t          10  2560    16   16 100.00%  1-16
t/40nulls.t               10  2560    11   11 100.00%  1-11
t/40numrows.t             10  2560    25   25 100.00%  1-25
t/50chopblanks.t          10  2560    35   35 100.00%  1-35
t/50commit.t            255 65280    30   30 100.00%  1-30
t/ak-dbd.t              255 65280    90   88  97.78%  1, 4-90
t/dbdadmin.t              10  2560    20   20 100.00%  1-20
1 test skipped.
make[1]: Leaving directory `/usr/local/src/Msql-Mysql-modules-1.2216/mysql'

I kept getting the message "either your server isn't running or you don't have
permission to ...[use the mysql socket]" during make test, although I did not
capture this stderr output in the email body.

What I don't understand about this is that I can access databases on the server
under the mysql clients fine,
using the same passwords. I had run earlier versions of MySQL, DBI,
Msql-Mysql-modules under same Linux distribution in 
past (although I had built MySQL from source, which somehow seemed more
problematic this time, so I resorted to prebuilt
binary).

Any ideas?

TIA.
-al

Al Pacifico
Seattle, Wa.
(206) 915-1180
[EMAIL PROTECTED] 

Reply via email to