kermitt2 / entity-fishing

A machine learning tool for fishing entities
http://nerd.readthedocs.io/
Apache License 2.0
246 stars 24 forks source link

installation failes (at arm64) #155

Open tammo0 opened 1 year ago

tammo0 commented 1 year ago

Hi! Im trying to install entity-fishing at an arm64. But I don't know if this causes the problem. Following the instructions, the installation failes at Step 2 (./gradlew clean build) with 35 failed and 6 skipped tests. The grobid-home seems to be fine. Looking at the output there are a lot of java.lang.UnsatisfiedLinkError and java.lang.NoClassDefFoundError. I tested it with java-11-openjdk-arm64 and java-8-openjdk-arm64 but no differences at all.

If it helps, i can provide the cli output.

Also the docker seems not to run, even when i start it with --platform linux/amd64. Will there be a compatible image?

What am i missing?

Thanks for your help

kermitt2 commented 1 year ago

Hi @tammo0 !

My guess is that the problem is the native lmdb data/library.

@lfoppiano do you have maybe some ideas how to ensure arm64 compatibility without too much effort/pain ?

lfoppiano commented 1 year ago

I think that we can build the docker image on linux, and test if it works with a arm64 host using the current knowledge base resources for linux/amd64.