Install DBD::ODBC using DataDirect Driver Manager

Connectivity
Enthusiast

Install DBD::ODBC using DataDirect Driver Manager

Please help.  Vhari, you helped me on this in the past and I'm hoping you can help here as well.

I've actually got this working last year, however we have moved to a new server , new version of perl, and now I'm having trouble getting the DBD::ODBC module installed.  I've done the exact same steps as before, with the exception this time of being root.  So, I've installed the latest Teradata package and set the environmental variables:

ODBCHOME - /opt/teradata/client/14.10/odbc_64

ODBCINI - /opt/teradata/client/ODBC_64/odbc.ini

I then update the Makefile.PL file:

                $myodbc = 'intersolve'

                                  if !$myodbc && -f "$odbchome/include/qeodbc.h";

As follows:

                 $myodbc = 'intersolve'

                                  if !$myodbc && -f "$odbchome/include/sqlunx.h";

Move the updated lines before this line:

                 if (!$myodbc && ($opt_x || $ENV{PERL_DBD_ODBC_PREFER_UNIXODBC})) {

                        ($myodbc, $odbclibdir) = find_unixodbc($odbchome);

                 } else {

 

 

In addition, replace the following block:

                 print {$sqlhfh} qq{#include <qeodbc.h>\n};

                                  if (-f "$odbcincdir/sql.h") {

                                                   print "You seem to have the official header files.\n";

                                                   $opts{INC} .= " -I$odbcincdir";

                                                   print {$sqlhfh} qq{#include <sql.h>\n#include <sqltypes.h>\n#include <sqlext.h>\n};

With this update:

                 $opts{DEFINE} = "";

                 if (-f "$odbchome/include/sql.h"){

                                  print "You seem to have the official header files.\n";

                                  $opts{INC} .= " -I$odbchome/include";

                                  $opts{LIBS} = "-L$odbclibdir -lodbc";

                                  print {$sqlhfh} qq{#include <sql.h>\n#include <sqltypes.h>\n#include <sqlext.h>\n#include <sqlucode.h>\n};    

Then I run the Makefile.PL

# perl Makefile.PL

**********

        Remember to actually *READ* the README file!

        And re-read it if you have any problems.

**********

OSNAME: linux

LANG: en_US (LANG=en_US)

ODBCHOME: /opt/teradata/client/14.10/odbc_64

LD_LIBRARY_PATH: /opt/teradata/client/14.00/odbc_64/lib:/opt/teradata/client/14.00/odbc_64/lib64:/opt/teradata/teragss/linux-x8664/14.00.03.02/lib:/opt/teradata/client/14.00/lib:/opt/teradata/client/14.00/tbuild/lib:/usr/lib:/usr/lib64

DBROOT:

WINDIR:

II_SYSTEM:

Perl: 5.010001

ExtUtils::MakeMaker: 6.55_02

Command line options:

  u! = undef

  w! = undef

  e! = undef

  g! = 0

  x! = undef

  o=s =

You are using a Perl configured with threading enabled.

Please read the warnings in DBI about this.

You should also be aware that on non-Windows platforms ODBC drivers come

in two forms, thread-safe and non-thread-safe drivers and you may need

to make sure you are using the right one.

Press return to continue...

Looking for odbc_config in : /opt/teradata/client/ODBC_64

Looking for odbc_config at /opt/teradata/client/ODBC_64/bin/odbc_config

Looking for odbc_config in (PATH) /sbin:/bin:/usr/sbin:/usr/bin

  odbc_config not found

Looking for iodbc-config in PATH /sbin:/bin:/usr/sbin:/usr/bin

  iodbc_config not found

odbc_config not found - ok, there are other things I can do

Still trying to guess ODBCHOME - looking for headers now

  trying /opt/teradata/client/ODBC_64/include

  Found sql.h, sqlext.h, sqltypes.h in /opt/teradata/client/ODBC_64/include

Using ODBCHOME /opt/teradata/client/ODBC_64

This looks like a intersolve type of driver manager.

You seem to have the official header files.

Using DBI 1.633 (for perl 5.010001 on x86_64-linux-thread-multi) installed in /usr/local/lib64/perl5/auto/DBI/

Using DBI 1.633 (for perl 5.010001 on x86_64-linux-thread-multi) installed in /usr/local/lib64/perl5/auto/DBI/

Writing Makefile for DBD::ODBC

The DBD::ODBC tests will use these values for the database connection:

    DBI_DSN=dbi:ODBC:mydsn     e.g. dbi:ODBC:demo

    DBI_USER=username

    DBI_PASS=password

And Now the Make and Make Test

# make

Skip blib/lib/DBD/ODBC.pm (unchanged)

gcc -c   -I. -I/opt/teradata/client/14.10/odbc_64/include -I/usr/local/lib64/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/usr/lib64/perl5/CORE"   ConvertUTF.c

gcc -c   -I. -I/opt/teradata/client/14.10/odbc_64/include -I/usr/local/lib64/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/usr/lib64/perl5/CORE"   ODBC.c

./ODBC.xsi: In function 'XS_DBD__ODBC__db__login':

./ODBC.xsi:96: warning: unused variable 'p'

./ODBC.xsi:95: warning: unused variable 'u'

ODBC.c: In function 'XS_DBD__ODBC__st_odbc_rows':

ODBC.c:1321: warning: unused variable 'targ'

ODBC.c:1320: warning: unused variable 'RETVAL'

ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagrec':

ODBC.xs:60: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

ODBC.xs:62: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagfield':

ODBC.xs:125: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagrec':

ODBC.xs:289: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

ODBC.xs:291: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagfield':

ODBC.xs:355: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':

ODBC.xs:511: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness

/usr/include/bits/string3.h:103: note: expected 'char * __restrict__' but argument is of type 'UCHAR *'

ODBC.xs:531: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'UCHAR *'

gcc -c   -I. -I/opt/teradata/client/14.10/odbc_64/include -I/usr/local/lib64/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/usr/lib64/perl5/CORE"   dbdimp.c

dbdimp.c: In function 'odbc_db_login6':

dbdimp.c:1029: warning: pointer targets in passing argument 3 of 'SQLDriverConnect' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1803: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1029: warning: pointer targets in passing argument 5 of 'SQLDriverConnect' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1803: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1136: warning: pointer targets in passing argument 2 of 'SQLConnect' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:639: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1136: warning: pointer targets in passing argument 4 of 'SQLConnect' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:639: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1136: warning: pointer targets in passing argument 6 of 'SQLConnect' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:639: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'dbd_error2':

dbdimp.c:1335: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness

/usr/include/bits/string3.h:103: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *'

dbdimp.c:1336: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness

/usr/include/bits/string3.h:103: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *'

dbdimp.c:1373: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

dbdimp.c:1374: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'SQLCHAR *'

dbdimp.c:1396: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness

/usr/include/bits/string3.h:142: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *'

dbdimp.c:1397: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness

/usr/include/bits/string3.h:142: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *'

dbdimp.c:1397: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness

/usr/include/bits/string3.h:142: note: expected 'const char * __restrict__' but argument is of type 'SQLCHAR *'

dbdimp.c:1398: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness

/usr/include/bits/string3.h:142: note: expected 'char * __restrict__' but argument is of type 'SQLCHAR *'

dbdimp.c:1400: warning: pointer targets in passing argument 5 of 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness

dbdimp.c:1400: note: expected 'const char *' but argument is of type 'SQLCHAR *'

dbdimp.c:1400: warning: pointer targets in passing argument 6 of 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness

dbdimp.c:1400: note: expected 'const char *' but argument is of type 'SQLCHAR *'

dbdimp.c:1403: warning: pointer targets in passing argument 5 of 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness

dbdimp.c:1403: note: expected 'const char *' but argument is of type 'SQLCHAR *'

dbdimp.c:1403: warning: pointer targets in passing argument 6 of 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness

dbdimp.c:1403: note: expected 'const char *' but argument is of type 'SQLCHAR *'

dbdimp.c: In function 'odbc_st_tables':

dbdimp.c:1759: warning: pointer targets in passing argument 2 of 'SQLTables' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:834: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1759: warning: pointer targets in passing argument 4 of 'SQLTables' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:834: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1759: warning: pointer targets in passing argument 6 of 'SQLTables' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:834: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1759: warning: pointer targets in passing argument 8 of 'SQLTables' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:834: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'odbc_st_primary_keys':

dbdimp.c:1885: warning: pointer targets in passing argument 2 of 'SQLPrimaryKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1998: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1885: warning: pointer targets in passing argument 4 of 'SQLPrimaryKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1998: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1885: warning: pointer targets in passing argument 6 of 'SQLPrimaryKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1998: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'dbd_st_statistics':

dbdimp.c:1957: warning: pointer targets in passing argument 2 of 'SQLStatistics' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:828: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1957: warning: pointer targets in passing argument 4 of 'SQLStatistics' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:828: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:1957: warning: pointer targets in passing argument 6 of 'SQLStatistics' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:828: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'odbc_st_prepare_sv':

dbdimp.c:2160: warning: pointer targets in passing argument 2 of 'SQLPrepare' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:768: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'odbc_st_execute':

dbdimp.c:2863: warning: pointer targets in passing argument 2 of 'SQLExecDirect' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:674: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:2921: warning: pointer targets in assignment differ in signedness

dbdimp.c: In function 'rebind_param':

dbdimp.c:3994: warning: pointer targets in assignment differ in signedness

dbdimp.c:4000: warning: pointer targets in assignment differ in signedness

dbdimp.c: In function 'odbc_db_STORE_attrib':

dbdimp.c:4969: warning: pointer targets in passing argument 6 of 'SQLGetDiagRec' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:733: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'odbc_st_FETCH_attrib':

dbdimp.c:5342: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'UCHAR *'

dbdimp.c:5386: warning: pointer targets in passing argument 2 of 'SQLGetCursorName' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:706: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'odbc_get_special_columns':

dbdimp.c:5758: warning: pointer targets in passing argument 3 of 'SQLSpecialColumns' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:821: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:5758: warning: pointer targets in passing argument 5 of 'SQLSpecialColumns' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:821: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:5758: warning: pointer targets in passing argument 7 of 'SQLSpecialColumns' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:821: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'odbc_get_foreign_keys':

dbdimp.c:5828: warning: pointer targets in passing argument 2 of 'SQLForeignKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1963: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:5828: warning: pointer targets in passing argument 4 of 'SQLForeignKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1963: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:5828: warning: pointer targets in passing argument 6 of 'SQLForeignKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1963: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:5828: warning: pointer targets in passing argument 8 of 'SQLForeignKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1963: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:5828: warning: pointer targets in passing argument 10 of 'SQLForeignKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1963: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:5828: warning: pointer targets in passing argument 12 of 'SQLForeignKeys' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sqlext.h:1963: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'odbc_col_attributes':

dbdimp.c:6121: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness

/usr/include/string.h:399: note: expected 'const char *' but argument is of type 'unsigned char *'

dbdimp.c:6121: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness

/usr/lib64/perl5/CORE/proto.h:2210: note: expected 'const char *' but argument is of type 'unsigned char *'

dbdimp.c: In function 'odbc_db_columns':

dbdimp.c:6320: warning: pointer targets in passing argument 2 of 'SQLColumns' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:632: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:6320: warning: pointer targets in passing argument 4 of 'SQLColumns' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:632: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:6320: warning: pointer targets in passing argument 6 of 'SQLColumns' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:632: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:6320: warning: pointer targets in passing argument 8 of 'SQLColumns' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:632: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c: In function 'get_row_diag':

dbdimp.c:7473: warning: pointer targets in passing argument 4 of 'SQLGetDiagRec' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:733: note: expected 'SQLCHAR *' but argument is of type 'char *'

dbdimp.c:7473: warning: pointer targets in passing argument 6 of 'SQLGetDiagRec' differ in signedness

/opt/teradata/client/14.10/odbc_64/include/sql.h:733: note: expected 'SQLCHAR *' but argument is of type 'char *'

gcc -c   -I. -I/opt/teradata/client/14.10/odbc_64/include -I/usr/local/lib64/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/usr/lib64/perl5/CORE"   unicode_helper.c

Running Mkbootstrap for DBD::ODBC ()

chmod 644 ODBC.bs

rm -f blib/arch/auto/DBD/ODBC/ODBC.so

gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ConvertUTF.o ODBC.o dbdimp.o unicode_helper.o  -o blib/arch/auto/DBD/ODBC/ODBC.so     \

           -L/opt/teradata/client/14.10/odbc_64/lib -lodbc      \

chmod 755 blib/arch/auto/DBD/ODBC/ODBC.so

cp ODBC.bs blib/arch/auto/DBD/ODBC/ODBC.bs

chmod 644 blib/arch/auto/DBD/ODBC/ODBC.bs

Manifying blib/man3/DBD::ODBC.3pm

# make test

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/01base.t ................... ok

t/02simple.t ................. Failed 63/65 subtests

t/03dbatt.t .................. Failed 27/29 subtests

t/05meth.t ................... Failed 12/13 subtests

t/07bind.t ................... Failed 24/25 subtests

t/08bind2.t .................. Failed 3/5 subtests

t/09multi.t .................. Failed 4/7 subtests

t/10handler.t ................ Failed 9/10 subtests

t/12blob.t ................... Failed 23/24 subtests

t/20SqlServer.t .............. Failed 66/67 subtests

t/30Oracle.t ................. Failed 3/4 subtests

t/40UnicodeRoundTrip.t ....... Failed 61/61 subtests

t/41Unicode.t ................ Failed 55/55 subtests

t/45_unicode_varchar.t ....... No subtests run

t/50_odbc_utf8_on.t .......... Failed 3/3 subtests

t/70execute_array_dbi.t ...... #

#

# NOTE: This tests execute_array and execute_for_fetch using DBI's version and not the native DBD::ODBC execute_for_fetch. It should work as it is using nothing special in DBD::ODBC other than the normal methods.

t/70execute_array_dbi.t ...... No subtests run

t/70execute_array_native.t ... No subtests run

t/80_odbc_diags.t ............ No subtests run

t/82_table_info.t ............ No subtests run

t/87_odbc_lob_read.t ......... No subtests run

t/90_trace_flags.t ........... No subtests run

t/odbc_describe_parameter.t .. Failed 16/17 subtests

t/pod-coverage.t ............. ok

t/pod.t ...................... ok

t/rt_38977.t ................. Failed 13/14 subtests

t/rt_39841.t ................. Failed 27/28 subtests

t/rt_39897.t ................. Failed 5/6 subtests

t/rt_43384.t ................. Failed 7/8 subtests

t/rt_46597.t ................. Failed 5/6 subtests

t/rt_50852.t ................. Failed 4/5 subtests

t/rt_57957.t ................. Failed 7/8 subtests

t/rt_59621.t ................. Failed 10/11 subtests

t/rt_61370.t ................. All 1 subtests passed

t/rt_62033.t ................. All 1 subtests passed

t/rt_63550.t ................. All 1 subtests passed

t/rt_78838.t ................. All 1 subtests passed

t/rt_79190.t ................. All 1 subtests passed

t/rt_79397.t ................. All 1 subtests passed

t/rt_81911.t ................. All 1 subtests passed

t/rt_null_nvarchar.t ......... Failed 8/8 subtests

t/sql_type_cast.t ............ Failed 15/16 subtests

Test Summary Report

-------------------

t/02simple.t               (Wstat: 139 Tests: 2 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 65 tests but ran 2.

t/03dbatt.t                (Wstat: 139 Tests: 2 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 29 tests but ran 2.

t/05meth.t                 (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 13 tests but ran 1.

t/07bind.t                 (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 25 tests but ran 1.

t/08bind2.t                (Wstat: 139 Tests: 2 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 5 tests but ran 2.

t/09multi.t                (Wstat: 139 Tests: 3 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 7 tests but ran 3.

t/10handler.t              (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 10 tests but ran 1.

t/12blob.t                 (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 24 tests but ran 1.

t/20SqlServer.t            (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 67 tests but ran 1.

t/30Oracle.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 4 tests but ran 1.

t/40UnicodeRoundTrip.t     (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 61 tests but ran 0.

t/41Unicode.t              (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 55 tests but ran 0.

t/45_unicode_varchar.t     (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/50_odbc_utf8_on.t        (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 3 tests but ran 0.

t/70execute_array_dbi.t    (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/70execute_array_native.t (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/80_odbc_diags.t          (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/82_table_info.t          (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/87_odbc_lob_read.t       (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/90_trace_flags.t         (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/odbc_describe_parameter.t (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 17 tests but ran 1.

t/rt_38977.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 14 tests but ran 1.

t/rt_39841.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 28 tests but ran 1.

t/rt_39897.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 6 tests but ran 1.

t/rt_43384.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 8 tests but ran 1.

t/rt_46597.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 6 tests but ran 1.

t/rt_50852.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 5 tests but ran 1.

t/rt_57957.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 8 tests but ran 1.

t/rt_59621.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 11 tests but ran 1.

t/rt_61370.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/rt_62033.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/rt_63550.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/rt_78838.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/rt_79190.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/rt_79397.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/rt_81911.t               (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: No plan found in TAP output

t/rt_null_nvarchar.t       (Wstat: 139 Tests: 0 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 8 tests but ran 0.

t/sql_type_cast.t          (Wstat: 139 Tests: 1 Failed: 0)

  Non-zero wait status: 139

  Parse errors: Bad plan.  You planned 16 tests but ran 1.

Files=41, Tests=43, 34 wallclock secs ( 0.19 usr  0.11 sys +  4.44 cusr  0.96 csys =  5.70 CPU)

Result: FAIL

Failed 38/41 test programs. 0/43 subtests failed.

make: *** [test_dynamic] Error 255


Any ideas what is going wrong here?