apache problem in debian

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
Hi,
i have try to upgrade my debian servers to the latest versions of apache but in the php build i receive this error:
Code:
                 from /usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.                                              c:34:
/usr/local/include/zzip/zzip.h:9:10: #include nested too deeply
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `php_zi                                              p_free_dir':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:89: error: `ZZIP_DIR                                              ' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:89: error: (Each und                                              eclared identifier is reported only once
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:89: error: for each                                               function it appears in.)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:89: error: `z_dir' u                                              ndeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:89: error: syntax er                                              ror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `php_zi                                              p_free_entry':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:98: error: `entry' u                                              ndeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:98: error: syntax er                                              ror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `zif_zi                                              p_open':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:133: error: `ZZIP_DI                                              R' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:133: error: `archive                                              _p' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `zif_zi                                              p_read':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:164: error: `ZZIP_DI                                              R' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:164: error: `archive                                              _p' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:165: error: `entry'                                               undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:171: error: syntax e                                              rror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `zif_zi                                              p_close':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:190: error: `ZZIP_DI                                              R' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:190: error: `archive                                              _p' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:195: error: syntax e                                              rror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `php_zz                                              ip_get_entry':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:206: error: `entry'                                               undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:211: error: syntax e                                              rror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `zif_zi                                              p_entry_open':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:269: error: `ZZIP_DI                                              R' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:269: error: `archive                                              _p' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:270: error: `entry'                                               undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:277: error: syntax e                                              rror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:278: error: syntax e                                              rror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:280: error: `O_RDONL                                              Y' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `zif_zi                                              p_entry_read':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:291: error: `entry'                                               undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:299: error: syntax e                                              rror before ')' token
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c: In function `zif_zi                                              p_entry_close':
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:317: error: `entry'                                               undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/zip/zip.c:322: error: syntax e                                              rror before ')' token
make: *** [ext/zip/zip.lo] Error 1
I have this error in 6 debian servers.
Can everyone check if the latest build script for apache work in other debian servers?
 

chatwizrd

Verified User
Joined
Jul 3, 2005
Messages
2,007
Before you built php in /usr/local/directadmin/customapache did you run a ./build clean first before building php?
 

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
chatwizrd said:
Before you built php in /usr/local/directadmin/customapache did you run a ./build clean first before building php?
sure i have do ./build clean and ./build update before.
You have compile the latest build script in debian and work fine?
 
Top