Claire
Claire

Reputation: 41

./configure: No such file or directory - build nginx-rtmp-module on Mac OS X

I'm trying to build nginx-rtmp-module using

./configure --add-module=/path/to/nginx-rtmp-module

in the Nginx source directory.

However, the terminal prints out " ./configure: No such file or directory" .

Can anyone help me fix this problem?

Upvotes: 4

Views: 6130

Answers (1)

Pit
Pit

Reputation: 11

It is because you are trying to execute the script configure from the current directory ./. Either you need to move to the directory where the script is (The nginx install folder that you have downloaded, for example nginx-1.8.1) or you can put in the whole path of the script /home/username/nginx-1.8.1/configure

If you didn't understand, just follow this tutorial step by step and everything should be fine ;) https://blog.100tb.com/how-to-set-up-an-rtmp-server-on-ubuntu-linux-using-nginx

Upvotes: 1

Related Questions