Setting up freetds for PHP3

Kevin English kevinator_ca at yahoo.com
Thu Apr 6 12:13:25 EDT 2000


Thank you for your response. I actaully did get the
test to work, now i need to get the perl and php3 to
work with the freetds. I haven't had much time to mess
with it recently but I suppose I'll get around to it.
. .. 
kevin

--- John Dejournett <johnde at greeley.sykes.com> wrote:
> 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')
> 
> ---
> You are currently subscribed to freetds as:
> kevin at english.net
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
> 
> 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



More information about the FreeTDS mailing list