uoregon-libraries / rais-image-server

RAIS: A IIIF-compliant, 100% open source image server for blazing-fast deep zooming
Creative Commons Zero v1.0 Universal
78 stars 6 forks source link

build fails #45

Closed jefke-glider closed 1 year ago

jefke-glider commented 1 year ago

i am trying to build the rais-server, but i got an error: jpe@srv1:~/rais-image-server$ make go run src/transform/generator.go go fmt src/transform/rotation.go src/transform/rotation.go go generate rais/src/version go build -ldflags="-s -w" -buildmode=plugin -o bin/plugins/json-tracer.so rais/src/plugins/json-tracer build rais/src/plugins/json-tracer: cannot load io/fs: malformed module path "io/fs": missing dot in first path element make: *** [Makefile:74: bin/plugins/json-tracer.so] Error 1

jefke-glider commented 1 year ago

ok, i have go version 1.13.8, maybe that;s the reason. gone have to compile it manually....

jechols commented 1 year ago

I can reproduce this with Go 1.13. RAIS definitely needs a newer go version. Grabbing the latest Go shouldn't require much manual work, though - you basically download the latest binary package available for your system, extract it, and run it. (See the official download page)

jechols commented 1 year ago

If you're using Linux, you can probably follow along with the info on the Installation page of the RAIS wiki. Let me know if that doesn't work, though - I just updated it to reflect the latest Go version since Go is almost 100% backward-compatible, but not always forward-compatible.

jefke-glider commented 1 year ago

worked like a charm now. I am using rais-server in combination with Omeka-S! Thanks for the project.

jechols commented 1 year ago

Glad to hear it!