freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT umcc.ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: make test fails
- Date: Fri, 10 Mar 2000 17:07:28 -0500 (EST)
Have you've set the SYBASE environment variable to the place where
you installed freetds?
To turn on logging on set the TDSDUMP env variable, for instance 'export
TDSDUMP=/tmp/freetds.log'
Brian
On Fri, 10 Mar 2000, John Dejournett wrote:
> Brian,
>
> I tried running the t0001 test, but the only output was "tds failed! on
> t0001.c".
>
> This inspired me to do a little debugging on the test source. The first
> thing I discovered is that in freetds/src/tds/util.c, line 245 there is a
> test to determine if the interfaces file is present. For some reason
> interf_file = \000, and the test failed. Because of this, the interfaces
> file was never being read. As a temporary workaround for this I copied the
> /usr/local/freetds/interfaces file to ~/.interfaces. This did work to get
> the server IP and port numbers. Anyone who knows how to fix this, I would
> greatly appreciate a suggestion.
>
> Now back to the main issue. After some further debugging the t0001 program
> is connecting to the server. It sends login information, but apparently the
> login fails. It also appears that there is a log file that tracks these
> transactions with the server. If anyone knows where that file is and what
> it is called, this may contain some useful information on exactly what the
> error is.
>
> Finally, another note for the implementers: not that I don't appreciate
> having the libraries already compiled with the debugging information, but
> to make the libraries as small as possible I would suggest having a switch
> in the configure options to enable or disable debugging.
>
> Sincerely,
> John DeJournett
>
>
>
> -----Original Message-----
> From: Brian Bruns [mailto:camber AT umcc.ais.org]
> Sent: Thursday, March 09, 2000 5:22 PM
> To: TDS Development Group
> Subject: [freetds] Re: make test fails
>
>
> try running one of the example programs and see what the
> error is.
>
> [camber@localhost freetds]$ cd src/tds/unittests
> [camber@localhost unittests]$ make
> [camber@localhost unittests]$ ./t0001
>
> Brian
>
> On Thu, 9 Mar 2000, John Dejournett wrote:
>
> > Michael,
> >
> > Thanks for the suggestion. It is a start, but make test
> still fails every
> > test. The PWD file now contains entries for my login
> name, password, the
> > server entry name from /usr/local/freetds/interfaces, and
> the database name.
> > I doubt that it would make any difference, but I am
> running configure with
> > the -with-tdsver=4.2 parameter, and the database I am
> using in interfaces is
> > an MS-SQL server.
> >
> > I did not notice anything in the install file or
> documentation for editing
> > the PWD, so that would be a good note for the
> implementers/maintainers. Any
> > other ideas to get these tests working would be greatly
> appreciated.
> >
> > Sincerely,
> > John DeJournett
> >
> > -----Original Message-----
> > From: Michael Suedkamp
> [mailto:ms AT suedkm.franken.de]
> > Sent: Wednesday, March 08, 2000 6:01 PM
> > To: TDS Development Group
> > Subject: [freetds] Re: make test
> fails
> >
> > Have you adapted the PWD file?
> >
> > Michael
> >
> > ---
> > You are currently subscribed to freetds as:
> > johnde AT greeley.sykes.com
> > To unsubscribe, forward this message to
> > $subst('Email.Unsub')
> >
> > ---
> > You are currently subscribed to freetds as: camber AT ais.org
> > To unsubscribe, forward this message to
> $subst('Email.Unsub')
> >
> >
>
>
> ---
> You are currently subscribed to freetds as:
> johnde AT greeley.sykes.com
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>
-
make test fails,
John DeJournett, 03/08/2000
- <Possible follow-up(s)>
- Re: make test fails, John Dejournett, 03/09/2000
- Re: make test fails, Brian Bruns, 03/09/2000
- Re: make test fails, John Dejournett, 03/10/2000
- Re: make test fails, Brian Bruns, 03/10/2000
- Re: make test fails, John Dejournett, 03/10/2000
- Re: make test fails, Brian Bruns, 03/10/2000
- Re: make test fails, John Dejournett, 03/10/2000
- Re: make test fails, Brian Bruns, 03/10/2000
- Re: make test fails, John Dejournett, 03/13/2000
- Re: make test fails, Brian Bruns, 03/14/2000
- Re: make test fails, Brian Bruns, 03/14/2000
- RE: make test fails, John Dejournett, 03/15/2000
- RE: make test fails, Brian Bruns, 03/15/2000
- RE: make test fails, John Dejournett, 03/17/2000
Archive powered by MHonArc 2.6.24.