安装的时候提示: configure: error: zlib.h not found - required for brass, chert and flint (you may need to install the zlib1g-dev or zlib-devel package) 我在执行sudo apt-get install zlib1g-dev后还是不行!怎么办,搞了好久了!:(
你看一看 /usr/include/zlib.h 是否存在呢?还有,要重新configure
我也遇到来这个问题,我到centos,我就yum install zlib-devel 然后就ok啦,希望能帮到你!
... checking for working ISO C90 conforming snprintf... snprintf checking for zlib.h... no configure: error: zlib.h not found - required for brass, chert and flint (you ma y need to install the zlib1g-dev or zlib-devel package) ----- ERROR: failed to configure xapian-core...
...v-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex -...