Re: problems compiling squid 2.2STABLE5 on linux RedHat 6.1 system

From: Miquel van Smoorenburg <list-squid@dont-contact.us>
Date: 4 Nov 1999 20:47:47 +0100

In article <cistron.3821D186.C96C0B5@s-kjaer.dk>,
Carsten Kjaer <Carsten@s-kjaer.dk> wrote:
>checking Default FD_SETSIZE value... 1024
>checking Maximum number of filedescriptors we can open... 256
>WARNING: 256 may not be enough filedescriptors if your
> cache will be very busy. Please see the FAQ page
> http://squid.nlanr.net/Squid/FAQ/FAQ-11.html#filedescriptors
> on how to increase your filedescriptor limit

You really want to run a 2.2 kernel. I'd recommend 2.2.13

>gcc -g -O2 -Wall -I../include -I../include -c rfc1123.c -o rfc1123.o
>/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
>directory
>In file included from ../include/util.h:44,
> from rfc1123.c:65:
>/usr/include/sys/param.h:24: linux/limits.h: No such file or directory
>/usr/include/sys/param.h:25: linux/param.h: No such file or directory

Your compilation environment is br0ken. You don't have the files
in /usr/include/linux and /usr/include/asm. There should be copies
of the include files of a known good kernel there (that's what Debian
does) or they should be symlinks to <kernelsource>/include/{linux,asm}
(that's probably what RedHat does)

Mike.

-- 
First things first, but not necessarily in that order.
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
Received on Thu Nov 04 1999 - 12:54:59 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:31 MDT