[squid-users] Squid 3.5.6 build switches seem to not work.

Amos Jeffries squid3 at treenet.co.nz
Fri Jul 10 03:42:23 UTC 2015


On 10/07/2015 6:43 a.m., Tory M Blue wrote:
> I had my build scripts working with the 3.5 betas, but i've switched over
> to the mainline and I'm getting a ton of invalid switches.
> 
> So far I've had to comment out the following, as I'm getting errors such as
> 
> config.status: executing libtool commands
> 
> + --enable-snmp --enable-storeio=aufs,diskd,ufs,rock --enable-wccpv2
> --enable-esi --enable-ssl --enable-ssl-crtd --enable-icmp --with-aio
> --with-default-user=squid --with-filedescriptors=16384 --with-dl
> --with-openssl --with-pthreads --with-included-ltdl --disable-arch-native
> --without-nettle
> 
> /var/tmp/rpm-tmp.Gsh6Y6: line 80: --enable-snmp: command not found

Looks to me like you are missing an '\' character at the end of what is
supposed to be a wrapped line.

> 
> error: Bad exit status from /var/tmp/rpm-tmp.Gsh6Y6 (%build)
> 
>    #--enable-cache-digests \

Lines ike this will cause the above problem. Sine comments are not
naturally wrapped in shell code.

To remove an option from your list properly delete it.

In cases where I need a record of the previous, I use version control,
or make a long comment of the whole original shell code line(s).


> Here is my configure statements (again the comments are all new as I was
> trying to figure out what was going on..)
> 

...
> 
>    --enable-auth \

--enable-auth is not useful anymore. Its auto-enabled by default, and
using any of the --enable-auth-* sub-options is equivalent to forcing it
fully on like this anyway.

...
> 
>    --enable-ssl \
> 

--enable-ssl is no longer existing in 3.5. --with-openssl replaced it.


Amos


More information about the squid-users mailing list