0

我正在尝试在 Linux 上安装 Lemur-4.12,但是在运行 make 时我得到:

../../MakeMod:48: recipe for target 'ResultFile.o' failed
make[1]: *** [ResultFile.o] Error 1
make[1]: Leaving directory '/data1/myuser/lemur-4.12/retrieval/obj'
Makefile:28: recipe for target 'retrieval' failed

这是一个常见问题吗?它可能是由什么引起的,我该如何解决?

4

1 回答 1

0

lemur-4.12 代码非常古老。这些文件的时间戳为 2005 和 2008。来自 Fedora / RHEL 6 / CentOS 6 的可靠 g++ 版本 3.4.6 (compat-gcc-34-c++) 可以完成这项工作。我的例子:操作系统 = PCLinuxOS 2016,编译器 =gcc34-c++-3.4.6-20.SL7.x86_64

cd lemur-4.12/
export CXX=g++34 && ./configure
make

安装结果: bin/{ 29 executable´s } , lib/liblemur.a , include//[headers].hpp


注意:Fedora g++34/gcc34 软件包已经重建,可用于 CentOS 7、Debian、Ubuntu。

于 2016-07-01T21:09:13.203 回答