Re: [squid-users] Re: How to upgrade a running Squid 3.1.12 to a newer version ? (SLES 11)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 26 Jan 2014 13:23:28 +1300

On 26/01/2014 12:30 a.m., 4eversr wrote:
> I recovered my virtual machine to a snapshot where no squid was installed and
> then tried to install squid 3.4.2 equal to the steps babajaga provided
> before.
>
> But the "make" command throws errors this time, when i use the squid 3.4.2
> package:
>
> cc1plus: warnings being treated as errors
> Inquirer.cc: In member function 'virtual void Mgr::Inquirer::start()':
> Inquirer.cc:90: error: 'auto_ptr' is deprecated (declared at
> /usr/include/c++/4.3/backward/auto_ptr.h:91)
> make[3]: *** [Inquirer.lo] Fehler 1
> make[3]: Leaving directory `/tmp/squid-3.4.2/src/mgr'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/tmp/squid-3.4.2/src'
> make[1]: *** [all] Fehler 2
> make[1]: Leaving directory `/tmp/squid-3.4.2/src'
> make: *** [all-recursive] Fehler 1
>
> When i look at the error messages i guess the "auto_ptr" package must be
> updated to run "make" successfully, but how ?

You need a different version of the GCC compiler. That is a bug in the
compiler headers upgrade for C++11 support. Going up to the next versino
where it is fixed, or down to the version before the change was added
should fix this.

Amos
Received on Sun Jan 26 2014 - 00:23:33 MST

This archive was generated by hypermail 2.2.0 : Sun Jan 26 2014 - 12:00:06 MST