Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: [ic] Install help please



Title: RE: [ic] Install help please
Hello there,

I think that you are correct, it seems that I have DBI installed but no
DBD (Msql-Mysql-Modules-1.2215). However, I have downloaded DBD Mysql modules and tried to compile and install it without any success (make test generates lots of errors).

Has anyone succeeded in compiling and installing this modules in Mac OS X?

Can someone help me please?

Installation report:

[mobile:~/Mysql-modules] root# 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! [n]
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local]
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] xxxxxx
Creating files for MySQL ....................
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for -lz
Note (probably harmless): No library found for -lgz
Unrecognized argument in LIBS ignored: 'libgcc.a'
Using DBI 1.14 installed in /Library/Perl/darwin/auto/DBI
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules

[mobile:~/Mysql-modules] root# 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
/usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin \
-I/System/Library/Perl -Ilib -MExtUtils::PerlPP \
-e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
/usr/bin/pod2text mysql/lib/DBD/mysql.pm >README
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 lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm
cp lib/Mysql/Statement.pm ../blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm ../blib/lib/Bundle/DBD/mysql.pm
cp lib/Mysql.pm ../blib/lib/Mysql.pm
cc -c -I/Library/Perl/darwin/auto/DBI -I/usr/local/include/mysql -I../dbd -I/Library/Perl/darwin/auto/DBI -I/System/Library/Perl/darwin -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3     -DVERSION=\"2.0415\" -DXS_VERSION=\"2.0415\" -fpic -I/System/Library/Perl/darwin/CORE -DDBD_MYSQL dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" < /Library/Perl/darwin/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp  -typemap /System/Library/Perl/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
cc -c -I/Library/Perl/darwin/auto/DBI -I/usr/local/include/mysql -I../dbd -I/Library/Perl/darwin/auto/DBI -I/System/Library/Perl/darwin -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3     -DVERSION=\"2.0415\" -DXS_VERSION=\"2.0415\" -fpic -I/System/Library/Perl/darwin/CORE -DDBD_MYSQL mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
LD_RUN_PATH="/usr/local/lib/mysql" cc -o ../blib/arch/auto/DBD/mysql/mysql.bundle  -bundle -undefined suppress dbdimp.o mysql.o -L/usr/local/lib/mysql    -L/usr/local/lib/mysql -lmysqlclient
chmod 755 ../blib/arch/auto/DBD/mysql/mysql.bundle
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
mkdir blib/script
cp dbimon blib/script/dbimon
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbimon
Manifying blib/man1/dbimon.1

[mobile:~/Mysql-modules] root# make test

PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00base............dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/00base............dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/10dsnlist.........dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/10dsnlist.........dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/20createdrop......dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/20createdrop......dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/30insertfetch.....dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/30insertfetch.....dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/40bindparam.......dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/40bindparam.......dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/40blobs...........dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/40blobs...........dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/40listfields......dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/40listfields......dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/40nulls...........dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/40nulls...........dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/40numrows.........dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/40numrows.........dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/50chopblanks......dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/50chopblanks......dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/50commit..........dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/50commit..........dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
t/60leaks...........skipped test on this platform
t/ak-dbd............dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/ak-dbd............dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
DIED. FAILED tests 1-90
        Failed 90/90 tests, 0.00% okay
t/dbdadmin..........dyld: /usr/bin/perl multiple definitions of symbol _strtol
/System/Library/Frameworks/System.framework/Versions/B/System(strtol.o) definition of _strtol
../blib/arch/auto/DBD/mysql/mysql.bundle definition of _strtol
t/dbdadmin..........dubious                                                  
        Test returned status 66 (wstat 16896, 0x4200)
DIED. FAILED tests 1-20
        Failed 20/20 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/00base.t       66 16896    ??   ??       %  ??
t/10dsnlist.t    66 16896    ??   ??       %  ??
t/20createdrop.  66 16896    ??   ??       %  ??
t/30insertfetch  66 16896    ??   ??       %  ??
t/40bindparam.t  66 16896    ??   ??       %  ??
t/40blobs.t      66 16896    ??   ??       %  ??
t/40listfields.  66 16896    ??   ??       %  ??
t/40nulls.t      66 16896    ??   ??       %  ??
t/40numrows.t    66 16896    ??   ??       %  ??
t/50chopblanks.  66 16896    ??   ??       %  ??
t/50commit.t     66 16896    ??   ??       %  ??
t/ak-dbd.t       66 16896    90   90 100.00%  1-90
t/dbdadmin.t     66 16896    20   20 100.00%  1-20
1 test skipped.
Failed 13/14 test scripts, 7.14% okay. 110/110 subtests failed, 0.00% okay.
make[1]: *** [test_dynamic] Error 2
make: *** [test] Error 2

Regards,

Leonel Joao Silva
Information Systems Manager


SDM - SOCIEDADE DE DESENVOLVIMENTO DA MADEIRA, S.A.
The Concessionaire of Madeira's International Business Centre

SDM Building
Rua da Mouraria 9, 1st floor
9000-047 Funchal
MADEIRA * PORTUGAL

Tel: 351.291.201333
Fax: 351.291.201399

<leonel@sdm.pt>
<http://www.sdm.pt/>

Search for: Match: Format: Sort by: