#22160 [Opn->Fbk]: --with-mssql fails
ID: 22160
Updated by: fmk@php.net
Reported By: jeremy@transparentblue.com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: RH Linux 8.0 2.4.18-14smp
PHP Version: 4CVS-2003-02-10 (stable)
New Comment:
I'm unable to reproduce this. I use FreeTDS-0.61 compiled with
--prefix=/usr/local --tdsver=7.0 --enable-msdblib.
tdsver is specifying the default version you can overwrite this in
freetds.conf.
What version of FreeTDS are you using ?
I can send you a modified version of php_mssql.c (SHORT => short in
line 338) or you can make this change and see if that does the trick.
Previous Comments:
------------------------------------------------------------------------
[2003-02-10 22:03:26] jeremy@transparentblue.com
Previously reported bug
Bug #21544
compiling php4-STABLE-200302110230 fails
/usr/local/src/php4-STABLE-200302110230/ext/mssql/php_mssql.c: In
function `zm_activate_mssql':
/usr/local/src/php4-STABLE-200302110230/ext/mssql/php_mssql.c:338:
`SHORT' undeclared (first use in this function)
/usr/local/src/php4-STABLE-200302110230/ext/mssql/php_mssql.c:338:
(Each undeclared identifier is reported only once
/usr/local/src/php4-STABLE-200302110230/ext/mssql/php_mssql.c:338: for
each function it appears in.)
my configure string
note: /usr/local/freetds exists (freetds compiled --with-tdsver=4.2)
./configure --with-mysql=/usr/local/mysql \
--with-apache=../apache_1.3.27-http \
--with-mssql=/usr/local/freetds \
--with-gd=/usr/local/src/gd \
--with-jpeg-dir=/usr/local/src/jpeg-6b \
--with-xml \
--enable-wddx \
--with-png-dir=/usr/lib \
--with-zlib-dir=shared \
--with-curl=/usr/local
Very stuck.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22160&edit=1
Thread (6 messages)