Re: [squid-users] Fwd: Failing to Configure Squid 2.6...

From: Chris Robertson <crobertson_at_gci.net>
Date: Thu, 09 Oct 2008 15:18:53 -0800

Amos Jeffries wrote:
> 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.
>
>

For what it's worth, SPEC files for building RPMs use % as the variable
identifier. Here's a snippet from a 2.6 STABLE9 SPEC file:

%configure \
   --exec_prefix=/usr \
   --bindir=%{_sbindir} \
   --libexecdir=%{_libdir}/squid \

>
> Amos

Chris
Received on Thu Oct 09 2008 - 23:19:15 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 10 2008 - 12:00:02 MDT