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

Yuri Voinov yvoinov at gmail.com
Fri Jan 29 18:05:29 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
'--with-large-files'

are antagonist for

'build_alias=x86_64-linux-gnu'


If you use 64-bit native os, you already have large files.....

and

'--enable-async-io=8'

is tooooooo low for real system with

'--with-filedescriptors=65536'

.

And, of course,

'--with-open-ssl=/etc/ssl/openssl.cnf'

is wrong parameter. Must be:

'--with-openssl'

with specified library dir if need.

You really sure you understand all of specified config parameters and
they satisfy your real needs?

For example,

'--enable-zph-qos'

?

You really configure QoS on your active network equipment?


29.01.16 21:26, L.P.H. van Belle пишет:
>>> ## 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
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJWq6noAAoJENNXIZxhPexGcEoIAKebR5H1Lz1cBcA0pmDxs1m7
4Cf1ycZNp9yRcTR10ttsQLvLWslq0Rxbz/IUSLfK+yuWZCd+wewc1D3uR/iFw0Ny
wrdDx0GlLfJiS4oGopP4LKTMNBC0FwbXcLuzd5f2Q5TxN8iitnME0+1i4+x4hbWk
ek82P9OM/gHLaHLib+Mk68IZbo2jwTCU0HkJ8/id0DuepEq1UMbJGgqzcfZuGMP2
nfAt58sWISDdqteOwA4ETQ5rpw3AkEPrsG13k2z2pr9zZN9WX9eyLMiutBak1qnK
Cu0YhNmULQRw7dsshwzQxLWHgcXqvITELYfyuQNPIqNN9m8kuJFJ20nolJghZA0=
=+FY/
-----END PGP SIGNATURE-----




More information about the squid-users mailing list