Here is the story...
I have used Linux for long but still handicapped. I am tring to install the way www.openna.com suggest. They have a very secure install of linux. It installs only modules that are required. Any way long story short.. i have RH9 installed with a apache 1.3.33, mysql, ssl, openssh, wuFtp, etc..
i am trying to install php 4.4.0 in the system it will be compiled along with apache(yes i will recompile apache).
After running configure i run make and i immediately get this error.. i have searched hi-lo for a solution..it is not like i am the first one to get this error there should be a solution for it .. here they are.....
In file included from /var/tmp/php-4.4.0/Zend/zend.h:245,
from /var/tmp/php-4.4.0/main/php.h:34,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:28:
/var/tmp/php-4.4.0/Zend/zend_hash.h:119: parse error before "va_list"
In file included from /var/tmp/php-4.4.0/Zend/zend.h:246,
from /var/tmp/php-4.4.0/main/php.h:34,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:28:
/var/tmp/php-4.4.0/Zend/zend_llist.h:34: parse error before "va_list"
In file included from /var/tmp/php-4.4.0/main/php.h:34,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:28:
/var/tmp/php-4.4.0/Zend/zend.h:330: parse error before "va_list"
/var/tmp/php-4.4.0/Zend/zend.h:470: parse error before "va_list"
In file included from /var/tmp/php-4.4.0/main/php.h:239,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:28:
/var/tmp/php-4.4.0/main/snprintf.h:69: parse error before "va_list"
In file included from /var/tmp/php-4.4.0/main/php.h:240,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:28:
/var/tmp/php-4.4.0/main/spprintf.h:40: parse error before "va_list"
In file included from /var/tmp/php-4.4.0/ext/zlib/zlib.c:28:
/var/tmp/php-4.4.0/main/php.h:292: parse error before "va_list"
In file included from /var/tmp/php-4.4.0/main/php.h:392,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:28:
/var/tmp/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: `struct utimbuf' declared inside parameter list
/var/tmp/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /var/tmp/php-4.4.0/ext/standard/fsock.h:38,
from /var/tmp/php-4.4.0/ext/standard/php_standard.h:44,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:48:
/var/tmp/php-4.4.0/main/php_network.h:113: warning: `struct sockaddr' declared inside parameter list
In file included from /var/tmp/php-4.4.0/ext/standard/php_standard.h:44,
from /var/tmp/php-4.4.0/ext/zlib/zlib.c:48:
/var/tmp/php-4.4.0/ext/standard/fsock.h:43: warning: `struct in_addr' declared inside parameter list
make: *** [ext/zlib/zlib.lo] Error 1
i am not able to come up with any solution. Has any of you guys seen this problem or how do you think it can be solved.... It is very frustrating...
javaman.