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,

I am trying to compile php 5.0.6 with mssql support with no luck.

I have freetds, freetds-devel but no luck so far.

I've tried the simplest form and some variations variations
./configure --with-mssql
./configure --with-mssql=/usr
./configure --with-mssql=shared,/usr
./configure --with-mssql=shared,/usr/lib
...

All end up with

checking for MSSQL support via FreeTDS... yes
configure: error: Directory /usr is not a FreeTDS installation directory

My rpm -ql of freetds freetds-devel shows

/etc/freetds.conf
/etc/locales.conf
/etc/pool.conf
/usr/bin/bsqldb
/usr/bin/defncopy
/usr/bin/freebcp
/usr/bin/tdspool
/usr/bin/tsql
/usr/lib/libct.so.3
/usr/lib/libct.so.3.0.0
/usr/lib/libsybdb.so.5
/usr/lib/libsybdb.so.5.0.0
/usr/lib/libtds.so.4
/usr/lib/libtds.so.4.0.0
/usr/lib/libtdsodbc.so.0
/usr/lib/libtdsodbc.so.0.0.0
/usr/lib/libtdssrv.so.2
/usr/lib/libtdssrv.so.2.0.0
/usr/share/doc/freetds-0.63
/usr/share/doc/freetds-0.63/AUTHORS
/usr/share/doc/freetds-0.63/BUGS
/usr/share/doc/freetds-0.63/COPYING
/usr/share/doc/freetds-0.63/COPYING.LIB
/usr/share/doc/freetds-0.63/ChangeLog
/usr/share/doc/freetds-0.63/NEWS
/usr/share/doc/freetds-0.63/README
/usr/share/doc/freetds-0.63/TODO
/usr/share/doc/freetds-0.63/api_status.txt
/usr/share/doc/freetds-0.63/bcp.txt
/usr/share/doc/freetds-0.63/bsqldb.txt
/usr/share/doc/freetds-0.63/cap.txt
/usr/share/doc/freetds-0.63/defncopy.txt
/usr/share/doc/freetds-0.63/freebcp.txt
/usr/share/doc/freetds-0.63/getting_started.txt
/usr/share/doc/freetds-0.63/policy.txt
/usr/share/doc/freetds-0.63/tds.html
/usr/share/doc/freetds-0.63/tsql.txt
/usr/share/doc/freetds-0.63/userguide.sgml
/usr/share/man/man1/bsqldb.1.gz
/usr/share/man/man1/defncopy.1.gz
/usr/share/man/man1/freebcp.1.gz
/usr/share/man/man1/tsql.1.gz
/usr/include/freetds
/usr/include/freetds/bkpublic.h
/usr/include/freetds/cspublic.h
/usr/include/freetds/cstypes.h
/usr/include/freetds/ctpublic.h
/usr/include/freetds/sqldb.h
/usr/include/freetds/sqlfront.h
/usr/include/freetds/sybdb.h
/usr/include/freetds/syberror.h
/usr/include/freetds/sybfront.h
/usr/include/freetds/tds.h
/usr/include/freetds/tds_sysdep_public.h
/usr/include/freetds/tdsconvert.h
/usr/include/freetds/tdssrv.h
/usr/include/freetds/tdsver.h
/usr/lib/libct.a
/usr/lib/libct.so
/usr/lib/libsybdb.a
/usr/lib/libsybdb.so
/usr/lib/libtds.a
/usr/lib/libtds.so
/usr/lib/libtdsodbc.a
/usr/lib/libtdsodbc.so
/usr/lib/libtdssrv.a
/usr/lib/libtdssrv.so
/usr/share/doc/freetds-devel-0.63
/usr/share/doc/freetds-devel-0.63/samples
/usr/share/doc/freetds-devel-0.63/samples/Makefile
/usr/share/doc/freetds-devel-0.63/samples/Makefile.am
/usr/share/doc/freetds-devel-0.63/samples/Makefile.in
/usr/share/doc/freetds-devel-0.63/samples/README
/usr/share/doc/freetds-devel-0.63/samples/debug.c
/usr/share/doc/freetds-devel-0.63/samples/dyntest.c
/usr/share/doc/freetds-devel-0.63/samples/odbc.ini
/usr/share/doc/freetds-devel-0.63/samples/odbctest.php
/usr/share/doc/freetds-devel-0.63/samples/odbctest.pl
/usr/share/doc/freetds-devel-0.63/samples/test.php
/usr/share/doc/freetds-devel-0.63/samples/test.pl
/usr/share/doc/freetds-devel-0.63/samples/unixodbc.freetds.driver.template
/usr/share/doc/freetds-devel-0.63
/samples/unixodbc.freetds.driver.template.in
/usr/share/doc/freetds-devel-0.63/samples/unixodbc.install.sh
/usr/share/doc/freetds-devel-0.63/samples/unixodbc.jdbc.datasource.template

[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