[squid-users] Squid 3.5.13 transparent compiling fails with ubuntu 14.04 server

L.P.H. van Belle belle at bazuin.nl
Fri Jan 29 15:26:24 UTC 2016


> > ## 2) we added --enable-ssl , --with-open-ssl=/etc/ssl/openssl.cnf,
> 
> Neither of which is a valid ./configure option for Squid.

Not ? works perfect on debian. 
I took my info from : 
http://www.tonmann.com/2015/04/compile-squid-3-5-x-under-debian-jessie/


And these are the all the debian configure options. 

squid -v
Squid Cache: Version 3.5.12
Service Name: squid
Debian linux
configure options:  '--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/squid3' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' 'BUILDCXXFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fPIE -pie -Wl,-z,relro -Wl,-z,now' '--datadir=/usr/share/squid' '--sysconfdir=/etc/squid' '--libexecdir=/usr/lib/squid' '--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,unix_group,wbinfo_group' '--enable-url-rewrite-helpers=fake' '--enable-eui' '--enable-esi' '--enable-icmp' '--enable-zph-qos' '--enable-ecap' '--disable-translation' '--with-swapdir=/var/spool/squid' '--with-logdir=/var/log/squid' '--with-pidfile=/var/run/squid.pid' '--with-filedescriptors=65536' '--with-large-files' '--with-default-user=proxy' '--enable-ssl' '--with-open-ssl=/etc/ssl/openssl.cnf' '--enable-build-info=Debian linux' '--enable-linux-netfilter' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -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 -fPIE -fstack-protector-strong -Wformat -Werror=format-security'


> > ##    --enable-linux-netfilter' to the debian/rules in squid.
> >
> 
> Netfilter is a built-in part of Linux and auto-enabled by Squid. No need
> to build specially for it.
Thank for this one, i'll test that out with 3.5.13 when its in debian SID.


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] Namens
> Amos Jeffries
> Verzonden: vrijdag 29 januari 2016 15:21
> Aan: squid-users at lists.squid-cache.org
> Onderwerp: Re: [squid-users] Squid 3.5.13 transparent compiling fails with
> ubuntu 14.04 server
> 
> On 30/01/2016 2:26 a.m., L.P.H. van Belle wrote:
> > This works on a debian Jessie, so to adapt this for ubuntu 14.04 should
> be simple.
> >
> > Have a look whats doen here, and change it to Ubuntu.
> >
> >
> >
> > I’ve put : ## CHECK THIS for Ubuntu  where you need to check things for
> Ubuntu.
> >
> >
> >
> > And with the check this, look at the version numbers and change
> accordingly.
> >
> >
> >
> > Greetz,
> >
> >
> >
> > Louis
> >
> >
> >
> >
> >
> > #!/bin/bash
> >
> >
> >
> > ## TEST DATE : 25-01-2016.
> >
> > ## a local (file) repo is setup,
> >
> > ## to make squid 3.5.12 from Debian SID work on Debian Jessie, the
> following ## is needed.
> >
> > ## 1) libecap dependes on GCC 5.2, this is changed to 4.9 (Jessie
> version) ## (debian/control)
> >
> > ## 2) we added --enable-ssl , --with-open-ssl=/etc/ssl/openssl.cnf,
> 
> Neither of which is a valid ./configure option for Squid.
> 
> >
> > ##    --enable-linux-netfilter' to the debian/rules in squid.
> >
> 
> Netfilter is a built-in part of Linux and auto-enabled by Squid. No need
> to build specially for it.
> 
> 
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list