Dear Subarna,
Here is some information which may help you which I have extracted from http://wiki.squid-cache.org/SquidFaq/CompilingSquid. Compiling is the essential for any service that you want to run in production. Debian From 2.6 STABLE 14 Squid should compile easily on this platform. * /!\There is just one known problem. The Linux system layout differs markedly from the Squid defaults. The following ./configure options are needed to install Squid into the Linux structure properly: --prefix=/usr --localstatedir=/var --libexecdir=${prefix}/lib/squid --srcdir=. --datadir=${prefix}/share/squid --sysconfdir=/etc/squid From Squid 3.0 the default user can also be set. The Debian package default is: --with-default-user=proxy From Squid 3.1 the log directory and PID file location are also configurable. The Debian package defaults are: --with-logdir=/var/log --with-pidfile=/var/run/squid.pid {X}Older Squid needs the following patch to be applied since the /var/logs/ directory for logs has no configure option. This exact patch requires ./bootstrap.sh to be run again. If that is not possible the same line change can be manually made in src/Makefile.in as well. --- src/Makefile.am 2007-09-17 14:22:33.000000000 +1200 +++ src/Makefile.am-new 2007-09-12 19:31:53.000000000 +1200 @@ -985,7 +985,7 @@ DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'` -DEFAULT_LOG_PREFIX = $(localstatedir)/logs +DEFAULT_LOG_PREFIX = $(localstatedir)/log DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log Regards, Peshal Subarna wrote: > I want compiled squid. Do anyone have compiled squid? please sent to > me. I want to run squid in debian. I came to know that compiled squid > is more effective than directly installed one. -- > FOSS Nepal mailing list: [email protected] > http://groups.google.com/group/foss-nepal > To unsubscribe, e-mail: [email protected] > > Mailing List Guidelines: > http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines > Community website: http://www.fossnepal.org/ -- FOSS Nepal mailing list: [email protected] http://groups.google.com/group/foss-nepal To unsubscribe, e-mail: [email protected] Mailing List Guidelines: http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines Community website: http://www.fossnepal.org/
