On 13/08/2016 2:28 a.m., C. L. Martinez wrote: > On Sat 13.Aug'16 at 2:18:50 +1200, Amos Jeffries wrote: >> On 12/08/2016 7:45 p.m., C. L. Martinez wrote: >>> 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 >> >> You have a C compiler ... >> >>> 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. >>> >> >> ... but no C++ compiler it seems. >> >> Amos >> > > Nop, that is not right. I have a C++ compiler: > > root@obsdprxy01:~# whereis g++ > /usr/bin/g++ > root@obsdprxy01:~# > > I think the problem is with gcc version: > > Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd5.9/4.2.1/specs > Target: amd64-unknown-openbsd5.9 > Configured with: OpenBSD/amd64 system compiler > Thread model: posix > gcc version 4.2.1 20070719 > > .. could it be the problem? > Yes GCC 4.9 is the minimum g++ version required to build Squid-4. Preferrably GCC 5+ if you can though. Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users