From:             kalipso at lycos dot co dot kr
Operating system: FreeBSD 4.8 stable
PHP version:      4.3.3RC2
PHP Bug Type:     Compile Failure
Bug description:  compile fail with freetds ('--with-sybase') option

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 !!


-- 
Edit bug report at http://bugs.php.net/?id=24944&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24944&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24944&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24944&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24944&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24944&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24944&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24944&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24944&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24944&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24944&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24944&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24944&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24944&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24944&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24944&r=gnused

Reply via email to