Re: [squid-users] make all for squid 2.5 stable 5 has errors]

From: Hement Gopal <hementg@dont-contact.us>
Date: Mon, 21 Jun 2004 10:26:00 +0200

hi all

problem solved....

and i'm mailing the list so that my solution may hlp someone else out there.

procedure :-

i reinstalled RedHat9 (as i lost track of all the changes i made to
system files :-~)

using the native kernel, I :-

changed open files figure using ulimit -HSn 32768 command

do configure , make all and make install (no errors)

insert umilit -HSn 32768
and /usr/local/squid/sbin/squid in /etc/rc.d/rc.local so that squid
starts up on reboot (with correct file decriptor number)

and its all working now!!

what i did find was that making changes w.r.t FD_SETSIZE in
/usr/include/bits/typesizes.h and /squid/src/main.c did not help
and the umlimit command was all that was neccessary.

many thanks to all that helped.

Hement Gopal wrote:

> hi
>
>
> for those who were following my first thread...
> i deleted all my squid binaries, deleted my squid src files...
> untarred squid again and ran ./configure (with dl-malloc, usergent-log,
> delay-pools , snmp and gnuregex options enabled)
> .but only after running the ulimit -HSn #### command.
>
> the configure ran great (with the correct number of File Descriptors)
>
> so this sorted out my first problem.
>
> now my issues are with the MAKE ALL command.
>
> rgds,
> hement
>
>
> Elsen Marc wrote:
>
>>
>>
>>> hi all
>>>
>>>
>>> starting a new thread on this as it is no more a file descriptor
>>> problem but make problem.
>>>
>>> /configure wokr great (with high FD number) but make all results in
>>> ff errors
>>>
>>>
>> What do you mean by 'high FD number' ; how did you accomplish using
>> more FD's before starting configure ?
>>
>> M.
>>
>>
>>> my OS/Platform info :-
>>>
>>>
>>> Intel box
>>>
>>> Linux athena2.wits.ac.za 2.4.20-31.9smp #1 SMP Tue Apr 13 17:40:10
>>> EDT 2004 i686 i686 i386 GNU/Linux
>>>
>>> Linux version 2.4.20-31.9smp (bhcompile@daffy.perf.redhat.com) (gcc
>>> version 3.2.
>>> 2 20030222 (Red Hat Linux 3.2.2-5)) #1 SMP Tue Apr 13 17:40:10 EDT 2004
>>>
>>> rgds,
>>> hement gopal
>>>
>>>
>>>
>>>
>>> depmode=gcc3 /bin/sh ../cfgaux/depcomp \
>>> gcc -DHAVE_CONFIG_H
>>> -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
>>> -I../include -I. -I. -I../include -I../include -g -O2 -Wall -c
>>> `test -f store_dir.c || echo './'`store_dir.c
>>> In file included from /usr/include/sys/statfs.h:26,
>>> from /usr/include/sys/vfs.h:4,
>>> from store_dir.c:45:
>>> /usr/include/bits/statfs.h:27: parse error before "__SWORD_TYPE"
>>> /usr/include/bits/statfs.h:43: parse error before "f_namelen"
>>> /usr/include/bits/statfs.h:44: parse error before "f_spare"
>>> /usr/include/bits/statfs.h:45: parse error before '}' token
>>> make[3]: *** [store_dir.o] Error 1
>>> make[3]: Leaving directory `/home/squid-2.5.STABLE5/src'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/home/squid-2.5.STABLE5/src'
>>> make[1]: *** [all] Error 2
>>> make[1]: Leaving directory `/home/squid-2.5.STABLE5/src'
>>> make: *** [all-recursive] Error 1
>>>
>>>
>>>
>>
>
>
>
Received on Mon Jun 21 2004 - 02:19:42 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:03 MDT