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:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2003-02-17 18:27:39] ikazdek at hotmail dot com

Making progress, but something is still goofy here...

bash-2.05b# make CFLAGS=-DHAVE_STDARG_H 

Now crashes at what looks to be a little earlier:

[snip-snip]

In file included from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.1/main/php.h:277: syntax error before `va_list'
In file included from /usr/local/src/php-4.3.1/main/php.h:360,
                 from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: `struct
utimbuf' declared inside parameter list
/usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: its
scope is only this definition or declaration, which is probably not
what you want.
*** Error code 1

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

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

[2003-02-17 18:03:38] ikazdek at hotmail dot com

> Try grepping for stdarg in config.log

bash-2.05b# cat config.log | grep -i stdarg
configure:12921: checking for stdarg.h
configure:80395: checking for stdarg.h
configure:81463: checking for stdarg.h

So would to appropriate answer for this problem be to make with
CFLAGS=-DHAVE_STDARG_H ?? 

I'm really outside my realm of knowledge here... but I know there are
others out there that have had this same problem in the past.

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

[2003-02-17 17:55:36] [EMAIL PROTECTED]

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

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

[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.

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

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