python - 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
解决方案
推荐阅读
- java - 如何在任务执行器中使用阻塞队列中的任务实现公平性
- javascript - 如何测试 JSX 表单输入字段与 JavaScript 变量的绑定?
- android - Android中的微调器(带有电话代码和自动国家识别)
- go - 反序列化未知 Go 的 gob blob
- sql - 给出一些指令 SQL 如何找到 AVG
- python - 跨平台环境路径
- python - 如何在 Python 中实现 Selenium 多个 WebDriverWait 的方法链接
- javascript - react-native 开源项目不起作用
- javascript - 博德玛斯计算器
- java - Mockito - 如何在类的抽象方法(即回调)上模拟和表达期望