LWN-Simulator icon indicating copy to clipboard operation
LWN-Simulator copied to clipboard

Statik is an unmentioned requirement

Open thayol opened this issue 11 months ago • 0 comments

While running $ make build I encountered the following problem:

Building the LWN Simulator
Building the User Interface
/bin/sh: line 1: statik: command not found
make: *** [Makefile:8: build] Error 127

It's interesting because I ran $ make install-dep and I've even tried to just run go install github.com/rakyll/statik by itself but it did not give me a globally available command.

I've resolved the problem on two systems via two different solutions:

  • Fedora 39: sudo dnf install golang-github-rakyll-statik
  • Debian 11: sudo apt update && sudo apt install golang-statik

I think the most sensible solution would be to list the tool as a requirement (or export the one installed by make install-dep to PATH)

thayol avatar Feb 29 '24 18:02 thayol