php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24944 compile fail with freetds ('--with-sybase') option
Submitted: 2003-08-04 23:14 UTC Modified: 2003-08-05 05:46 UTC
From: kalipso at lycos dot co dot kr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.3RC2 OS: FreeBSD 4.8 stable
Private report: No CVE-ID: None
 [2003-08-04 23:14 UTC] kalipso at lycos dot co dot kr
Description:
------------
FreeBSD 4.8,
compile failed PHP 4.3.3RC2 with freetds 0.61

/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `php_sybase_do_connect':
/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c:395: request for member `value' in something not a structure or union
/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `zif_sybase_select_db':
/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c:657: invalid type argument of `unary *'
/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `zif_sybase_free_result':
/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c:954: syntax error before `if'
/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c: At top level:
/usr/ports/lang/php4/work/php-4.3.3RC2/ext/sybase/php_sybase_db.c:955: syntax error before `return'
*** Error code 1

my compile config :
configure  --enable-versioning --enable-memory-limit --with-layout=GNU \
--with-zlib-dir=/usr --disable-all --with-regex=php --with-apxs2=/usr/local/sbin/apxs \
--enable-ctype --with-mysql=/usr/local --enable-overload --with-pcre-regex=yes \
--enable-posix --enable-session --with-sybase=/usr/local --enable-tokenizer \
--enable-xml --with-expat-dir=/usr/local --with-zlib=yes --prefix=/usr/local \
i386-portbld-freebsd4.8

Please, answer !!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-05 05:46 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 17:01:33 2025 UTC