Chris Robertson wrote:
> Omer Khalid wrote:
>> Hi,
>>
>> I am trying to configure squid 2.6 on my server with the following
>> configure options:
>>
>> [root_at_lxb] ./configure
>
> Good so far, but...
>
>> --prefix=%(prefix)s
>
> That's a problem. "%(prefix)s" is not a valid path. It looks like a
> variable that would normally be replaced in a build script.
Only if it contains a $ though. Weird that it would have % there.
Perhapse it as cut-n-pasted from an example crafted to catch people out
in just this way. Or maybe just a lucky typo.
>> --enable-poll --enable-snmp
>> --enable-removal-policies="heap,lru"
>> --enable-storeio="aufs,coss,diskd,null,ufs" --enable-ssl
>> --with-openssl=%(prefix)s
>
> Same story with this one.
>
>> --enable-delay-pools
>> --enable-linux-netfilter --with-pthreads --enable-useragent-log
>> --enable-referer-log --disable-dependency-tracking
>> --enable-underscores --enable-cache-digests --with-large-files
>> --enable-fd-config --enable-follow-x-forwarded-for
>>
>> But its constantly complaining about a syntax error: syntax error near
>> unexpected token `('
>>
>> I am copying these options from a website and not sure what's wrong!
>>
>
> Try a "./configure --help" and read through what options are available.
> Perhaps you don't need all of the options you have copied. Since you
> are going through the trouble of compiling the software yourself, tune
> it to your needs. If you aren't sure what those needs are, tell the
> list what your goals are for Squid, and ask for some advice.
>
Also when building Squid yourself please make sure you are building a
current release. 2.6 is getting old.
Amos
-- Please use Squid 2.7.STABLE4 or 3.0.STABLE9Received on Thu Oct 09 2008 - 09:23:33 MDT
This archive was generated by hypermail 2.2.0 : Fri Oct 10 2008 - 12:00:02 MDT