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:
[marcus@zaphod 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 Marcus Boerger
- Re: [PHP-DEV] Problems compiling HEAD Andi Gutmans
- Re: [PHP-DEV] Problems compiling HEAD Marcus Börger