Re: [squid-users] Building with LFUDA replacement policy

From: Oliver Hookins <ohookins@dont-contact.us>
Date: Thu, 13 Jan 2005 09:10:37 +1100

Elsen Marc wrote:
>
>
>>I'm trying to build 2.5STABLE7 with LFUDA. The configure
>>script suggests
>>it is available, although there is no directory for LFUDA under
>>src/repl. My configure line is as follows:
>>
>>./configure --program-prefix= --prefix=/usr --exec-prefix=/usr
>>--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
>>--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
>>--libexecdir=/usr/libexec --localstatedir=/var
>>--sharedstatedir=/usr/com
>>--mandir=/usr/share/man --infodir=/usr/share/info --exec_prefix=/usr
>>--bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var
>>--sysconfdir=/etc/squid --enable-poll --enable-snmp
>>--enable-removal-policies=heap,lru,lfuda
>>--enable-storeio=aufs,coss,diskd,null,ufs --enable-ssl
>>--with-openssl=/usr/kerberos --enable-delay-pools
>>--enable-linux-netfilter --with-pthreads
>>--enable-basic-auth-helpers=LDAP,NCSA,PAM,SMB,SASL,MSNT
>>--enable-ntlm-auth-helpers=SMB,winbind
>>--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wb
>>info_group,winbind_group
>>--enable-auth=basic,ntlm --with-winbind-auth-challenge
>>--enable-useragent-log --enable-referer-log
>>
>>Sure enough my build fails at:
>>
>>make[4]: *** No rule to make target `liblfuda.a', needed by
>>`all-am'. Stop.
>>
>>Nothing jumps out at me from searching the list archive for
>>LFUDA. Does
>>it still exist? Are you required to grab the LFUDA code from
>>somewhere
>>else? Do you configure Squid to use LFUDA in another way?
>>There doesn't
>>seem to be documentation suggesting anything other than what
>>I am doing.
>>
>
>
> Lfuda is an option of the 'heap' replacement policies.
> So :
>
> --enable-removal-policies=heap
>
> will be sufficient to use it.
>
> BTW : do you need all these configure options ?
> Advise , use only those which you need.
>
> M.

Ah... I wonder where I saw the LFUDA configure option then? I'll give
that a go. Yes I need all of those configure options - I'm replacing
Squid on a Redhat box so I'm using the configure options the previous
RPM version had.

Regards,
Oliver
Received on Wed Jan 12 2005 - 15:13:58 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST