ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
5.82k stars 402 forks source link

make install fails on Alpine Linux 3.13 #93

Closed bdutta closed 3 years ago

bdutta commented 3 years ago

The 'make install' command shall most probably fail on a typical Alpine Linux setup, which does not have bash shell by default. If the 'graphviz' package is already installed (if not just do '# apk add graphviz'). On executing 'make install' one sees the following error messages: make: /bin/bash: No such file or directory make: /bin/bash: No such file or directory make: /bin/bash: No such file or directory go install -tags "" -ldflags "-X main.commit=" make: /bin/bash: No such file or directory make: *** [Makefile:22: install] Error 127

bdutta commented 3 years ago

Solution is extremely trivial. Open the Makefile in an editor and modify the line: SHELL = /bin/bash to SHELL = /bin/ash After this change, 'make install' should succeed.