ID:               21746
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: FreeBSD 4.7
 PHP Version:      4.3.0
 New Comment:

Strange. I had this problem also on a FreeBSD 4.5 & 4.4 installation.
With the exact same compile error.


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

[2003-01-19 17:49:39] [EMAIL PROTECTED]

I just did a configure similar to yours (only with more options) and
found no issues.  I'm guessing this is a local install issue as I've
not had any of these problems yet on FreeBSD.  Marking as Bogus.

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

[2003-01-19 05:31:19] [EMAIL PROTECTED]

When I run this configure command (and any other options with apxs):
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql \
--enable-track-vars \
--with-openssl=/usr \
--enable-force-cgi-redirect \
--enable-sockets \
--with-gettext \
--with-mm

Followed with the command:
gmake

I get the following error message:

Server# gmake
/bin/sh libtool --silent --mode=compile gcc  -Iext/ctype/
-I/usr/local/src/php-4.3.0/ext/ctype/ -DPHP_ATOM_INC
-I/usr/local/src/php-4.3.0/include -I/usr/local/src/php-4.3.0/main
-I/usr/local/src/php-4.3.0 -I/usr/local/src/php-4.3.0/Zend
-I/usr/local/include -I/usr/local/src/php-4.3.0/ext/xml/expat 
-DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN
-I/usr/local/src/php-4.3.0/TSRM  -g -O2  -prefer-pic -c
/usr/local/src/php-4.3.0/ext/ctype/ctype.c -o ext/ctype/ctype.lo 
In file included from /usr/include/sys/param.h:104,
                 from
/usr/local/src/php-4.3.0/TSRM/tsrm_config_common.h:14,
                 from
/usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:26,
                 from /usr/local/src/php-4.3.0/main/php.h:360,
                 from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/include/machine/limits.h:81: warning: `LONG_MAX' redefined
/usr/local/src/php-4.3.0/Zend/zend.h:189: warning: this is the location
of the previous definition
/usr/include/machine/limits.h:82: warning: `LONG_MIN' redefined
/usr/local/src/php-4.3.0/Zend/zend.h:193: warning: this is the location
of the previous definition
In file included from
/usr/local/src/php-4.3.0/TSRM/tsrm_config_common.h:14,
                 from
/usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:26,
                 from /usr/local/src/php-4.3.0/main/php.h:360,
                 from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/include/sys/param.h:193: warning: `MAXPATHLEN' redefined
/usr/local/src/php-4.3.0/main/php.h:237: warning: this is the location
of the previous definition
In file included from /usr/local/src/php-4.3.0/Zend/zend.h:202,
                 from /usr/local/src/php-4.3.0/main/php.h:34,
                 from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.0/Zend/zend_hash.h:119: syntax error before
`va_list'
In file included from /usr/local/src/php-4.3.0/Zend/zend.h:203,
                 from /usr/local/src/php-4.3.0/main/php.h:34,
                 from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.0/Zend/zend_llist.h:34: syntax error before
`va_list'
In file included from /usr/local/src/php-4.3.0/main/php.h:34,
                 from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.0/Zend/zend.h:285: syntax error before
`va_list'
/usr/local/src/php-4.3.0/Zend/zend.h:423: syntax error before
`va_list'
In file included from /usr/local/src/php-4.3.0/main/php.h:224,
                 from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.0/main/spprintf.h:40: syntax error before
`va_list'
In file included from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.0/main/php.h:277: syntax error before `va_list'
In file included from /usr/local/src/php-4.3.0/main/php.h:360,
                 from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23:
/usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:159: warning: `struct
utimbuf' declared inside parameter list
/usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:159: warning: its
scope is only this definition or declaration, which is probably not
what you want.
gmake: *** [ext/ctype/ctype.lo] Error 1

-I have this problem sinds version 4.2.1.
-Compilation worked when I replace the
"--with-apxs=/usr/local/apache/bin/apxs" param with
"--with-apache=../apache-1.3.27", but I don't want a static
php installation.
-When I disable ctype in configure (--disable-ctype) it hangs   at
gettext. (Also with the error: 

In file included from /usr/include/sys/param.h:104,
                 from
/usr/local/src/php-4.3.0/TSRM/tsrm_config_common.h:14,
...
)

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


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

Reply via email to