Re: Unable to compile php with MSSQL support / configure: error: Directory /usr is not a FreeTDS installation directory

From: Date: Fri, 12 Jan 2007 14:25:51 +0000
Subject: Re: Unable to compile php with MSSQL support / configure: error: Directory /usr is not a FreeTDS installation directory
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246997@lists.php.net to get a copy of this message
Hi Frank, The problem gets stranger... I've downloaded the 5.1.6 and guess what? the ./configure --with-mssql runs fine in the same machine... 5.0.4 ./configure --with-mssql ... checking for MSSQL support via FreeTDS... yes configure: error: Cannot find FreeTDS in known installation directories 5.1.6 ./configure --with-mssql ... checking for MSSQL support via FreeTDS... yes checking for dnet_addr in -ldnet_stub... (cached) no checking for MySQL support... no checking for specified location of the MySQL UNIX socket... no ... make ... Build complete. (It is safe to ignore warnings about tempnam and tmpnam). On 1/11/07, Frank M. Kromann <frank@kromann.info> wrote:
The only other thing I can think of is permissions, but that would be too simple. - Frank Hi Frank, Thanks for the reply but the tds.h is located under /usr/include/freetds but the error persists. Any other ideas? On 1/10/07, Frank M. Kromann <frank@kromann.info> wrote:
Hi, --with-mssql=/usr or --with-mssql=shared,/user should work with your configuration. It's looking for /usr/include/tds.h or /usr/include/freetds/tds.h. If the file was not found in any of those locations you will get the error you are describing here. - Frank


« previous php.general (#246997) next »