From: [EMAIL PROTECTED] Operating system: Freebsd 4.5 PHP version: 4.1.1 PHP Bug Type: *Compression related Bug description: Won't compile when using '--with-zip'
Hello, I have a problem when trying to compile mod_php4 from FreeBSD's port system using '--with-zip'. Without this extra option everything goes just fine. I've tried to reinstall FreeBSD but the problem repeats. Here is the last linies before the stop errors: configure:50910: checking for Blowfish crypt configure:50942: cc -o onftest -O -pipe -I/usr/local/include -DHARD_SERVER_LIMIT=512 -DDOCUMENT_L OCATION="/usr/local/www/data/" -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -DUSE_EXPAT -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib/mysql -L/us r/local/lib/mysql conftest.c -lmysqlclient -lz -lgd -lfreetype -lpng -lz -ljpeg -lz -lcrypt -l m -lcrypt 1>&5 configure:50974: checking whether flush should be called explicitly after a bufferered io configure:51023: cc -o onftest -O -pipe -I/usr/local/include -DHARD_SERVER_LIMIT=512 -DDOCUMENT_L OCATION="/usr/local/www/data/" -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -DUSE_EXPAT -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib/mysql -L/us r/local/lib/mysql conftest.c -lmysqlclient -lz -lgd -lfreetype -lpng -lz -ljpeg -lz -lcrypt -l m -lcrypt 1>&5 /tmp/ccshYWyY.o: In function `main': /tmp/ccshYWyY.o(.text+0xf): warning: tmpnam() possibly used unsafely; consider using mkstemp() configure: failed program was: #line 50985 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { char *filename = tmpnam(NULL); char buffer[64]; int result = 0; FILE *fp = fopen(filename, "wb"); if (NULL == fp) return 0; fputs("line 1\n", fp); fputs("line 2\n", fp); fclose(fp); fp = fopen(filename, "rb+"); if (NULL == fp) return 0; fgets(buffer, sizeof(buffer), fp); fputs("line 3\n", fp); rewind(fp); fgets(buffer, sizeof(buffer), fp); if (0 != strcmp(buffer, "line 1\n")) result = 1; fgets(buffer, sizeof(buffer), fp); if (0 != strcmp(buffer, "line 3\n")) result = 1; fclose(fp); unlink(filename); exit(result); } configure:51231: checking for libswf support configure:51569: checking for Sybase support configure:52079: checking for Sybase-CT support configure:52577: checking whether to enable System V semaphore support configure:52811: checking whether to enable System V shared memory support configure:52999: checking for vpopmail support configure:53406: checking for WDDX support configure:53605: checking whether byte ordering is bigendian configure:53623: c -c -O -pipe -I/usr/local/include -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCA TION="/usr/local/www/data/" -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -D USE_EXPAT conftest.c 1>&5 configure:53638: c -c -O -pipe -I/usr/local/include -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCA TION="/usr/local/www/data/" -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -D USE_EXPAT conftest.c 1>&5 configure: In function `main': configure:53633: syntax error before `big' configure: failed program was: #line 53627 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> int main() { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } configure:53704: checking for XML support configure:53749: checking external libexpat install dir configure:54342: checking for XMLRPC-EPI support configure:54387: checking libexpat dir for XMLRPC-EPI configure:55603: checking whether to enable xslt support configure:55648: checking whether to enable the XSLT Sablotron backend configure:55693: checking libexpat dir for Sablotron XSL support configure:56404: checking for YAZ support configure:56758: checking whether to include YP support configure:56953: checking whether to include zziplib support (end of "config.log") *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. Best regards Morten -- Edit bug report at http://bugs.php.net/?id=15556&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15556&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15556&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15556&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15556&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15556&r=support Expected behavior: http://bugs.php.net/fix.php?id=15556&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15556&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15556&r=submittedtwice