<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">We are trying to make a custom build of nginx with this <a href="http://wiki.nginx.org/HttpUpstreamRequestHashModule" target="_blank">upstream_hash </a>module, we had success on MacOSX but couldn't repeat it on Ubuntu 13.04:</div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">When I run ./configure --add-module=../nginx_upstream_hash, I got the following message before it's terminated:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">

<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">adding module in ../nginx_upstream_hash<br>./configure: 4: .: Can't open auto/have</blockquote>

<div><br></div><div>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:</div><div><br></div><pre style="white-space:pre-wrap;font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);line-height:18px">

<div style="padding-left:10px">ngx_addon_name=ngx_http_upstream_hash_module</div><div style="padding-left:10px">HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_hash_module"</div>
<div style="padding-left:10px">NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_hash_module.c"</div></pre><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px">  have=NGX_HTTP_UPSTREAM_HASH . auto/have</span> </div>

<div><br></div><div><br></div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I've been stuck here for hours and will really appreciate if anyone can point me in direction of possible solutions. </div>

<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thanks very much in advance!</div></div></div>
</blockquote></div><br></div></div>