ID: 24648
Updated by: [email]sniperphp.net[/email]
-Summary: apache_1.3.26 php-4.3.2
Reported By: bergansk at daac dot gsfc dot nasa dot gov
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: IRIX 6.5.18
PHP Version: 4.3.2
New Comment:

Please try using this CVS snapshot:

[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

For Windows:

[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]




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

[2003-07-14 13:25:18] bergansk at daac dot gsfc dot nasa dot gov

Description:
------------
Installing on an SGI IRIX 6.5.18
apache was already on the system working

-- the php-4.3.2 was built and installed
now recompiling apache_1.3.26 with php module

I ran
BASELINE=dev
CC="cc -o32" ./configure --prefix=/usr/LOCAL/etc/httpd-$BASELINE
--enable-module=auth_db --enable-module=auth_dbm --server-uid=wwwuser
--server-gid=wwwuser --mandir=/usr/local/man
--activate-module=src/modules/perl/libperl.a --enable-module=rewrite
--activate-module=src/modules/php4/libphp4.a

then I ran make and got the following errors

Starting errors
: libperl.a
<=== src/modules/perl
===> src/modules/php4
cc -o32 -c -I../.. -I/usr/local/lib/perl5/5.6.0/IP27-irix/CORE
-I../../os/unix -I../../include -DIRIX -DMOD_PERL -DUSE_PERL_SSI
-D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552
-OPT:Olimit=0:space=ON -I/usr/local/include -DLANGUAGE_C -DUSE_EXPAT
-I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` -DIRIX -DMOD_PERL
-DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552
-OPT:Olimit=0:space=ON -I/usr/local/include -DLANGUAGE_C
-I/usr/local/src/php-4.3.2/main -I/usr/local/src/php-4.3.2/Zend
-I/usr/local/src/php-4.3.2/TSRM -I/usr/local/src/php-4.3.2
-I/usr/local/src/php-4.3.2/sapi/apache -I/usr/local/src/php-4.3.2/main
-I/usr/local/src/php-4.3.2/Zend -I/usr/local/src/php-4.3.2/TSRM
mod_php4.c
cc: Warning: -OPT options are ignored
cc: Warning: -OPT options are ignored
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 192:
Syntax
Error
{
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 196:
Syntax
Error
while (arKey < arEnd) {
^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 197:
Empty declaration
h += (h << 5);
-------------^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 198:
Empty declaration
h ^= (ulong) *arKey++;
---------------------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 200: Empty
declaration specifiers
return h;
-------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 42:
Syntax Error
{
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 44:
Empty declaration specifiers
stack->elements = (void **)
_erealloc((stack->elements),
( (sizeof(void *) * (stack->max *= 2 ))), 0 ) ;
-------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 45:
Syntax Error
stack->top_element = stack->elements+stack->top;
-----^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 45:
Empty declaration specifiers
stack->top_element = stack->elements+stack->top;
-------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 46:
Syntax Error
}
^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line
47: Empty declaration
stack->top++;
------------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 48:
Syntax Error
*(stack->top_element++) = ptr;
-------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 48:
Empty declaration specifiers
*(stack->top_element++) = ptr;
--------------------------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 52:
Syntax Error
{
^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line
53: Empty declaration
stack->top--;
------------^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line
54: Empty declaration
return *(--stack->top_element);
------------------------------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 62:
Syntax Error
{
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 68:
Syntax Error
if (!length) {
^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line
69: Empty declaration
return 0;
--------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 73:
Syntax Error
if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X'))
{
-----------------------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 73:
Syntax Error
if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X'))
{
---------------------------------------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 73:
Syntax Error
if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X'))
{
------------------------------------------------------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 74:
Empty declaration specifiers
conv_base=16;
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 75:
Syntax Error
}
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 76:
Empty declaration specifiers
errno=0;
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 77:
Empty declaration specifiers
local_lval = strtol(str, &end_ptr_long, conv_base);
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 78:
Syntax Error
if (errno!=34 ) {
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 80:
lval must have function type
if (lval) {
----------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 83:
Syntax Error
return 1 ;
^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line
83: Empty declaration
return 1 ;
---------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 86:
Empty declaration specifiers
end_ptr_long=0L ;
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 87:
Syntax Error
}
^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line
90: Empty declaration
return 0;
--------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 93:
Empty declaration specifiers
errno=0;
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 94:
Empty declaration specifiers
local_dval = strtod(str, &end_ptr_double);
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 95:
Syntax Error
if (errno!=34 ) {
^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 97:
Syntax Error
if (! finite(local_dval) ) {
-------------------------^
cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line
99: Empty declaration
return 0;
--------^
cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 102:
dval must have function type
if (dval) {
----------^
cfe: Fatal: Too many errors... goodbye.
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)



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


--
Edit this bug report at [url]http://bugs.php.net/?id=24648&edit=1[/url]