Amos Jeffries wrote:
eXtremer wrote:
I'm using RedHat 9, and this is the last version of squid
(squid-2.5.STABLE1-3.9.i386) that I found for RH9, If you could tell
where
to find the 2.6 version for it I'll appreciate.
I don't think there is a 2.6+ RH package. If you find one we'd all
like to know. Others have reported that Fedora (FC) packages will run
without a lot of trouble on RH.
Good luck.
Amos
For what it's worth, that doesn't appear to work here:
[root@proxy2 SPECS]# cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
[root@proxy2 SPECS]# rpmbuild -bb squid.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.71065
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf squid-2.6.STABLE17
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/squid-2.6.STABLE17.tar.bz2
...
SNIP
...
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.43322 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.43322 (%build)
[root@proxy2 SPECS]# rpm -q gcc
gcc-3.2.2-5
[root@proxy2 SPECS]#
Perhaps tweaking the squid.spec to use different CFLAGS would work, but
I haven't enough time to fool with it. You can try compiling from
source, but RedHat 9 is using a 2.4 Kernel by default (2.4.20-8 was the
last release), and won't get the (possibly massive) performance gain of
epoll. I'd advise using a more recent (and supported) OS.
Chris