If someone could please help me on this one, I really would appreciate
it.  I've compiled PHP successfully dozens of times, but can't seem to
figure out what this problem is :(  This is a RH7.3 box, with the
"newest" version of glibc which apparently provides netdb.h (figuring
maybe that would help since the version shipped with RH had the same
problems.)  I don't know enough C to understand what I'm being told here,
and netdb.h doesn't have any obvious parse errors.

If you reply, please CC me in mail because the faster I can get this
fixed, the less stressed out I'll be.

Thanks.

/bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc  -I. 
-I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 
-I/usr/local/apache/include -I/usr/src/php-4.2.3/Zend 
-I/usr/include/freetype2/freetype -I/usr/local/mysql/include/mysql 
-I/usr/local/include/pspell -I/usr/src/php-4.2.3/ext/xml/expat  -DLINUX=22 
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/usr/src/php-4.2.3/TSRM -g -O2 -prefer-pic  -c 
fopen_wrappers.c
In file included from fopen_wrappers.c:70:
/usr/include/netdb.h:119: parse error before `__socklen_t'
/usr/include/netdb.h:141: parse error before `__socklen_t'
In file included from fopen_wrappers.c:72:
/usr/include/arpa/inet.h:27: syntax error before `socklen_t'
/usr/include/arpa/inet.h:27: warning: empty declaration
make[2]: *** [fopen_wrappers.lo] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.3/main'
make: *** [all-recursive] Error 1

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to