[squid-users] Need help compiling Custom cache_replacement_policies

From: Chris Sprague <[email protected]>
Date: Sat, 3 Apr 2004 00:47:51 -0500 (EST)

Hello all,
I'm a new squid user, and I'm attempting to write my own cache_replacement
policy. I have it working currently by simple ifdefing in store_repl_lru.c
file and putting in my own logic. However, I would love to be able to
create my own source directory within the repl directory, and compile and
load the module through squid.conf.

The problem is, it seems that no matter how many Configure.in,
Makefile.am, or other configuration files I change adding my own module's
directory, the squid makefiles are not generated by ./configure
--enable-removal-policies="mypolicy" , and consequently my own
cache_replacement module is never made (and obivously can't be loaded).

Has anyone had success compiling their own replacement strategies in the
main squid source tree? If so what am I missing? I've added makefile and
library generation tags to pretty much any Configure file I could find,
including the top level configure.in, yet no dice on generating my
src/repl/mydirectory makefiles.

Thanks for your time!
Chris

-- 
Received on Fri Apr 02 2004 - 22:47:52 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:01 MDT