ID:               22259
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ikazdek at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: FreeBSD 4.7-STABLE
 PHP Version:      4.3.1
 New Comment:

> /usr/local/src/php-4.3.1/Zend/zend_hash.h:119: syntax error before
`va_list'

Which is in <stdarg.h>.
zend_hash.h from zend.h, line 202.

On line 62 of zend.h:
#ifdef HAVE_STDARG_H
# include <stdarg.h>
#endif

So - there really is something wrong with your system, since FreeBSD
4.7-STABLE really has that header.

Try grepping for stdarg in config.log


Previous Comments:
------------------------------------------------------------------------

[2003-02-17 17:53:15] ikazdek at hotmail dot com

Reconfigured as SNIPER AT PHP.NET suggested:  

(Same config as originally listed, without the --enable-track-vars
--enable-force-cgi-redirect)
Attempted to compile with same results:

bash-2.05b# make

[Snip-snip]...

In file included from
/usr/local/src/php-4.3.1/ext/standard/php_standard.h:44,
                 from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:48:
/usr/local/src/php-4.3.1/ext/standard/fsock.h:43: warning: `struct
in_addr' declared inside parameter list
*** Error code 1

Stop in /usr/local/src/php-4.3.1.

------------------------------------------------------------------------

[2003-02-17 17:36:56] p0ix0n at yahoo dot com

Oooops.. This may help.. attached is my config line:

'./configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-regex=system' '--without-gd' '--without-mysql' '--with-zlib'
'--with-imap=/usr/local' '--with-mysql=/usr/local'
'--with-ldap=/usr/local' '--with-expat-dir=/usr/local'
'--with-gettext=/usr/local' '--prefix=/usr/local' '--with-mcrypt'

------------------------------------------------------------------------

[2003-02-17 17:33:21] p0ix0n at yahoo dot com

I'm having the same exact issue. I cannot install 4.3.0 or 4.3.1. I get
the same result when compiling. I'm also using FreeBSD 4.7-STABLE.

------------------------------------------------------------------------

[2003-02-17 17:31:01] [EMAIL PROTECTED]

FYI:

--enable-track-vars does NOT EXIST anymore.
--enable-force-cgi-redirect does not do anything when
you're building an APACHE DSO!

The bug in 4.3.0 does _NOT_ affect PHP build as Apache module...

Thank you and good luck. I'll forget this report from now on.





------------------------------------------------------------------------

[2003-02-17 17:15:57] ikazdek at hotmail dot com

You get the same results with 4.3.0

4.3.1 was released today to fix a vulnerability in 4.3.0 dealing with
the --enable-force-cgi-redirect. 

--enable-force-cgi-redirect and --enable-track-vars are
required/recomended by Squirrelmail, which is the only reason I'm
installing PHP.

So how about we try to make the "stable" released version of PHP work
instead of recommending the installation of development versions or
suggesting to removed required options. As done in previous bug threads
regarding similar compile problems. 

Argh.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22259

-- 
Edit this bug report at http://bugs.php.net/?id=22259&edit=1

Reply via email to