[Slackbuilds-users] Can't compile Squid

Helmut Hullen Hullen at t-online.de
Fri Nov 2 07:22:00 UTC 2012


Hallo, Niki,

Du meintest am 02.11.12:

> I'm currently upgrading our school's server (running Squid and
> SquidGuard) from Slackware 13.37 to 14.0.

> Unfortunately Squid fails to build. The compilation exits with the
> following error messages (which I paste as a whole, since I don't
> quite understand what's happening):

> --8<-------------------------------------------------------
> g++: warning: switch '-fhuge-objects' is no longer supported
> libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include

[...]


I've compiled Squid-3.2.3, seems to run without problems.

Compiling options:

Squid Cache: Version 3.2.3
configure options:  '--prefix=/usr' '--libdir=/usr/lib' '--sysconfdir=/
etc/squid' '--localstatedir=/var/log/squid' '--datadir=/usr/share/squid'
'--with-pidfile=/var/run/squid' '--mandir=/usr/man' '--with-logdir=/var/
log/squid' '--enable-snmp' '--enable-auth' '--enable-basic-auth' '--
enable-auth-digest' '--enable-linux-netfilter' '--enable-async-io' '--
enable-ssl' '--build=i486-slackware-linux' '--disable-strict-error-
checking' 'build_alias=i486-slackware-linux' 'CFLAGS=-O2 -march=i486 -
mtune=i686' 'CXXFLAGS=-O2 -march=i486 -mtune=i686' 'PKG_CONFIG_PATH=/
usr/local/lib/pkgconfig:/usr/lib/pkgconfig'


As you can see: few changes in the script from David Somero:

 --enable-auth --enable-basic-auth --enable-auth-digest

makes helpers etc. for all possibilities (see the output of "configure
--help")

and

 --enable-ssl

seems to be forgotten.

I use "heimdal-1.5.1" too.

-----------------------------

I've used the packet

   http://slackbuilds.org/slackbuilds/14.0/network/squid.tar.gz

from

   http://slackbuilds.org/repository/14.0/network/squid/

That leads to

   http://arktur.shuttle.de/CD/5.4/slack/n1/squid-3.2.3-i486-3hln.tgz

Viele Gruesse!
Helmut


More information about the SlackBuilds-users mailing list