atom feed10 messages in ru.sysoev.nginxRe: Adding a module, config variables...
FromSent OnAttachments
BjoernAug 20, 2008 4:30 am 
Dawid WęglińskiAug 20, 2008 4:44 am 
Valery KholodkovAug 20, 2008 5:44 am 
Dawid WeglinskiAug 20, 2008 6:01 am 
BjoernAug 20, 2008 6:32 am 
BjoernAug 21, 2008 8:07 am 
Valery KholodkovAug 21, 2008 8:22 am 
Igor SysoevAug 21, 2008 8:24 am 
Igor ClarkAug 26, 2008 9:49 am 
ngin...@public.gmane.orgAug 26, 2008 12:59 pm 
Subject:Re: Adding a module, config variables unknown
From:Bjoern (bjoe@public.gmane.org)
Date:Aug 21, 2008 8:07:18 am
List:ru.sysoev.nginx

Hi,

it seems the absolute path was the problem. My solution is this: cd ~/devel/nginx mkdir src/addons ln -s /home/myuser/data/development/workspace/ngx_mymodule/src/ src/addons/ngx_mymodule ./configure --add-module=src/addons/ngx_mymodule make make install

I don't know why the absolute path doesn't work. The oddest thing is, that everything gets compiled perfectly well and that the binary contains strings containing 'ngx_mymodule', so it's in there. I'm not sure, why the path is relevant after the compile process succeeded... but it seems to be. Can anybody explain this to me, please? Or am I just misinterpreting anything?

Hi, sorry.. That was just the example... I used the absolute path of course... /home/myuser/data/development/workspace/ngx_accesskey/src/ to be exact.

Unfortunately, that's not the problem.

Thanks, Bjoern

Valery Kholodkov wrote:

"Bjoern" <bjoern-enFmgWSrBviHSLxQxksTnAC/G2K4@public.gmane.org> wrote:

Hi everybody, I have a problem adding a module.

I've downloaded and extracted the nginx sources. ~/devel/nginx/

Downloaded the sources of the module called "accesskey". Extracted the files to a folder let's call it ~/devel/ngx_accesskey/src/

cd ~/devel/nginx ./configure --add-module=~/devel/ngx_accesskey/src/

^^^^^^^^^^^^^^^^^^^^^^^^^^ Tilde (~) is not going to be expanded here. Use full path.