[Zope] Sybase DA + FreeBSD + TDS
Anthony Baxter
Anthony Baxter <anthony@interlink.com.au>
Thu, 25 Nov 1999 16:38:51 +1100
>>> Andrew Kenneth Milton wrote
> | A few comments: You'll need a more recent release of Sybase than the
> | old free 11.0.3 version. There's an 11.9.2 that you can download.
> I only really need it to talk to MS-SQL 6.5 and it is working so the
> 11.0.3 header files seem to be enough. I also didn't want to have anything
> radically divergent from the FreeTDS base, so I figured an earlier release
> was better.
I _believe_ the 11.0.3 release is a "free" one, i.e. you don't need to
get a license for it. In that case, you could put together a how-to like
download freetds-vvvv.tgz ; unpack
download sybase-client-11.0.3.tgz ; unpack
cp sybase/include/*.h freetds/include/
edit the ZSybase/src/Setup file, to do -Ifreetds/include
Apply patch to ZSybase src..
build, done.
> You are right on the money here, although once you transfer over the
> Sybase include files there's a lot less to comment out :-)
An alternative is to just comment out all of the ones that ZSybase doesn't
need, and get that folded into the main source (maybe wrap the extras
inside #ifdef KITCHEN_SINK/#endif)
Anthony, who didn't have anything like enough time to investigate this... :(