Install: fatal error: term.h: No such file or directory
Blfrg opened this issue · 2 comments
Blfrg commented
When attempting to run brew install eddieantonio/eddieantonio/imgcat
on Ubuntu 22.04 I received the following:
==> Installing eddieantonio/eddieantonio/imgcat
==> ./configure
Last 15 lines from /home/user/.cache/Homebrew/Logs/imgcat/01.configure:
2023-03-14 21:36:24 +0000
./configure
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for term.h... /tmp/conftest.949801.c:1:12: fatal error: term.h: No such file or directory
1 | #include <term.h>
| ^~~~~~~~
compilation terminated.
no
./configure: error: failed to find required header: term.h
npranav7619 commented
Install the package
libncurses5-dev
with sudo apt-get install libncurses5-dev
Blfrg commented
Thank you, @npranav7619; that appears to have resolved the issue!