Hello all!
I have been using squid for quite a while now, and I am trying to compile
squid-2.4.STABLE4 on SuSE Linux.
At the moment we have Squid 2.3 running, which came as part of the
distribution cds.
SuSE seem to have their squid files spread out all over the place:
squid.conf is in /etc (which is good, IMO),
the squid executable is in /usr/sbin
mime.conf and mib.txt and the errors and icons directories are in
/usr/share/squid
I'm not sure of the significance of this, but anyway.....
I want to recompile squid so that I can do snmp monitoring via mrtg, but the
only option I can find for file locations is the --prefix= option for
./configure, or the prefix= statement in ./makefile
when I run make all, a load of screen output mentions file locations, which
I guess are generated with the help of the prefix statement:
make[1]: Entering directory `/home/cbc/squid-2.4.STABLE4/src'
sed "s%@DEFAULT_MIME_TABLE@%/usr/local/squid/etc/mime.conf%g;s%
@DEFAULT_DNSSERVER@%/usr/local/squid/libexec/squid/%g;s%
@DEFAULT_UNLINKD@%/usr/local/squid/libexec/squid/unlinkd%g;s%
@DEFAULT_PINGER@%/usr/local/squid/libexec/squid/%g;s%
@DEFAULT_DISKD@%/usr/local/squid/libexec/squid/diskd%g;s%
@DEFAULT_CACHE_LOG@%/usr/local/squid/logs/cache.log%g;s%
@DEFAULT_ACCESS_LOG@%/usr/local/squid/logs/access.log%g;s%
@DEFAULT_STORE_LOG@%/usr/local/squid/logs/store.log%g;s%
@DEFAULT_PID_FILE@%/usr/local/squid/logs/squid.pid%g;s%
@DEFAULT_SWAP_DIR@%/usr/local/squid/cache%g;s%
@DEFAULT_ICON_DIR@%/usr/local/squid/etc/icons%g;s%
@DEFAULT_MIB_PATH@%/usr/local/squid/etc/mib.txt%g;s%
@DEFAULT_ERROR_DIR@%/usr/local/squid/etc/errors%g;s%
@DEFAULT_PREFIX@%/usr/local/squid%g;"< ./cf.data.pre >cf.data
How do I specify a different directory for each file? (or basically use the
same locations as the SuSE distro version)
Surely I can't be the only one to ask this, yet I cant find anything in the
archives or anywhere else.
Thanks!
chris
-- The content of this e-mail is confidential, may contain privileged material and is intended solely for the recipient(s) named above. If you receive this in error, please notify Software AG immediately and delete this e-mail. Software AG (UK) Limited Registered in England & Wales 1310740 Registered Office: Hudson House, Hudson Way, Pride Park, Derby DE24 8HSReceived on Sat Mar 23 2002 - 05:29:25 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:03 MST