-----Forwarded Message-----

From: Hans Scheffers <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Compiling ODBC Drivers
Date: 20 Feb 2002 16:41:17 +0100

Hi,
I am trying to install the DBD-ODBC drivers, version 0.38 for sapDB.
SapDB has had a default install on RH 7.2 using the rpm's (downloaded
from sap.org)
I have the TST database installed, and try to compile the ODBC driver
using
DBI_USER=TEST
DBI_PASS=TEST
DBI_DSN=dbi:ODBC:TST

perl Makefile.PL doesn't give any errors,

make gives no errors, just two warnings:
dbdimp.c:1586: warning: `_dbd_rebind_ph' was declared implicitly
`extern' and later `static'
dbdimp.c:1135: warning: previous declaration of `_dbd_rebind_ph'

gcc: unrecognized option `-R/opt/sapdb/interfaces/odbc//lib -lodbc

When I run `make test` I get the following errors (see attachment)
I know I am doing something wrong... just don't know what...

Software versions:

RedHat   7.2 including updates
SapDB    7.3.00.20
Perl     5.6.0
DBI      1.21
DBD_ODBC 0.38

greetz
Hans
-- 
mailto: [EMAIL PROTECTED]
http://www.jiffie.nl/stamboom
----


PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness 
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01base............ok
t/02simple..........DBI->connect(TST) failed: [SAP AG][LIBSQLOD SO]Data source name 
not found and no default driver specified. (SQL-IM002)(DBD: db_login/SQLConnect 
err=-1) at t/02simple.t line 13
Connect failed: [SAP AG][LIBSQLOD SO]Data source name not found and no default driver 
specified. (SQL-IM002)(DBD: db_login/SQLConnect err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-17
        Failed 16/17 tests, 5.88% okay
t/03dbatt...........DBI->connect(TST) failed: [SAP AG][LIBSQLOD SO]Data source name 
not found and no default driver specified. (SQL-IM002)(DBD: db_login/SQLConnect 
err=-1) at t/03dbatt.t line 12
Connect failed: [SAP AG][LIBSQLOD SO]Data source name not found and no default driver 
specified. (SQL-IM002)(DBD: db_login/SQLConnect err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
        Failed 5/6 tests, 16.67% okay
t/05meth............DBI->connect(TST) failed: [SAP AG][LIBSQLOD SO]Data source name 
not found and no default driver specified. (SQL-IM002)(DBD: db_login/SQLConnect 
err=-1) at t/05meth.t line 13
Connect failed: [SAP AG][LIBSQLOD SO]Data source name not found and no default driver 
specified. (SQL-IM002)(DBD: db_login/SQLConnect err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
        Failed 5/6 tests, 16.67% okay
t/07bind............DBI->connect(TST) failed: [SAP AG][LIBSQLOD SO]Data source name 
not found and no default driver specified. (SQL-IM002)(DBD: db_login/SQLConnect 
err=-1) at t/07bind.t line 11
Connect failed: [SAP AG][LIBSQLOD SO]Data source name not found and no default driver 
specified. (SQL-IM002)(DBD: db_login/SQLConnect err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay
t/08bind2...........DBI->connect(TST) failed: [SAP AG][LIBSQLOD SO]Data source name 
not found and no default driver specified. (SQL-IM002)(DBD: db_login/SQLConnect 
err=-1) at t/08bind2.t line 19
Connect failed: [SAP AG][LIBSQLOD SO]Data source name not found and no default driver 
specified. (SQL-IM002)(DBD: db_login/SQLConnect err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/09multi...........DBI->connect(TST) failed: [SAP AG][LIBSQLOD SO]Data source name 
not found and no default driver specified. (SQL-IM002)(DBD: db_login/SQLConnect 
err=-1) at t/09multi.t line 20
Can't connect to your dbi:ODBC:TST using user: TEST and pass: TEST
[SAP AG][LIBSQLOD SO]Data source name not found and no default driver specified. 
(SQL-IM002)(DBD: db_login/SQLConnect err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/02simple.t    255 65280    17   16  94.12%  2-17
t/03dbatt.t     255 65280     6    5  83.33%  2-6
t/05meth.t      255 65280     6    5  83.33%  2-6
t/07bind.t      255 65280     9    8  88.89%  2-9
t/08bind2.t     255 65280    ??   ??       %  ??
t/09multi.t     255 65280    ??   ??       %  ??
Failed 6/7 test scripts, 14.29% okay. 34/43 subtests failed, 20.93% okay.
make: *** [test_dynamic] Error 2

Reply via email to