I'm on Ubuntu 17.04 x64, and when I try to sudo luarocks install nn, I get the following error:
Installing https://luarocks.org/nn-1.0.4-1.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.1 -c lnn.c -o lnn.o
lnn.c:4:23: fatal error: nanomsg/nn.h: No such file or directory
#include<nanomsg/nn.h>
^
compilation terminated.
Error: Build error: Failed compiling object lnn.o
I guess that gcc is looking for a file it doesn't have and somehow luarocks fails to copy it to a place where gcc could find it.
What should I do? Am I missing something obvious?
I'm on Ubuntu 17.04 x64, and when I try to
sudo luarocks install nn, I get the following error:I guess that
gccis looking for a file it doesn't have and somehowluarocksfails to copy it to a place wheregcccould find it.What should I do? Am I missing something obvious?