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

From: Elsen Marc <elsen@dont-contact.us>
Date: Wed, 12 Jan 2005 07:49:02 +0100

 
>
> 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.
    
Received on Tue Jan 11 2005 - 23:50:05 MST

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