[squid-users] header situation... and no more ideas :(

From: Witold Wladyslaw Wojciech Wilk <maniack@dont-contact.us>
Date: Tue, 11 Jun 2002 01:01:38 +0200

i use:

./configure --prefix=/usr/local/squid --enable-removal-policies
--enable-delay-pools --enable-user-agent-log --enable-referer-log
--enable-linux-netfilter --enable-cache-digest

in the middle I get this:

checking for netinet/if_ether.h... no
checking for netinet/in.h... no
checking for netinet/tcp.h... yes
checking for netinet/ip_compat.h... no
checking for netinet/ip_fil_compat.h... no
checking for netinet/ip_fil.h... no
checking for netinet/ip_nat.h... no

and in the end I get:

checking if Linux 2.4 kernel header files are installed... no
WARNING: Cannot find necessary Linux 2.4 kernel header files
         Linux 2.4 Transparent Proxy support WILL NOT be enabled

whereas its not a fatal error, but its essential for me - I need the
transparency (I'm "administering" a lan with a 512kbit/s dsl, 20 users),
most people don't know how to configure good'ol'outlook... :/ A normal
proxy means I need to go to every one of them to configure, and they
propably won't use them, "because it *sucks*" or some other 9-year-old
proverb... :)

If I'm not mistaken - the "WARNING" error is due to the first checks for
the netinet/*.h files. Dumb as it may sound - but I don't have them. To
make matters even more dramatic - I cannot find them anywhere. I installed
the newest (kernel-headers-2.4.18-i386-3.tgz) headers from
slackware-current. I tried searching in 2.4.18's dir structure for these
*.h. I tried google for 2 hours. Then the search engine at the squid-users
archives... And I gave up. Either I'm unlucky, or I'm just plain dumb...
or even both ;) I started the squid installation at 2pm, ended the first
compilation (didnt know about the --enable-linux-filter - done the
standard ./configure --prefix=...), configured squid.conf (seems to be
looking good :) ), and at 5pm I started working on the transparent
model... now its 1am, and I'm still stuck in the same point :((

but look a this, it gets exciting:

maniack@dorotka:/usr/src$ ls /usr/include/netinet/ -lah
total 100k
drwxr-xr-x 2 root root 4.0k Jun 10 23:36 .
drwxr-xr-x 39 root root 4.0k Jun 10 23:09 ..
-rw-r--r-- 1 root root 2.0k May 26 2001 ether.h
-rw-r--r-- 1 root root 8.6k May 26 2001 icmp6.h
-rw-r--r-- 1 root root 4.0k May 26 2001 if_ether.h
-rw-r--r-- 1 root root 1.3k May 26 2001 if_fddi.h
-rw-r--r-- 1 root root 1.4k May 26 2001 if_tr.h
-rw-r--r-- 1 root root 3.4k May 26 2001 igmp.h
-rw-r--r-- 1 root root 12k May 26 2001 in.h
-rw-r--r-- 1 root root 1.6k May 26 2001 in_systm.h
-rw-r--r-- 1 root root 7.8k May 26 2001 ip.h
-rw-r--r-- 1 root root 3.6k May 26 2001 ip6.h
-rw-r--r-- 1 root root 10k May 26 2001 ip_icmp.h
-rw-r--r-- 1 root root 3.1k Jun 10 23:36 ip_nat.h
-rw-r--r-- 1 root root 6.2k May 26 2001 tcp.h
-rw-r--r-- 1 root root 1.7k May 26 2001 udp.h
maniack@dorotka:/usr/src$

compare this to the thing that ./configure catches - am I mistaken, or it
does not even check that? tsome files are there, and are marked as a "no".
That is definetetly strange... :/

any ideas? I'd appreciate if somebody could send me those headers that I'd
need.

btw: locate "$regex" doesn't show some of them, some of the shows, either
way - its a zilcho. I'm sure that:
a) I dont have the needed headers
b) even also ./configure cant find them correctly - how is it checking?

TIA

-- 
|_Witold_Wilk____<maniack@zawilcow.tyc.katowice.supermedia.pl>_|
|_____________________________________________(+48605350601)___|
|_"Una_salus_victus_nullam_sperare_salutem"____________________|
|______________________________Publius_Vergilius_Maro__________|
Received on Mon Jun 10 2002 - 17:05:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:38 MST