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