首页 > 解决方案 > pylucene 安装 make 测试失败

问题描述

我正在关注这个博客在 Ubuntu 上安装 pylucene。

我安装了所有必需的文件。在执行以下脚本的最后一步:

make
make test
make install

运行第二行时出现错误make test

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f39aaaae12c, pid=15210, tid=0x00007f39afa31740
#
# JRE version: Java(TM) SE Runtime Environment (8.0_231-b11) (build 1.8.0_231-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.231-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6d812c]  jni_RegisterNatives+0x7c
#
# Core dump written. Default location: /home/bg/pylucene-8.1.1/core or core.15210
#
# An error report file with more information is saved as:
# /home/bg/pylucene-8.1.1/hs_err_pid15210.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
xargs: /home/bg/py3/bin/python: terminated by signal 6
Makefile:428: recipe for target 'test' failed
make: *** [test] Error 125

标签: pythonubuntulucenepylucene

解决方案


推荐阅读