Reputation: 369
I try to install nginx with nginx-push-stream-module
./configure --prefix=/etc/nginx --add-module=../nginx-push-stream-module
make
make install
After I run 'make', I got this message:
In file included from src/core/ngx_crypt.c:12:0:
src/core/ngx_sha1.h:19:17: fatal error: sha.h: No such file or directory
#include <sha.h>
^
compilation terminated.
Upvotes: 1
Views: 1152
Reputation: 26
I resolved this issue on Ubuntu by installing openssl libs:
sudo apt-get install openssl openssl-dev
Then did a make clean and:
./configure --add-module=../nginx-push-stream-module
and run make again.
Upvotes: 1