Hallo,

I'm running sapdb-7.3.0.20 and tried to install DBD-ODBC-0.41 with
unixODBC-2.2.1.

Configurations:

/var/spool/sql/ini/odbc.ini:
[myOTAQ]
ServerNode = localhost
ServerDB = OTAQ

/usr/local/unixODBC/etc/odbc.ini:
[myOTAQ]
Description             = OTAQ Testumgebung
Driver          = sapdb
ServerNode              = localhost
ServerDB                = OTAQ

/usr/local/unixODBC/etc/odbcinst.ini:
[sapdb]
Description             = SAP DB 7.3.0.20
Driver          = /usr/sapdb/7.3.0.20/lib/libsqlod.so
Setup           = /usr/local/unixODBC/lib/libsapdbS.so
FileUsage              = 1
CPTimeout               =
CPReuse         =


When I try to 'make test TEST_VERBOSE=1' with 'DBI_DSN=dbi:ODBC:myOTAQ' I
get the following errors:
PERL_DL_NONLAZY=1
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i586-linux -I/us
r/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1;
runtests @ARGV;' t/*.t
t/01base............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t/02simple..........1..17
ok 1
 Test 2: connecting to the database
DBI->connect(myOTAQ) failed: [unixODBC][Driver Manager]Driver does not
support this function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption
err=-1) at t/02simple.t line 13
Connect failed: [unixODBC][Driver Manager]Driver does not support this
function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
Integer overflow in hexadecimal number at (eval 80) line 1.
DIED. FAILED tests 2-17
        Failed 16/17 tests, 5.88% okay
t/03dbatt...........1..6
ok 1
DBI->connect(myOTAQ) failed: [unixODBC][Driver Manager]Driver does not
support this function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption
err=-1) at t/03dbatt.t line 12
Connect failed: [unixODBC][Driver Manager]Driver does not support this
function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
        Failed 5/6 tests, 16.67% okay
t/05meth............1..6
ok 1
ok 2
DBD::ODBC::db prepare failed: [unixODBC][Driver Manager]Driver does not
support this function (SQL-IM001)(DBD: st_prepare/SQLPrepare err=-1) at
t/05meth.t line 21.
Can't call method "execute" on an undefined value at t/05meth.t line 22.
Issuing rollback() for database handle being DESTROY'd without explicit
disconnect().
dubious
        Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 3-6
        Failed 4/6 tests, 33.33% okay
t/07bind............1..9
ok 1
 Test 2: connecting to the database
DBI->connect(myOTAQ) failed: [unixODBC][Driver Manager]Driver does not
support this function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption
err=-1) at t/07bind.t line 11
Connect failed: [unixODBC][Driver Manager]Driver does not support this
function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption 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(myOTAQ) failed: [unixODBC][Driver
Manager]Driver does not support this function (SQL-IM001)(DBD:
dbd_db_login/SQLSetConnectOption err=-1) at t/08bind2.t line 19
Connect failed: [unixODBC][Driver Manager]Driver does not support this
function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption err=-1)
dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/09multi...........DBI->connect(myOTAQ) failed: [unixODBC][Driver
Manager]Driver does not support this function (SQL-IM001)(DBD:
dbd_db_login/SQLSetConnectOption err=-1) at t/09multi.t line 20
Can't connect to your dbi:ODBC:myOTAQ using user: MT and pass: MT
[unixODBC][Driver Manager]Driver does not support this function
(SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption 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        22  5632     6    4  66.67%  3-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. 33/43 subtests failed, 23.26% okay.
make: *** [test_dynamic] Error 255

Any hints?

PS: Are there any documentations for sapdb with DBD-ODBC unixODBC/iODBC ???

regards,

Mit besten Gruessen
Kolja Kleist (Senior Developer)
____________________________________
MediaTransfer AG
Netresearch & Consulting
Rothenbaumchaussee 38, 20148 Hamburg
Tel: (040) 669 625 16
Fax: (040) 669 625 29
URL: http://b2b.mediatransfer.de
____________________________________

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to