From:             resonantfreq at yahoo dot com
Operating system: Linux RH9
PHP version:      4.3.8
PHP Bug Type:     Compile Failure
Bug description:  problems with make during upgrade and reinstall

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 bug report at http://bugs.php.net/?id=29344&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29344&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29344&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29344&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29344&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29344&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29344&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29344&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29344&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29344&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29344&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29344&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29344&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29344&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29344&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29344&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29344&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29344&r=float

Reply via email to