[squid-users] install error on Squid 3.1.6

From: Peipei Wang <wangpeipei.90_at_gmail.com>
Date: Tue, 12 Nov 2013 00:54:27 -0500

Hi all,

Please help me with this installation problem.

I got a problem whiling installing Squid 3.1.6. The configure works
well, but it reports the error message from "make" as follows.

make[3]: Entering directory `/home/peipei/squid/squid-3.1.6/src/auth'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
 -I../.. -I../../include -I../../src -I../../include -I. -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -Werror -fhuge-objects
-D_REENTRANT -g -O2 -MT User.lo -MD -MP -MF .deps/User.Tpo -c -o
User.lo User.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../src -I../../include -I. -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Werror -fhuge-objects -D_REENTRANT -g -O2 -MT User.lo -MD
-MP -MF .deps/User.Tpo -c User.cc -fPIC -DPIC -o .libs/User.o
g++: warning: switch ‘-fhuge-objects’ is no longer supported
User.cc: In static member function ‘static void AuthUser::CachedACLsReset()’:
User.cc:161:17: error: variable ‘username’ set but not used
[-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make[3]: *** [User.lo] Error 1
make[3]: Leaving directory `/home/peipei/squid/squid-3.1.6/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/peipei/squid/squid-3.1.6/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/peipei/squid/squid-3.1.6/src'
make: *** [all-recursive] Error 1

Here is my platform Information:
OS: Ubuntu 12.04.3
gcc: 4.6.3

I also tried under the instructions from
http://wiki.squid-cache.org/SquidFaq/CompilingSquid#Debian.2C_Ubuntu,
but it reports the same problem.

But this error doesn't happen on squid-3.2.3. That means the
dependency libraries are already installed.

Best wishes.
Yours,
Wang Peipei
Received on Tue Nov 12 2013 - 05:54:42 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 12 2013 - 12:00:06 MST