Re: [squid-users] Re: problem building squid 3.1 from source...(right list?)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 13 Jan 2010 12:05:12 +1300

Linda Walsh wrote:
> Amos Jeffries wrote:
>> Linda Walsh wrote:
>>> I'm getting an error that 'AIO' isn't found (I'm specifying
>>> aio on the command line as I have libaio installed.
>>
>> Exactly what ./configure command line?
>
> configure --enable-disk-io="AIO,Blocking,DiskDaemon,DiskThreads"
> --enable-async-io=8 --enable-storeio="aufs,coss,diskd,ufs"
> --enable-removal-policies="heap,lru" --enable-icmp --disable-htcp
> --enable-ssl --enable-linux-netfilter --enable-ipf-transparent
> --disable-ident-lookups
> --enable-external-acl-helpers="ip_user,ldap_group,mswin_lm_group,session,unix_group,wbinfo_group"
> --with-dl --with-large-files --prefix=/usr --libdir=/usr/lib64
> --docdir=/usr/share/doc

That looks fine.

>
>
>>
>> ufs is the older slower alternative you should still be able to use
>> while the AIO problem is being resolved. When AIO is working you can
>> switch between the two without any problem or loss of cache.
> ---
> I'm not totally w/o... Current is (using SuSE's package
> nomenclature) squid3-3.0.STABLE10-2.12.
>
> I'm trying to build squid-3.1.0.15.
>
>
>> Do you have the development version of the libraries installed?
>> "libaio-dev" or something like that.
> ---
> As near as I can tell :-)..
>> rpm -qa|grep aio
> libaio-devel-0.3.104-104.51
> libaio-0.3.104-104.51
>

Okay, so I'll assume that is all there and should be working.

>
>>
>> According to redbot.org that website is breaking the HTTP protocol.
> ---
> Will have to see if I can let them know. Tried email, but
> no answer (I've had emails sent from their site 'bot', never
> reach me, so they may have email problems as well). Hadn't heard of
> 'redbot.org' before. Will have to bookmark it. It's report isn't as
> concise or informative as your summary. :-)
>
>> "3.0.10" being 3.0.STABLE10 ?
>
> Yes...I didn't realize STABLE was part of the version string.
> Thought it was something SuSE added (since 3.1.0.15 doesn't say
> 3.1-BETA15...:-) )

We had a naming change in 3.1. Hopefully 3.0 will be the last one with
text in the numbers. :)

>
> So if I see it in the DiskIO dir, ...
>
>> ls
> AIO/ DiskFile.h DiskIOStrategy.h modules.sh*
> WriteRequest.cc
> Blocking/ DiskIOModule.cc DiskThreads/ ReadRequest.cc
> WriteRequest.h
> DiskDaemon/ DiskIOModule.h IORequestor.h ReadRequest.h
>
> I should be able to specify it in the config? Am I creating some other
> conflict?

configure line looks right and the message you saw showed it should be
detected.
Could you email me the full config.log generated by configure as its run
please? (will have to be private, the list bounces attachments)

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE21
   Current Beta Squid 3.1.0.15
Received on Tue Jan 12 2010 - 23:05:19 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 13 2010 - 12:00:03 MST