hightman / xunsearch

免费开源的中文搜索引擎,采用 C/C++ 编写 (基于 xapian 和 scws),提供 PHP 的开发接口和丰富文档
http://www.xunsearch.com
Other
1.64k stars 391 forks source link

安装服务端报错 #112

Open byrnes2014 opened 4 years ago

byrnes2014 commented 4 years ago

服务器版本 Linux version 4.18.0-193.el8.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)) #1 SMP Fri May 8 10:59:10 UTC 2020 报错信息 `Checking scws ... 1.2.3 Checking scws dict ... ok Checking libuuid ... yes: /usr Checking xapian-core-scws ... 1.4.13 Checking libevent ... no Installing libevent (2.0.21-stable) ... Extracting libevent package ... Configuring libevent ... Compiling & installing libevent ...

^~~~ bufferevent_openssl.c:237:2: note: (near initialization for 'methods_bufferevent') bufferevent_openssl.c:228:19: error: storage size of 'methods_bufferevent' isn't known static BIO_METHOD methods_bufferevent = { ^~~~~~~ make[2]: [Makefile:793: bufferevent_openssl.lo] Error 1 make[2]: Leaving directory '/root/xunsearch-full-1.4.14/libevent-2.0.21-stable' make[1]: [Makefile:857: install-recursive] Error 1 make[1]: Leaving directory '/root/xunsearch-full-1.4.14/libevent-2.0.21-stable' make: *** [Makefile:1182: install] Error 2

ERROR: failed to compile libevent, see 'setup.log' for more detail`

ah0210 commented 4 years ago

Checking libevent ... no