<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 21 April 2016 at 21:52, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 22/04/2016 6:12 a.m., Odhiambo Washington wrote:<br>
> Hi Amos,<br>
><br>
> I have just now succeeded in compiling squid-4.0.9 on FreeBSD 10.3 and I'm<br>
> even able to run it.<br>
> The server I am testing on serves about 20 users. It's been successfully<br>
> running 3.5.x (upgraded to 3.5.17 today).<br>
><br>
> On my other server that is FreeBSD-9.3 (the one I upgraded recently from<br>
> 8.4) I still get stuck at a point, but hopefully someone could help me out:<br>
><br>
> [wash@gw ~/Tools/Squid/4.x/squid-4.0.9]$ make<br>
<br>
<br>
</span><span class="">> libtool: compile:  clang++ -DHAVE_CONFIG_H -I.. -I../include -I../lib<br>
> -I../src -I../include -I/usr/local/include -I../libltdl -I/usr/include<br>
> -I/usr/local/include/libxml2 -I/usr/local/include<br>
> -I/usr/local/include/libxml2 -Werror -Qunused-arguments<br>
> -Wno-deprecated-register -D_REENTRANT -I/usr/local/include -g -O2<br>
> -march=native -std=c++11 -I/usr/local/include -MT assert.lo -MD -MP -MF<br>
> .deps/assert.Tpo -c assert.cc  -fPIC -DPIC -o .libs/assert.o<br>
> In file included from assert.cc:9:<br>
> In file included from ../include/squid.h:43:<br>
> In file included from ../compat/compat.h:70:<br>
> ../compat/types.h:62:10: fatal error: 'cstdint' file not found<br>
> #include <cstdint><br>
>          ^<br>
<br>
</span>This is one of the standard library files. It is required to be present<br>
in C++11 compiler systems. So our configure is not testing for it.<br>
<br>
It would seem clang is not finding the correct C++11 stdlib headers. I<br>
assume you know how and where to check for those?<br></blockquote><div><br></div><div>Heheeee... I wouldn't lie that I know. How do I go about it??</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
><br>
> I have posted my config.log on this link: <a href="http://goo.gl/eH9RcA" rel="noreferrer" target="_blank">http://goo.gl/eH9RcA</a><br>
><br>
> Is there anything obvious from the config.log that makes it impossible to<br>
> install 4.0.9 on the FreeBSD-9.x (i386) branch? If so, then I will abandon<br>
> the attempts to compile:)<br>
<br>
</span>Nothing obvious. It finishes without an error message, so the things you<br>
have required to be built with your ./configure parameters can be used<br>
somehow.<br></blockquote><div><br></div><div>That is comforting.</div><div><br></div><div> </div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">"</span></div></div></div>
</div></div>