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
Making all in compat
depbase=`echo assert.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool --tag=CXX --mode=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 $depbase.Tpo -c -o assert.lo assert.cc && mv -f $depbase.Tpo $depbase.Plo
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>
^
1 error generated.
*** [assert.lo] Error code 1
Stop in /usr/home/wash/Tools/Squid/4.x/squid-4.0.9/compat.
*** [all-recursive] Error code 1
Stop in /usr/home/wash/Tools/Squid/4.x/squid-4.0.9.
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:)
Below are my configure options:
env CPPFLAGS=-I/usr/local/include CC=clang CXX=clang++ ./configure --prefix=/opt/squid-4 \
--enable-removal-policies="lru heap" \
--disable-epoll \
--enable-auth \
--enable-auth-basic="DB NCSA PAM PAM POP3" \
--with-pthreads \
--enable-storeio="ufs diskd aufs" \
--enable-delay-pools \
--enable-snmp \
--with-openssl=/usr \
--enable-forw-via-db \
--enable-cache-digests \
--enable-wccpv2 \
--enable-follow-x-forwarded-for \
--with-large-files \
--enable-large-cache-files \
--enable-esi \
--enable-kqueue \
--enable-icap-client \
--enable-kill-parent-hack \
--enable-ssl \
--enable-ssl-crtd \
--enable-url-rewrite-helpers \
--enable-xmalloc-statistics \
--enable-eui \
--enable-zph-qos \
--with-nat-devpf \
--enable-pf-transparent \
--without-mit-kerberos \
--without-heimdal-kerbers \
--without-gssapi-kerberos
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