Bug #15556 Updated: Won't compile when using '--with-zip'
ID: 15556 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: *Compression related +Bug Type: ZZiplib Related Operating System: Freebsd 4.5 PHP Version: 4.1.1 New Comment: reclassified. Previous Comments: [2002-04-08 22:02:45] [EMAIL PROTECTED] This happened to me. You don't have zziplib installed. cd /usr/ports/devel/zziplib make install Then build php again. [2002-02-14 11:41:42] [EMAIL PROTECTED] 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 15 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 15 /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 15 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 15 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 this bug report at
Bug #15556 Updated: Won't compile when using '--with-zip'
ID: 15556 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: ZZiplib Related Operating System: Freebsd 4.5 PHP Version: 4.1.1 New Comment: i get the correct error message from configure when zziplib is not installed on freebsd. (note that config.log isn't the same as the output of configure. it doesn't log this sort of error message. yes, that seems sub-optimal.) Previous Comments: [2002-04-09 04:26:18] [EMAIL PROTECTED] reclassified. [2002-04-08 22:02:45] [EMAIL PROTECTED] This happened to me. You don't have zziplib installed. cd /usr/ports/devel/zziplib make install Then build php again. [2002-02-14 11:41:42] [EMAIL PROTECTED] 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 15 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 15 /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 15 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 15 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
Bug #15556 Updated: Won't compile when using '--with-zip'
ID: 15556 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *Compression related Operating System: Freebsd 4.5 PHP Version: 4.1.1 New Comment: This happened to me. You don't have zziplib installed. cd /usr/ports/devel/zziplib make install Then build php again. Previous Comments: [2002-02-14 11:41:42] [EMAIL PROTECTED] 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 15 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 15 /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 15 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 15 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 this bug report at http://bugs.php.net/?id=15556edit=1