xunsearch(迅搜)论坛
ERROR: failed to configure xapian-core-scws, see 'setup.log' for more detail - 可打印的版本

+- xunsearch(迅搜)论坛 (http://bbs.xunsearch.com)
+-- 版块: xunsearch 讨论区 (/forumdisplay.php?fid=2)
+--- 版块: 一般安装&使用 (/forumdisplay.php?fid=3)
+--- 主题: ERROR: failed to configure xapian-core-scws, see 'setup.log' for more detail (/showthread.php?tid=6284)



ERROR: failed to configure xapian-core-scws, see 'setup.log' for more detail - cattle - 2016年11月30日 09:44

[root@iZ2ze1jguobebs4ns67ldtZ xunsearch-full-1.4.10]# ./setup.sh

+==========================================+
| Welcome to setup xunsearch(full) |
| 欢迎使用 xunsearch (完整版) 安装程序 |
+------------------------------------------+
| Follow the on-screen instructions please |
| 请按照屏幕上的提示操作以完成安装 |
+==========================================+

Please specify the installation directory
请指定安装目录 (默认为中括号内的值)
[/usr/local/xunsearch]:

Confirm the installation directory
请确认安装目录:/usr/local/xunsearch [Y/n]y

Checking scws ... 1.2.3
Checking scws dict ... ok
Checking libuuid ... yes: /usr/local/xunsearch
Checking xapian-core-scws ... no
Installing xapian-core-scws (1.2.22) ...
Extracting xapian-core-scws package ...
Configuring xapian-core-scws ...
-----
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking whether sys_errlist is declared... yes
checking whether _sys_errlist is declared... yes
checking whether sys_nerr is declared... yes
checking whether _sys_nerr is declared... yes
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 may need to install the zlib1g-dev or zlib-devel package)
-----
ERROR: failed to configure xapian-core-scws, see 'setup.log' for more detail
[hr]
yum install zlib-devel 已解决