T
T
Toopie2018-07-19 02:05:55
Nginx
Toopie, 2018-07-19 02:05:55

Lua is not installed on nginx - what to do?

Hello. Decided to install Lua on Ubuntu 14.04.
I put it on this post: https://toster.ru/answer?answer_id=270406#answers_...
The error is this...
I got to the last point (./configure, make), I prescribe:

./configure --prefix=/opt/nginx --conf-path=/opt/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-http_ssl_module --add-module=/home/ubuntu/lua-nginx-module-0.9.6 --add-module=/home/ubuntu/ngx_devel_kit-0.2.19

Issues:
./configure: error: no /home/ubuntu/lua-nginx-module-0.9.6/config was found

Next, I start writing make:
[email protected]e-server:~/luajit-2.0/nginx-1.4.7# make -j2
make: *** No rule to make target `build', needed by `default'.  Stop.
[email protected]:~/luajit-2.0/nginx-1.4.7# make install
make: *** No rule to make target `install'.  Stop.

What to do here? I don’t understand at all what and how ...
Answer:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Tsvetkov, 2018-07-19
@yellow79

 It says the file was not found. 99% that the reason is that they simply copied what is written in the manual. This is the part that confuses me /home/ubuntu/ Write ~/
instead
And wherever it occurs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question