Skip to Content.
Sympa Menu

freetds - RE: Setting up freetds for PHP3

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: John Dejournett <johnde AT greeley.sykes.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Setting up freetds for PHP3
  • Date: Tue, 4 Apr 2000 16:11:11 -0600


Kevin,

First, I can tell you that you are not alone. I am having the same problem
on my system. Lets compare notes. The server I am connecting to is MS-SQL
6.5. Don't know the service pack on SQL, but the NT4.0 service pack is SP4.
My client is Slackware Linux on Intel (586-200), Kernel 2.2.14.

Did you set up the SYBASE environmental variable to point at the freetds
directory? What platform and OS are you building FreeTDS on?

>From your FreeTDS source directory, try this:
$ cd src/tds/unittests
$ make
$ ./t0001

See what error this test produces. I expect you will see something like
"tds failed! on
t0001.c". Lets see where that gets you, maybe I can offer some more hints
from there. Is your system set up for a little C debugging?

Sincerely,
John DeJournett

-----Original Message-----
From: Kevin W. English [mailto:kevin AT english.net]
Sent: Tuesday, April 04, 2000 8:21 AM
To: TDS Development Group
Subject: [freetds] Setting up freetds for PHP3

Hello all,
I'm trying to get freetds to work on my linux web server
but I can't seem
to get freetds working. Maybe someone can help me.
Let me give you as much info as I can.
I have MS-SQL Server 7.0 with sp2 running on WinNT 4.0 (SP
6.) My client
is linux, SuSE 6.3 with Kernel 2.2.13. I downloaded and
installed freetds
v0.5. I did the ./configure --with-tdsver=7.0, setup the
LD_LIBRARY_PATH,
setup the PWD with this info:
UID=sa
PWD=sapassword
SRV=7.0
DB=mydbonsql
Then setup the interface with this
:
mongo
query tcp ether <sqlip> 1433
master tcp ether <sqlip> 1433
where <sqlip> is the ip address of my MS-SQL Server.

Then I go to do the 'make test' and I get this:
sh test.sh
Starting tests for tds
----------------------
Building...done
Testing 1...failed
Testing 2...failed
0 tests passed. 2 tests failed.

Starting tests for dblib
------------------------
Building...done
Testing 1...failed
Testing 2...failed
Testing 3...not run
Testing 4...failed
Testing 5...failed
Testing 6...failed
Testing 7...failed
Testing 8...failed
Testing 9...failed
Testing 10...failed
Testing 11...failed
0 tests passed. 10 tests failed.

Starting tests for ctlib
------------------------
Building...done
Testing 1...failed
0 tests passed. 1 tests failed.

Any ideas why this happened?

kevin
kevin AT english.net






---
You are currently subscribed to freetds as:
johnde AT greeley.sykes.com
To unsubscribe, forward this message to
$subst('Email.Unsub')




Archive powered by MHonArc 2.6.24.

Top of Page