Thanks for this. I've found SPECS but none for squid (nor on the dvd). so this path is closed. However, we keep our dvd in the drive and noted that during the make process the dvd drive light come on!
You need to install the source rpm, the latest version from suse is to be found here (this is from 8.0): ftp://fr2.rpmfind.net/linux/SuSE-Linux/suse/i386/update/8.0/zq1/squid-2.4.STABLE6-9.src.rpm the 7.2 squid source rpm is here: ftp://fr2.rpmfind.net/linux/SuSE-Linux/suse/i386/7.2/suse/zq1/squid.spm These are rpms containing the source code, and patches that the distro people put on the source code (like changing paths or pam auth stuff) and also the instructions releating to how to compile the software (the .spec file) You need to install that (rpm -Uvh) and then edit the spec file and then rebuild and install the new rpm
We're now further down the road having removed the dvd and found our installation in /usr/local/squid but it refuses to build the cache in /usr/local/squid/var/cache The logs directory existed but would not open! I deleted logs and then could not open var. I deleted var, rebooted and created var logs & cache/00 I still get the following errors
linux:~ # /usr/local/squid/sbin/squid -z 2003/04/10 12:35:50| Creating Swap Directories FATAL: Failed to make swap directory /usr/local/squid/var/cache/00/00: (13) Permission denied Squid Cache (Version 2.5.STABLE2): Terminated abnormally. CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 10
Do I need to set a permission somewhere?
Yes you need to run: mkdir -p /usr/local/squid/var/cache chown squid /usr/local/squid/var/cache
Could I move squid to the original location of 2.3 as SuSE appears to put squid in a different location to other flavours - why?
Most compile from source packages are set by default to use /usr/local as this prevents them interfering with system stuff (rooted in /) the configure options that suse (and others like redhat and debian) pass to the squid compile process alter where the files live to be in /var,/usr/sbin and /etc so that it fits in the with the rest of the of the system. -- Tim Fletcher - Technical Adviser Manchester LEA .~. tim@night-shade.org.uk /V\ L I N U X tim@parrswood.manchester.sch.uk // \\ >Don't fear the penguin< irc: Night-Shade on Quakenet /( )\ ^^-^^ "A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila." -Mitch Ratliffe, Technology Review April, 1992