Re: transparent proxy error

From: Leonid Igolnik - LiM <lim@dont-contact.us>
Date: Fri, 2 Apr 1999 11:56:39 +0300 (IDDT)

I believe that configure looks for those files in /usr/include, and
IPF installs them into /usr/include/netinet/ - simple fix to configure
should solve the problem.

Leonid Igolnik aka LiM

On Thu, 1 Apr 1999, Faisal wrote:

|hi,
|
|I am trying to compile squid with transparent proxy enabled option ( ./configure --enable-ipf-transparent ) on bsdi/os 4.0
|
|I have already installed ipfilter ( http://cheops.anu.edu.au/~avalon/ip-filter.html )
|
|but squid can't find ip_nat.h or ip_fil.h ?? why is that ?? can someone help ?
|
|the following is the output of ./configure --enable-ipf-transparent
|
|******************************
|proxy2# ./configure --enable-ipf-transparent
|loading cache ./config.cache
|checking host system type... i386-pc-bsdi4.0
|checking for gcc... (cached) gcc
|checking whether the C compiler (gcc -g) works... yes
|checking whether the C compiler (gcc -g) is a cross-compiler... no
|checking whether we are using GNU C... (cached) yes
|checking whether gcc accepts -g... (cached) yes
|IP-Filter Transparent Proxy enabled
|checking how to run the C preprocessor... (cached) gcc -E
|checking for a BSD compatible install... (cached) /usr/bin/install -c
|checking for ranlib... (cached) ranlib
|checking whether ln -s works... (cached) yes
|checking for sh... (cached) /bin/sh
|checking for false... (cached) /usr/bin/false
|checking for true... (cached) /usr/bin/true
|checking for rm... (cached) /bin/rm
|checking for mv... (cached) /bin/mv
|checking for mkdir... (cached) /bin/mkdir
|checking for ln... (cached) /bin/ln
|checking for perl... (cached) /usr/bin/perl
|checking for makedepend... (cached) /usr/X11/bin/makedepend
|checking for ar... (cached) /usr/bin/ar
|checking for dirent.h that defines DIR... (cached) yes
|checking for opendir in -ldir... (cached) no
|checking for ANSI C header files... (cached) yes
|checking for alloca.h... (cached) no
|checking for arpa/inet.h... (cached) yes
|checking for arpa/nameser.h... (cached) yes
|checking for assert.h... (cached) yes
|checking for bstring.h... (cached) no
|checking for config.h... (cached) no
|checking for crypt.h... (cached) no
|checking for ctype.h... (cached) yes
|checking for errno.h... (cached) yes
|checking for fcntl.h... (cached) yes
|checking for getopt.h... (cached) no
|checking for gnumalloc.h... (cached) no
|checking for grp.h... (cached) yes
|checking for ip_compat.h... (cached) no
|checking for ip_fil.h... (cached) no
|checking for ip_nat.h... (cached) no
|checking for libc.h... (cached) no
|checking for limits.h... (cached) yes
|checking for malloc.h... (cached) yes
|checking for math.h... (cached) yes
|checking for memory.h... (cached) yes
|checking for mount.h... (cached) no
|checking for net/if.h... (cached) yes
|checking for netdb.h... (cached) yes
|checking for netinet/in.h... (cached) yes
|checking for netinet/tcp.h... (cached) yes
|checking for poll.h... (cached) no
|checking for pwd.h... (cached) yes
|checking for regex.h... (cached) yes
|checking for resolv.h... (cached) yes
|checking for sched.h... (cached) yes
|checking for signal.h... (cached) yes
|checking for stdarg.h... (cached) yes
|checking for stddef.h... (cached) yes
|checking for stdio.h... (cached) yes
|checking for stdlib.h... (cached) yes
|checking for string.h... (cached) yes
|checking for strings.h... (cached) yes
|checking for sys/file.h... (cached) yes
|checking for sys/ioctl.h... (cached) yes
|checking for sys/param.h... (cached) yes
|checking for sys/resource.h... (cached) yes
|checking for sys/select.h... (cached) yes
|checking for sys/socket.h... (cached) yes
|checking for sys/stat.h... (cached) yes
|checking for sys/statvfs.h... (cached) no
|checking for sys/syscall.h... (cached) yes
|checking for sys/time.h... (cached) yes
|checking for sys/types.h... (cached) yes
|checking for sys/un.h... (cached) yes
|checking for sys/vfs.h... (cached) no
|checking for sys/wait.h... (cached) yes
|checking for syslog.h... (cached) yes
|checking for time.h... (cached) yes
|checking for unistd.h... (cached) yes
|checking for varargs.h... (cached) yes
|checking for working const... (cached) yes
|checking whether byte ordering is bigendian... (cached) no
|checking if ANSI prototypes work... (cached) yes
|checking for tm->tm_gmtoff... (cached) yes
|checking for extended mallinfo... (cached) no
|checking for struct rusage... (cached) yes
|checking for ip->ip_hl... (cached) yes
|checking size of int... (cached) 4
|checking size of long... (cached) 4
|checking for working alloca.h... (cached) no
|checking for alloca... (cached) yes
|checking for pid_t... (cached) yes
|checking for size_t... (cached) yes
|checking for ssize_t... (cached) yes
|checking for off_t... (cached) yes
|checking for mode_t... (cached) yes
|checking for fd_mask... (cached) yes
|checking for socklen_t... (cached) yes
|checking for main in -lnsl... (cached) no
|checking for main in -lsocket... (cached) no
|checking for main in -lgnumalloc... (cached) no
|checking for main in -lmalloc... (cached) no
|checking for main in -lbsd... (cached) no
|checking for main in -lregex... (cached) no
|checking for gethostbyname in -lbind... (cached) no
|checking for inet_aton in -lresolv... (cached) yes
|checking for inet_aton in -l44bsd... (cached) no
|checking for main in -lresolv... (cached) yes
|checking for main in -lm... (cached) yes
|checking for crypt in -lcrypt... (cached) no
|checking for main in -lpthread... (cached) no
|checking for bcopy... (cached) yes
|checking for crypt... (cached) yes
|checking for drand48... (cached) yes
|checking for fchmod... (cached) yes
|checking for getdtablesize... (cached) yes
|checking for getpagesize... (cached) yes
|checking for getrusage... (cached) yes
|checking for getspnam... (cached) no
|checking for lrand48... (cached) yes
|checking for mallinfo... (cached) no
|checking for mallocblksize... (cached) no
|checking for mallopt... (cached) no
|checking for memcpy... (cached) yes
|checking for memmove... (cached) yes
|checking for memset... (cached) yes
|checking for mktime... (cached) yes
|checking for mstats... (cached) no
|checking for poll... (cached) no
|checking for putenv... (cached) yes
|checking for random... (cached) yes
|checking for regcomp... (cached) yes
|checking for regexec... (cached) yes
|checking for regfree... (cached) yes
|checking for res_init... (cached) yes
|checking for rint... (cached) yes
|checking for seteuid... (cached) yes
|checking for setpgrp... (cached) yes
|checking for setrlimit... (cached) yes
|checking for setsid... (cached) yes
|checking for sigaction... (cached) yes
|checking for snprintf... (cached) yes
|checking for srand48... (cached) yes
|checking for srandom... (cached) yes
|checking for statvfs... (cached) no
|checking for sysconf... (cached) yes
|checking for syslog... (cached) yes
|checking for tempnam... (cached) yes
|checking for timegm... (cached) no
|checking for vsnprintf... (cached) yes
|checking if setresuid is implemented... (cached) no
|checking if IP-Filter header files are installed... no
|WARNING: Cannot find necessary IP-Filter header files
| Transparent Proxy support WILL NOT be enabled
|checking if GNUregex needs to be compiled... no
|checking for drand48... (cached) yes
|checking for tempnam... (cached) yes
|checking for strerror... (cached) yes
|checking Default FD_SETSIZE value... 256
|checking Maximum number of filedescriptors we can open... 5801
|checking Default UDP send buffer size... 9216
|checking Default UDP receive buffer size... 41600
|checking Default TCP send buffer size... 8192
|checking Default TCP receive buffer size... 8192
|checking if sys_errlist is already defined... (cached) yes
|checking for libresolv _dns_ttl_ hack... no
|checking if inet_ntoa() actually works... yes
|checking for _res.nsaddr_list... (cached) yes
|updating cache ./config.cache
|creating ./config.status
|creating ./makefile
|creating ./lib/Makefile
|creating ./include/config.h
|creating ./scripts/Makefile
|creating ./scripts/RunCache
|creating ./scripts/RunAccel
|creating ./src/Makefile
|creating ./contrib/Makefile
|creating ./icons/Makefile
|creating ./errors/Makefile
|creating ./auth_modules/dummy
|creating ./auth_modules/NCSA/Makefile
|creating include/autoconf.h
|include/autoconf.h is unchanged
|**************************************************
|
|Regards,
|
|M. Faisal Hamid
|Network Administrator
|World Online
|Cybersoft Technologies (Pvt) Ltd. Telephone # 92-42-111-600-111
|123-A Babar Block, New Garden Town Fax # 92-42-5833277
|Lahore, Pakistan E-mail: mfhamid@hotmail.com
| hamid@pemail.net
| faisal@wol.net.pk
|

Leonid Igolnik aka LiM
Received on Fri Apr 02 1999 - 01:45:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:41 MST