ID: 29344 Updated by: [EMAIL PROTECTED] Reported By: resonantfreq at yahoo dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux RH9 PHP Version: 4.3.8 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Your system is missing the netinet/in.h header needed by another non-php related header /usr/include/netdb.h. Previous Comments: ------------------------------------------------------------------------ [2004-07-23 00:22:11] resonantfreq at yahoo dot com Description: ------------ Hello, I am interested in upgrading the php version (4.7) to (4.8) with also the interest off adding in curl. I recompiled with no problems, see the configure script below. However when I run the make, I consistently keep running into the same errors. I have posted the errors below. I have attempted several times and also tried researching to see if others also came across the same problem. Please advise. Note, I also have attempted to recompile with a zero configure settings and still ran into problems. Thanks in advance. Reproduce code: --------------- ./configure --with-apxs=/usr/local/apache/bin/apxs --disable-debug --enable-ftp --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-mm=shared --enable-safe-mode --enable-track-vars --enable-trans-sid --enable-eddx=shared --enable-xml --with-dom --with-gettext --with-mysql=/usr/local/mysql --with-regex=system --with-xml --with-zlib-dir=/usr/lib --with-curl=/usr Error during make: /bin/sh /usr/local/src/php-4.3.8/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/ftp/ -I/usr/local/src/php-4.3.8/ext/ftp/ -DPHP_ATOM_INC -I/usr/local/src/php-4.3.8/include -I/usr/local/src/php-4.3.8/main -I/usr/local/src/php-4.3.8 -I/usr/local/src/php-4.3.8/Zend -I/usr/include/libxml2 -I/usr/local/src/php-4.3.8/ext/mbstring/mbregex -I/usr/local/src/php-4.3.8/ext/mbstring/libmbfl -I/usr/local/src/php-4.3.8/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/usr/local/src/php-4.3.8/ext/xml/expat -I/usr/local/src/php-4.3.8/TSRM -g -O2 -prefer-pic -c /usr/local/src/php-4.3.8/ext/ftp/ftp.c -o ext/ftp/ftp.lo /usr/local/src/php-4.3.8/ext/ftp/ftp.c:58:24: netinet/in.h: No such file or directory In file included from /usr/local/src/php-4.3.8/ext/ftp/ftp.c:59: /usr/include/arpa/inet.h:23:67: netinet/in.h: No such file or directory In file included from /usr/local/src/php-4.3.8/ext/ftp/ftp.c:60: /usr/include/netdb.h:28:24: netinet/in.h: No such file or directory /usr/local/src/php-4.3.8/ext/ftp/ftp.c:111: field `ia' has incomplete type /usr/local/src/php-4.3.8/ext/ftp/ftp.c: In function `ftp_pasv': /usr/local/src/php-4.3.8/ext/ftp/ftp.c:643: dereferencing pointer to incomplete type /usr/local/src/php-4.3.8/ext/ftp/ftp.c:644: dereferencing pointer to incomplete type /usr/local/src/php-4.3.8/ext/ftp/ftp.c:645: dereferencing pointer to incomplete type /usr/local/src/php-4.3.8/ext/ftp/ftp.c: In function `ftp_getdata': /usr/local/src/php-4.3.8/ext/ftp/ftp.c:1356: dereferencing pointer to incomplete type /usr/local/src/php-4.3.8/ext/ftp/ftp.c:1357: dereferencing pointer to incomplete type make: *** [ext/ftp/ftp.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29344&edit=1