Alguns erros ocorreram quando instalei o lucene, um módulo perl!

2

Alguns erros ocorreram quando instalei o lucene, um módulo perl:

[xlwang@localhost Lucene-0.18]$ make test

Running Mkbootstrap for Lucene ()
chmod 644 Lucene.bs
PERL_DL_NONLAZY=1 /home/xlwang/local/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t .. 1/1 
#   Failed test 'use Lucene;'
#   at t/00-load.t line 6.
#     Tried to use 'Lucene'.
#     Error:  Can't load '/home/xlwang/Lucene-0.18/blib/arch/auto/Lucene/Lucene.so' for module Lucene: /usr/lib/../lib64/libclucene.so.0: undefined symbol: pthread_mutexattr_settype at /home/xlwang/local/lib/perl5/5.20.0/x86_64-linux/DynaLoader.pm line 193.
#  at t/00-load.t line 6.
# Compilation failed in require at t/00-load.t line 6.
# BEGIN failed--compilation aborted at t/00-load.t line 6.
# Testing Lucene 0.18, Perl 5.020000, /home/xlwang/local/bin/perl
# Looks like you failed 1 test of 1.
t/00-load.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/00-load.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  1 wallclock secs ( 0.04 usr  0.01 sys +  0.08 cusr  0.03 csys =  0.16 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] error 1

Meu sistema operacional é o Red Hat 6.4 e a versão Perl é 5.20.

Por favor, ajude-me a corrigi-lo.

    
por xlwang0903 24.06.2014 / 08:56

0 respostas

Tags