[squid-users] Trying to compile Squid-4 under OpenBSD 5.9
C. L. Martinez
carlopmart at gmail.com
Fri Aug 12 14:28:46 UTC 2016
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 at obsdprxy01:~# whereis g++
/usr/bin/g++
root at 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?
--
Greetings,
C. L. Martinez
More information about the squid-users
mailing list