[squid-users] Trying to compile Squid-4 under OpenBSD 5.9
C. L. Martinez
carlopmart at gmail.com
Fri Aug 12 07:45:16 UTC 2016
Hi all
I would like to some tests with squid-4 under my OpenBSD 5.9 hosts. But when I launch configure:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... cfgaux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... plaintar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking build system type... x86_64-unknown-openbsd5.9
checking host system type... x86_64-unknown-openbsd5.9
configure: CPU arch native optimization enabled: no
checking simplified host os... openbsd (version 5.9)
checking whether c++ supports C++11 features by default... no
checking whether c++ supports C++11 features with -std=c++11... no
checking whether c++ supports C++11 features with -std=c++0x... no
configure: error: *** A compiler with support for C++11 language features is required.
My configure options are:
./configure --prefix=/opt/squid --disable-strict-error-checking --disable-arch-native --enable-ssl-crtd --disable-loadable-modules --enable-arp-acl --enable-auth --enable-delay-pools --enable-follow-x-forwarded-for --enable-forw-via-db --enable-http-violations --enable-icap-client --enable-ipv6 --enable-referer-log --enable-removal-policies="lru heap" --enable-ssl --with-openssl --enable-storeio="aufs ufs" --with-default-user="_squid" --with-filedescriptors=8192 --with-krb5-config=no --with-pidfile="/var/run/squid.pid" --with-pthreads --with-swapdir=/var/squid/cache --sysconfdir=/etc/squid --localstatedir=/var/squid --disable-pf-transparent --enable-ipfw-transparent
Do I need to pass another option?
Thanks.
--
Greetings,
C. L. Martinez
More information about the squid-users
mailing list