NetBSD, dblib, and TDS 7.0
Lowden, James K
LowdenJK at bernstein.com
Tue Aug 29 15:16:33 EDT 2000
Thank you. I don't think I configured it correctly. I have a file
that contains this line:
In NetBSD, I used the package system. To install a package from source, one
simply sets the current directory (in this case,
/usr/pkgsrc/databases/freetds) and types "make install" I think I tried
"make install with-tdsver=7.0", but it looks to me like that didn't pass
--with-tdsver=7.0 to the Gnu make.
I'm going to deinstall it, read the gmake documentation some more, try to
figure out how to add "--with-tdsver=7.0" to its default arguments, and
"make install" again. Then we shall see.
From: Stephen Arehart [mailto:sarehart at Cellomics.com]
Sent: August 29, 2000 2:16 PM
To: TDS Development Group
Subject: [freetds] RE: NetBSD, dblib, and TDS 7.0
I saw this yesterday.
Did you compile the module --with-tdsver=7.0?
Did you create an environment variable called TDSVER and set it to 70
(i did that in bash).
The environment variable thing is not documented (at least I didn't find
it), but someone on the freetds mailing list did (I think it was Robert
Brown, around the 18th of January of this year - search the archives for
"Unknown Marker: !!0" and it should show up).
I was able to get perl scripts to talk to sql server via DBI and
DBD:Sybase using the FreeTDS approach on OpenBSD 2.6, so give the
environment variable settings a try. I also posted an explanation to the DBI
users list yesterday as well. Please feel free to email me off-line if you
would like to see a copy of what I sent.
Stephen V. Arehart
Database Application Development
mailto: sarehart at cellomics.com
From: Lowden, James K [mailto:LowdenJK at bernstein.com]
Sent: Tuesday, August 29, 2000 1:12 PM
To: TDS Development Group
Subject: [freetds] NetBSD, dblib, and TDS 7.0
I've installed the TDS 0.5 package on NetBSD, and have successfully
connected to a Sybase server. I'm now trying to connect to MS SQL Server
7.0, and am getting the dreaded "Unknown token !!" error. In the samples,
"dbtest" fails with this error (and never exits); "tdstest" succeeds without
complaint. (I did modify them to use my server and query).
I attempted to pass the --with-tdsver=7.0 flag into the make, and it didn't
complain, but I don't know how to check if it had the desired effect. I've
written code for 15 years, but I'm new to the NetBSD environment.
Is my particular constellation of software known to work?
If it is, how do I check that my build is properly configured?
If it's either not known to work or known not to work, I'm happy to turn on
the logging/debugging features and work my way through it, but apparently
there's more involved than just modifying the source in
"work/freetds/src/tds" and typing "make install" again. If someone wouldn't
mind holding my hand through some of the basics, I might be of some use.
Thanks in any case.
You are currently subscribed to freetds as: LowdenJK at bernstein.com
To unsubscribe, forward this message to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeTDS