我正在使用此命令安装CLucene
模块
cpan>install CLucene
当我安装时出现以下错误
Reading '/root/.local/share/.cpan/Metadata'
Database was generated on Thu, 07 Apr 2016 10:17:02 GMT
Running install for module 'CLucene'
Checksum for /root/.local/share/.cpan/sources/authors/id/P/PE/PEDWARDS/CLucene-1.00.tar.gz ok
Scanning cache /root/.local/share/.cpan/build for sizes
............................................................................DONE
Configuring P/PE/PEDWARDS/CLucene-1.00.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for CLucene
Writing MYMETA.yml and MYMETA.json
PEDWARDS/CLucene-1.00.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for P/PE/PEDWARDS/CLucene-1.00.tar.gz
make: *** No rule to make target '/usr/lib/clucene_dll.o', needed by 'CLuceneWrap.so'. Stop.
PEDWARDS/CLucene-1.00.tar.gz
/usr/bin/make -- NOT OK
Failed during this command:
PEDWARDS/CLucene-1.00.tar.gz : make NO
任何人都可以帮助我吗?
答案 0 :(得分:2)
如果您查看发布中的README
file,您会看到它说明了这个
此模块需要以下其他模块和库:
来自http://sourceforge.net/projects/clucene处可用RPM的CLucene引擎 鲤鱼。
文件::路径。
文件/usr/lib/clucene_dll.o
几乎肯定是CLucene引擎安装的一部分,所以看起来你仍然需要这样做
如果您认为已经安装了引擎,那么您需要调查其组件不在Perl安装程序所在的位置
提供的网址实际上是一个死链接,您应该查看clucene.sourceforge.net而不是