Building PHP-4.0.4-dev with Zlib

Scott Martin martin@math.ohiou.edu
Fri, 20 Oct 2000 15:30:53 -0400


---------------------- multipart/mixed attachment
OK. I got past the --with-sablot problem and even got completely through the
configure script. Now I'm having a problem with zlib when I "make". Here are
the lines where the "make" fails. Hopefully one of you has seen this before
and can tell me what the problem is:

gcc  -I. -I/root/php4/ext/zlib -I/root/php4 -I/root/php4/main -I/root/apache
/src/include -I/root/apache/src/os/unix -I/root/php4/Zend -I/root/php4 -I/us
r/local/BerkeleyDB.3.1/include -I/usr/local/include -I/root/imap/c-client -I
/root/libmcal -I/usr/local/mysql/include -I/root/php4/ext/xml/expat/xmltok -
I/root/php4/ext/xml/expat/xmlparse -I/root/php4/TSRM  -DXML_BYTE_ORDER=12 -g
 -O2  -c zlib.c && touch zlib.lo
zlib.c: In function `gz_seeker':
zlib.c:787: incompatible type for argument 2 of `gzseek'
zlib.c: At top level:
zlib.c:801: warning: initialization from incompatible pointer type
make[3]: *** [zlib.lo] Error 1
make[3]: Leaving directory `/root/php4/ext/zlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php4/ext/zlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php4/ext'
make: *** [all-recursive] Error 1


---------------------- multipart/mixed attachment--