E
E
edik892016-10-19 18:53:41
linux
edik89, 2016-10-19 18:53:41

How to add a module to nginx?

Ubuntu 12.04. I'm trying to install nginx, I run the ./configure command and add the module I need --add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-echo to it. Gives an error: no /build/buildd/nginx-1.1.19/debian/modules/nginx-echo/config was found. A similar error occurs when trying to add any module. What can be wrong?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey, 2016-10-19
@alsopub

Does the /build/buildd/nginx-1.1.19/debian/modules/nginx-echo/config file actually exist or not?
Is there a typo in the second buildd folder?

V
Vadim Misbakh-Soloviev, 2016-10-20
@mva

In that you need to specify the path to the directory where the "config" file of the module you need is located

A
Alexey, 2017-01-31
@alcyone

You have an error in the path syntax, you specified /build instead of the local ./build directory (I doubt that you have a build directory at the root).
Don't use relative paths. They are evil and often fail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question