hightman / xunsearch

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

mac 10.14.6安装失败 #103

Open gopep9 opened 5 years ago

gopep9 commented 5 years ago

运行setup.sh过程中显示编译失败

ld: warning: ignoring file ./.libs/libgetopt.a, file was built for archive which is not the architecture being linked (x86_64): ./.libs/libgetopt.a
Undefined symbols for architecture x86_64:
  "gnu_getopt_internal_(int, char* const*, char const*, option const*, int*, int)", referenced from:
      gnu_getopt(int, char* const*, char const*) in xapian-delve.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/xapian-delve] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
-----
ERROR: failed to compile xapian-core-scws, see 'setup.log' for more detail
TheBlueSkim commented 4 years ago

把日志里的内容也贴出来看下