#45800 [NEW]: cannot compile PHP with http on osx

[email protected] ("[email protected]")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             [email protected]
Operating system: osx 10.4
PHP version:      5.3.0alpha1
PHP Bug Type:     HTTP related
Bug description:  cannot compile PHP with http on osx

Description:
------------
When compiling PHP with --enable-http, I get this error : 

In file included from /Users/macbook/bin/php5.3-
200808111430/ext/http/http.c:26:
/Users/macbook/bin/php5.3-200808111430/ext/http/php_http_api.h: In 
function '_zval_copy':
/Users/macbook/bin/php5.3-200808111430/ext/http/php_http_api.h:299: 
error: 'struct _zval_struct' has no member named 'refcount'
/Users/macbook/bin/php5.3-200808111430/ext/http/php_http_api.h:300: 
error: 'struct _zval_struct' has no member named 'is_ref'
make: *** [ext/http/http.lo] Error 1





Reproduce code:
---------------
./configure --enable-http & make



Expected result:
----------------
PHP compile correctly with the http extension.

Actual result:
--------------
Compilation fails. 

-- 
Edit bug report at http://bugs.php.net/?id=45800&edit=1
-- 
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45800&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45800&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45800&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45800&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=45800&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45800&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45800&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45800&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45800&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45800&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=45800&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=45800&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45800&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45800&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45800&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45800&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45800&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45800&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45800&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45800&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.