Skip to Content.
Sympa Menu

freetds - RE: [freetds] The old MSSQL from Linux...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Poulson, Shawn" <shawn.poulson AT sap.com>
  • To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] The old MSSQL from Linux...
  • Date: Thu, 30 Jan 2003 23:11:35 +0100

Well I tried to take the next step of installing iODBC and DBD::ODBC, but
again with limited success. Maybe it's not the product, but the
documentation I'm having problems with.

Anyway, I was able to recompile/install freeTDS with the --use-iodbc option
and then compile/install iODBC. I also setup a ~/.odbc.ini file as such:

--------- 8< ----- CUT HERE ----- 8< ---------
[ODBC Data Sources]
PSSDB = PSSDB

[PSSDB]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Host = csphl003
ReadOnly = yes
TraceFile = /tmp/odbc.trace
Trace = 1

[Default]
Driver = /usr/local/freetds/lib/libtdsodbc.so
--------- 8< ----- CUT HERE ----- 8< ---------

When I get to DBD::ODBC, I do exactly as stated in README/INSTALL. This time
it correctly recognizes iODBC and not unixODBC like before. This must be an
error with SuSE's out-of-box installation of iODBC; since I did a re-install
it magically worked. But, when I run 'make test', I get a ton of
DIED. FAILED. tests:

--------- 8< ----- CUT HERE ----- 8< ---------
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i5
86-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose);
$v
erbose=0; runtests @ARGV;' t/*.t
t/01base............ok
t/02simple..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-19
Failed 18/19 tests, 5.26% okay
t/03dbatt...........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-16
Failed 15/16 tests, 6.25% okay
t/05meth............dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t/07bind............dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/08bind2...........dubious
Test returned status 0 (wstat 11, 0xb)
t/09multi...........dubious
t/20SqlServer.......dubious
Test returned status 0 (wstat 11, 0xb)
t/30Oracle..........dubious
Test returned status 0 (wstat 11, 0xb)
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/02simple.t 0 11 19 18 94.74% 2-19
t/03dbatt.t 0 11 16 15 93.75% 2-16
t/05meth.t 0 11 6 5 83.33% 2-6
t/07bind.t 0 11 10 9 90.00% 2-10
t/08bind2.t 0 11 ?? ?? % ??
t/09multi.t 0 11 ?? ?? % ??
t/20SqlServer.t 0 11 ?? ?? % ??
t/30Oracle.t 0 11 ?? ?? % ??
--------- 8< ----- CUT HERE ----- 8< ---------

More ideas? :)


> -----Original Message-----
> From: Frediano Ziglio [mailto:freddyz77 AT tin.it]
> Sent: Thursday, January 30, 2003 3:15 PM
> To: FreeTDS
> Subject: RE: [freetds] The old MSSQL from Linux...
>
>
> libtds have full support for server placeholders but only
> ODBC libraries
> use it. Also code is still in developing (I had some problem with text
> fields and other)...
>




Archive powered by MHonArc 2.6.24.

Top of Page