Couldn't compile nginx with ngx_http_upstream_hash_module on Ubuntu

Kailuo Wang 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:
>
> ngx_addon_name=ngx_http_upstream_hash_module
> 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...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20140104/c2cab193/attachment.html>


More information about the nginx-devel mailing list