Closed elhackeado closed 1 month ago
I was able to resolve the issue. It seems you have to explicitly install the m4 using brew install m4
and set m4 in your PATH echo 'export PATH="/opt/homebrew/opt/m4/bin:$PATH"' >> ~/.zshrc
.
Restart the terminal and then try running luarocks install http
again. This should resolve the issue.
I was able to resolve the issue. It seems you have to explicitly install the m4 using
brew install m4
and set m4 in your PATHecho 'export PATH="/opt/homebrew/opt/m4/bin:$PATH"' >> ~/.zshrc
.
Is there no m4
in /opt/homebrew/bin
?
In any case, this is not a lua-http issue: it's a cqueues installation issue caused by either a brew misconfiguration or brew bug.
I am trying to install lua-http library using
luarocks install http
and getting some m4 error. I am using Apple Silicon M2 Pro. I was able to reproduce this issue on multiple Apple Silicon systems. I seems like one of the cqueues dependency have some issue with m4. Here's the full error log forluarocks install http