[squid-users] Compile SQUID 5.1 on Debian 10

Loučanský Lukáš Loucansky.Lukas at kjj.cz
Wed Aug 4 10:55:14 UTC 2021


Hello,
I was going to run ./configure and make all for a freshly downloaded Squid 5.1 on my current Squid 4.x rig, which  so far goes all right with Squid 4.x. The configure script went without errors, but make all stops on the missing tests directory in the src/icmp, src/tools and src/tools/squidclient. After creating the tests dirs in the named directories - the make all script went on.

My configure call runs like this:

./configure --build=x86_64-linux-gnu \
--prefix=/usr \
--includedir=${prefix}/include \
--mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=${prefix}/lib/squid5 \
--srcdir=. \
--disable-maintainer-mode \
--disable-dependency-tracking \
--disable-silent-rules \
--datadir=/usr/share/squid5 \
--sysconfdir=/etc/squid5 \
--mandir=/usr/share/man \
--enable-inline \
--disable-arch-native \
--enable-async-io=8 \
--enable-storeio=ufs,aufs,diskd,rock \
--enable-removal-policies=lru,heap \
--enable-delay-pools \
--enable-cache-digests \
--enable-icap-client \
--enable-follow-x-forwarded-for \
--enable-auth-basic=DB,fake,getpwnam,LDAP,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB \
--enable-auth-digest=file,LDAP \
--enable-auth-negotiate=kerberos,wrapper \
--enable-auth-ntlm=fake,SMB_LM \
--enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,time_quota,unix_group,wbinfo_group \
--enable-url-rewrite-helpers=fake \
--enable-security-cert-validators=fake \
--enable-storeid-rewrite-helpers=file \
--enable-eui \
--enable-esi \
--enable-icmp \
--enable-zph-qos \
--enable-ecap \
--enable-snmp \
--disable-translation \
--with-swapdir=/var/spool/squid5 \
--with-logdir=/var/log/squid5 \
--with-pidfile=/var/run/squid5.pid \
--with-filedescriptors=65536 \
--with-large-files \
--with-default-user=proxy \
--with-openssl \
--enable-ssl-crtd \
--enable-security-cert-generators \
--enable-security-cert-validators \
--enable-linux-netfilter \
'PKG_CONFIG_PATH=:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig' \
'CFLAGS=-g -O2 -m64 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall' \
'LDFLAGS=-fPIE -pie -Wl,-z,relro -Wl,-z,now' \
'CPPFLAGS=-D_FORTIFY_SOURCE=2' \
'CXXFLAGS=-g -O2 -m64 -fPIE -fstack-protector-strong -Wformat -Werror=format-security'

Could not find anything about this at http://www.squid-cache.org/Versions/v5/squid-5.1-RELEASENOTES.html#s4 - Do I need to create these dirs myself / eg. missing by source code or by make script?
LL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210804/c66d9bcc/attachment.htm>


More information about the squid-users mailing list