-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm trying to build RPMs of FreeTDS and PHP. But when I install freetds in /usr and try to compile php 5.0.4 --with-mssql, configure can't seem to find freetds. I compiled freetds with:
./configure --program-prefix= --prefix=/usr --exec-prefix=/usr - --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc - --datadir=/usr/share --includedir=/usr/include/freetds --libdir=/usr/lib - --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com - --mandir=/usr/share/man --infodir=/usr/share/info --with-tdsver=4.2 - --with-unixodbc=/usr --enable-msdblib --enable-sybase-compat This installs these files: /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/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/libct.so.3 /usr/lib/libct.so.3.0.0 /usr/lib/libsybdb.a /usr/lib/libsybdb.so /usr/lib/libsybdb.so.5 /usr/lib/libsybdb.so.5.0.0 /usr/lib/libtds.a /usr/lib/libtds.so /usr/lib/libtds.so.4 /usr/lib/libtds.so.4.0.0 /usr/lib/libtdsodbc.a /usr/lib/libtdsodbc.so /usr/lib/libtdsodbc.so.0 /usr/lib/libtdsodbc.so.0.0.0 /usr/lib/libtdssrv.a /usr/lib/libtdssrv.so /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/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 /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 If I run "./configure --with-mssql" without a path, I get: Cannot find FreeTDS in known installation directories and if I run "./configure --with-mssql=/usr", I get: Directory /usr/ is not a FreeTDS installation directory Anyone have any ideas of what I'm missing? Thanks, Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCZTgi56i+58DjJowRAi+4AKCeyZGjNK7NpPSFUhHr1GbpJKQDVQCaAlj7 Nq47FNFebhUN0lXKh8/z6FA= =iSZm -----END PGP SIGNATURE-----