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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 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@xxxxxxxxxxxx> 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
> >
> >
> >
>





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux