[PHP-DEV] Problems compiling HEAD
I can no longer compile CVS version. See log: [...] Thank you for using PHP. gcc -Iext/zlib/ -I/usr/src/php4-HEAD/ext/zlib/ -DPHP_ATOM_INC -I/usr/src [...] -DZTS -c /usr/src/php4-HEAD/ext/zlib/zlib.c -o ext/zlib/zlib.o echo ext/zlib/zlib.lo In file included from /usr/src/php4-HEAD/Zend/zend_globals.h:53, from /usr/src/php4-HEAD/Zend/zend_list.h:25, from /usr/src/php4-HEAD/Zend/zend_API.h:26, from /usr/src/php4-HEAD/main/php.h:38, from /usr/src/php4-HEAD/ext/zlib/zlib.c:28: /usr/src/php4-HEAD/Zend/zend_compile.h:206: redefinition of `zend_execute_data' /usr/src/php4-HEAD/Zend/zend_compile.h:62: `zend_execute_data' previously declared here make: *** [ext/zlib/zlib.lo] Error 1 System is mandrake 8.2. And same configuration worked fine some days ago... I also wonder why do we have to specify both --with-zlib and --with-zlib-dir now? Wouldn't it be enoght to specify --with-zlib if wanted. I mean in that case we do not need a second configure option to specify the same. O.k. if zlib extension is not wanted that makes sense but the first case can be simplyfied. Another thing is that we have different messages for -the -with-zlib-dir option: [marcuszaphod php4-HEAD]$ ./configure --help | grep zlib --with-zlib[=DIR] Include ZLIB support (requires zlib = 1.0.9). --with-zlib-dir=DIR Define the location of zlib install directory --with-zlib-dir[=DIR] GD: Set the path to libz install prefix. --with-zlib-dir[=DIR] PDFLIB: define libz install directory. regards marcus
Re: [PHP-DEV] Problems compiling HEAD
I fixed the compile warning. Next time please mention it's in engine 2. Thanks, Andi At 10:45 PM 10/19/2002 +0200, Marcus Boerger wrote: I can no longer compile CVS version. See log: [...] Thank you for using PHP. gcc -Iext/zlib/ -I/usr/src/php4-HEAD/ext/zlib/ -DPHP_ATOM_INC -I/usr/src [...] -DZTS -c /usr/src/php4-HEAD/ext/zlib/zlib.c -o ext/zlib/zlib.o echo ext/zlib/zlib.lo In file included from /usr/src/php4-HEAD/Zend/zend_globals.h:53, from /usr/src/php4-HEAD/Zend/zend_list.h:25, from /usr/src/php4-HEAD/Zend/zend_API.h:26, from /usr/src/php4-HEAD/main/php.h:38, from /usr/src/php4-HEAD/ext/zlib/zlib.c:28: /usr/src/php4-HEAD/Zend/zend_compile.h:206: redefinition of `zend_execute_data' /usr/src/php4-HEAD/Zend/zend_compile.h:62: `zend_execute_data' previously declared here make: *** [ext/zlib/zlib.lo] Error 1 System is mandrake 8.2. And same configuration worked fine some days ago... I also wonder why do we have to specify both --with-zlib and --with-zlib-dir now? Wouldn't it be enoght to specify --with-zlib if wanted. I mean in that case we do not need a second configure option to specify the same. O.k. if zlib extension is not wanted that makes sense but the first case can be simplyfied. Another thing is that we have different messages for -the -with-zlib-dir option: [marcuszaphod php4-HEAD]$ ./configure --help | grep zlib --with-zlib[=DIR] Include ZLIB support (requires zlib = 1.0.9). --with-zlib-dir=DIR Define the location of zlib install directory --with-zlib-dir[=DIR] GD: Set the path to libz install prefix. --with-zlib-dir[=DIR] PDFLIB: define libz install directory. regards marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Problems compiling HEAD
Ah, missed to inform about engine 2, sorry. thanks! the first files are compiling... but unfortuanetly i'm leaving for a drink now :-) marcus At 22:58 19.10.2002, Andi Gutmans wrote: I fixed the compile warning. Next time please mention it's in engine 2. Thanks, Andi At 10:45 PM 10/19/2002 +0200, Marcus Boerger wrote: I can no longer compile CVS version. See log: [...] Thank you for using PHP. gcc -Iext/zlib/ -I/usr/src/php4-HEAD/ext/zlib/ -DPHP_ATOM_INC -I/usr/src [...] -DZTS -c /usr/src/php4-HEAD/ext/zlib/zlib.c -o ext/zlib/zlib.o echo ext/zlib/zlib.lo In file included from /usr/src/php4-HEAD/Zend/zend_globals.h:53, from /usr/src/php4-HEAD/Zend/zend_list.h:25, from /usr/src/php4-HEAD/Zend/zend_API.h:26, from /usr/src/php4-HEAD/main/php.h:38, from /usr/src/php4-HEAD/ext/zlib/zlib.c:28: /usr/src/php4-HEAD/Zend/zend_compile.h:206: redefinition of `zend_execute_data' /usr/src/php4-HEAD/Zend/zend_compile.h:62: `zend_execute_data' previously declared here make: *** [ext/zlib/zlib.lo] Error 1 System is mandrake 8.2. And same configuration worked fine some days ago... I also wonder why do we have to specify both --with-zlib and --with-zlib-dir now? Wouldn't it be enoght to specify --with-zlib if wanted. I mean in that case we do not need a second configure option to specify the same. O.k. if zlib extension is not wanted that makes sense but the first case can be simplyfied. Another thing is that we have different messages for -the -with-zlib-dir option: [marcuszaphod php4-HEAD]$ ./configure --help | grep zlib --with-zlib[=DIR] Include ZLIB support (requires zlib = 1.0.9). --with-zlib-dir=DIR Define the location of zlib install directory --with-zlib-dir[=DIR] GD: Set the path to libz install prefix. --with-zlib-dir[=DIR] PDFLIB: define libz install directory. regards marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php