mozilla / mig

Distributed & real time digital forensics at the speed of the cloud

Home Page:http://mig.mozilla.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test build failure - readline library

SCMGuruLLC opened this issue · comments

The installation documentation on GitHub does not mention the requirement of the readline library. As a result, a test build fails on Ubuntu 16 LTS and multiple GNU/Linux distros, e.g. CentOS 7. The error follows:

mig.ninja/mig/vendor/github.com/bobappleyard/readline
vendor/github.com/bobappleyard/readline/readline.go:43:31: fatal error: readline/readline.h: No such file or directory
compilation terminated.
Makefile:312: recipe for target 'test' failed
make: *** [test] Error 2

On Ubuntu, the installation of the libreadline-dev package solved the issue.