安装的时候提示: 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...
... 解决方法:yum groupinstall 'Development Tools' 错误代码:no zlib.h 解决方法:yum install zlib-devel 然后再运行 sh setup.sh 选择路径 安装 若shell出现乱码,不管,用del键删除,就好,backspace不管用,未知原因 然后就等一会 出现...
...program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-l...
...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 -...