Couldn't compile nginx with ngx_http_upstream_hash_module on Ubuntu
kailuo.wang at huffingtonpost.com
Sat Jan 4 18:48:39 UTC 2014
> We are trying to make a custom build of nginx with this upstream_hash <http://wiki.nginx.org/HttpUpstreamRequestHashModule>module,
> we had success on MacOSX but couldn't repeat it on Ubuntu 13.04:
> When I run ./configure --add-module=../nginx_upstream_hash, I got the
> following message before it's terminated:
> adding module in ../nginx_upstream_hash
>> ./configure: 4: .: Can't open auto/have
> It seems to be related to the last line of the config file in the
> upstream_hash module. Here is the full content of the config file:
> HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_hash_module"
> NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_hash_module.c"
> have=NGX_HTTP_UPSTREAM_HASH . auto/have
> I've been stuck here for hours and will really appreciate if anyone can
> point me in direction of possible solutions.
> Thanks very much in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel