Hi,
I have unzipped source in /usr/local/squid/src/squid2.2STABLE5, and
added user squid, but when trying to compile i get the following:
[squid@kyle squid-2.2.STABLE5]# ./configure
creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for sh... /bin/sh
checking for false... /bin/false
checking for true... /bin/true
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for perl... /usr/bin/perl
checking for makedepend... /bin/true
checking for ar... /usr/bin/ar
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for opendir in -lx... no
checking for ANSI C header files... yes
checking for arpa/inet.h... no
checking for arpa/nameser.h... no
checking for assert.h... yes
checking for bstring.h... no
checking for config.h... no
checking for crypt.h... yes
checking for ctype.h... yes
checking for errno.h... no
checking for fcntl.h... yes
checking for getopt.h... yes
checking for gnumalloc.h... no
checking for grp.h... yes
checking for ip_compat.h... no
checking for ip_fil.h... no
checking for ip_nat.h... no
checking for libc.h... no
checking for limits.h... no
checking for malloc.h... yes
checking for math.h... yes
checking for memory.h... yes
checking for mount.h... no
checking for net/if.h... no
checking for netdb.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.h... no
checking for netinet/ip_nat.h... no
checking for poll.h... yes
checking for pwd.h... yes
checking for regex.h... yes
checking for resolv.h... no
checking for sched.h... yes
checking for signal.h... no
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... no
checking for sys/param.h... no
checking for sys/resource.h... no
checking for sys/select.h... yes
checking for sys/socket.h... no
checking for sys/stat.h... yes
checking for sys/statvfs.h... yes
checking for sys/syscall.h... no
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking for sys/vfs.h... yes
checking for sys/wait.h... yes
checking for syslog.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for varargs.h... yes
checking for working const... yes
checking whether byte ordering is bigendian... no
checking if ANSI prototypes work... yes
checking for tm->tm_gmtoff... yes
checking for struct mallinfo... yes
checking for extended mallinfo... no
checking for struct rusage... no
checking for ip->ip_hl... no
checking size of int... 4
checking size of long... 4
checking size of void *... 4
checking for working alloca.h... yes
checking for alloca... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off_t... yes
checking for mode_t... yes
checking for fd_mask... yes
checking for socklen_t... yes
checking for main in -lnsl... yes
checking for main in -lsocket... no
checking for main in -lgnumalloc... no
checking for main in -lmalloc... no
checking for main in -lbsd... yes
checking for main in -lregex... no
checking for gethostbyname in -lbind... no
checking for inet_aton in -lresolv... yes
checking for inet_aton in -l44bsd... no
checking for main in -lresolv... yes
checking for main in -lm... yes
checking for crypt in -lcrypt... yes
checking for main in -lpthread... yes
checking for bcopy... yes
checking for crypt... yes
checking for drand48... yes
checking for fchmod... yes
checking for getdtablesize... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getspnam... yes
checking for lrand48... yes
checking for mallinfo... yes
checking for mallocblksize... no
checking for mallopt... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mktime... yes
checking for mstats... no
checking for poll... yes
checking for putenv... yes
checking for random... yes
checking for regcomp... yes
checking for regexec... yes
checking for regfree... yes
checking for res_init... yes
checking for rint... yes
checking for seteuid... yes
checking for setpgrp... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for sysconf... yes
checking for syslog... yes
checking for tempnam... yes
checking for timegm... yes
checking for vsnprintf... yes
checking if setresuid is implemented... yes
checking if GNUregex needs to be compiled... no
checking for drand48... (cached) yes
checking for tempnam... (cached) yes
checking for strerror... yes
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
checking Default UDP send buffer size... 16384
ecking for ip_compat.h...
no
Échecking Default TCP send buffer size... 16384
checking Default TCP receive buffer size... 16384
checking if sys_errlist is already defined... yes
checking for libresolv _dns_ttl_ hack... no
checking if inet_ntoa() actually works... no
Will use our own inet_ntoa().
checking for working statvfs() interface... yes
checking for _res.nsaddr_list... no
checking for _res.ns_list... no
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 ./auth_modules/getpwnam/Makefile
creating include/autoconf.h
[squid@kyle squid-2.2.STABLE5]# make
Making all in lib...
make[1]: Entering directory `/usr/local/squid/src/squid-2.2.STABLE5/lib'
gcc -g -O2 -Wall -I../include -I../include -c rfc1123.c -o rfc1123.o
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:30,
from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
from /usr/include/sys/param.h:23,
from ../include/util.h:44,
from rfc1123.c:65:
/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
In file included from /usr/include/sys/socket.h:34,
from /usr/include/netdb.h:31,
from ../include/util.h:47,
from rfc1123.c:65:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
make[1]: *** [rfc1123.o] Error 1
make[1]: Leaving directory `/usr/local/squid/src/squid-2.2.STABLE5/lib'
make: *** [all] Error 1
[squid@kyle squid-2.2.STABLE5]#
Can it be caused be libraries missing? (The machine is quite stripped
down with regards to what rpms are installed)
Hope that you can help
Regards
Carsten Kjaer
Received on Thu Nov 04 1999 - 11:41:16 MST
This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:31 MDT