#24464 [Bgs]: --with-mssql does not seem to work
| From: | php dot net at gurugeek dot com | Date: | Wed, 02 Jul 2003 20:21:38 +0000 |
| Subject: | #24464 [Bgs]: --with-mssql does not seem to work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43120@lists.php.net to get a copy of this message | ||
ID: 24464
User updated by: php dot net at gurugeek dot com
Reported By: php dot net at gurugeek dot com
Status: Bogus
Bug Type: *Compile Issues
Operating System: Linux 2.4.7-10 i686
PHP Version: 4.3.2
New Comment:
SH*T,
*shoots self*
No bug! :D
Previous Comments:
------------------------------------------------------------------------
[2003-07-02 15:21:36] php dot net at gurugeek dot com
SH*T,
*shoots self*
No bug! :D
------------------------------------------------------------------------
[2003-07-02 15:15:32] derick@php.net
Use --with-mssql, and it should work a lot better ;-)
[derick@kossu php-5.0.0dev]$ ./configure --help | grep mssql
--with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS
home
------------------------------------------------------------------------
[2003-07-02 15:11:32] php dot net at gurugeek dot com
http://gurugeek.com/jeff/config.log
------------------------------------------------------------------------
[2003-07-02 14:18:38] derick@php.net
Please check config.log why it was skipped
------------------------------------------------------------------------
[2003-07-02 13:43:53] php dot net at gurugeek dot com
Description:
------------
When configuring adding --enable-mssql does not appear to do anything.
I can go manually change the configure script to THINK I put it in the
configure command line. (Change the PHP_MSSQL=no to PHP_MSSQL=yes, and
default the option to yes).
If I do that everything works like a champ, however if I don't php
skips right over mssql.
I'm using freetds-0.61 with the following configure command:
./configure --enable-msdblib --with-tdsver=7.0 --with-unixodbc
Reproduce code:
---------------
'./configure' \
'--prefix=/usr/local/php-4.3.2' \
'--sysconfdir=/usr/local/etc' \
'--mandir=/usr/local/man' \
'--sbindir=/usr/local/sbin' \
'--bindir=/usr/local/bin' \
'--libdir=/usr/local/lib' \
'--libexecdir=/usr/local/libexec' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sockets' \
'--with-snmp' \
'--with-mysql' \
'--enable-ftp' \
'--with-openssl' \
'--with-apsx' \
'--enable-mssql' \
'--with-apxs=/usr/local/sbin/apxs' \
'--with-curl=/root/packages/curl-7.10.5/' \
'--with-imap=/root/packages/imap-2002d/'
Expected result:
----------------
...
checking for MSSQL support via FreeTDS... yes
...
Actual result:
--------------
...
checking for MSSQL support via FreeTDS... no
...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24464&edit=1