<p>Hi, I have the same problem (trying to compile on FreeBSD 10.2-RELEASE).</p>
<p>I could go past step 1) by doing this.</p>
<pre><code>$ ./configure CFLAGS="-I/usr/local/include"
$ make CFLAGS="-I/usr/local/include"
</code></pre>
<p>However I didn't know how to fix the other problems. The next one I got was:</p>
<pre><code>src/gen_tile_test.cpp:101:33: error: use of undeclared identifier 'SYS_gettid'
unsigned int seed = syscall(SYS_gettid);
^
src/gen_tile_test.cpp:588:17: error: use of undeclared identifier 'WEXITSTATUS'
ret = WEXITSTATUS(ret);
^
src/gen_tile_test.cpp:595:17: error: use of undeclared identifier 'WEXITSTATUS'
ret = WEXITSTATUS(ret);
^
src/gen_tile_test.cpp:602:17: error: use of undeclared identifier 'WEXITSTATUS'
ret = WEXITSTATUS(ret);
^
4 errors generated.
</code></pre>
<p>If you managed to correct all the errors, maybe you could create a fork with your changes?<br>
And maybe make a pull request?<br>
I'd find it very useful.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/mod_tile/issues/114#issuecomment-153210703">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7sBrLrF6SQF_8v3LjPqcHNbz_OhVks5pCAO0gaJpZM4GT8pe.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/mod_tile/issues/114#issuecomment-153210703"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>