I met it when I build LFS html book.
It can be fixed it with
./configure \
--prefix=/usr \
--without-zlib
xmlIO.c:2396 2-2.6.31
xmlIO.c:2510 2-2.7.6
/*
* Allocate the Input buffer front-end.
*/
ret = xmlAllocParserInputBuffer(enc);
if (ret != NULL) {
ret-context =
/*
* Allocate the Input buffer front-end.
*/
ret = xmlAllocParserInputBuffer(enc);
if (ret != NULL) {
ret-context = context;
ret-readcallback = xmlInputCallbackTable[i].readcallback;
ret-closecallback = xmlInputCallbackTable[i].closecallback;
#ifdef HAVE_ZLIB_H
if