Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Sep 1996 16:53:14 -0400
From:      Gary Chrysler <tcg@ime.net>
To:        Hal Snyder <hal@post.vale.com>
Cc:        questions@freebsd.org
Subject:   Re: Squid configuration
Message-ID:  <322F3DB9.561B@ime.net>
References:  <01BB9B3C.C79C8F90@jaguar>

next in thread | previous in thread | raw e-mail | index | archive | help
Hal Snyder wrote:
> 
> Gary Chrysler wrote:
> 
> > Yup, I really don't have any definat Q's at this time, Squid just
> > dosn't run, I'm sure it has to do with it's .conf.. :)
> 
> Doesn't run?
> 
> Look at all the logs for output.
> If there is none, then the directories don't exist or don't have
> enough permissions.
> 

No logs at all, Dosn't seem to get that far, Though C-c breaks out.
Running it as root or myusern, root built the dirs, etc.. etc..
myusern has perms to all of it.

% ./squid

I'm going to rebuild it in a few and see if that helps.
I did log the build and there was no errors or warnings
other then the one about cc versus gcc.

Heres the build log in case someone with > then I knowledge
can point out a possiable problem.

ramillia% make all | tee make.err
-=-=-=-=-=-=- make.err
Checksums OK.
===>  Extracting for squid-1.0
===>  Patching for squid-1.0
===>  Applying FreeBSD patches for squid-1.0
===>  Configuring for squid-1.0
creating cache ./config.cache
checking host system type... i386-unknown-freebsd2.1.5
checking for gcc... cc
checking whether we are using GNU C... yes
**************************************************************
**************************************************************
**
**   WARNING:  Squid is only guaranteed to compile with GNU cc.
**   Currently, you're using cc
**   
**************************************************************
**************************************************************
checking how to run the C preprocessor... cc -E
checking for a BSD compatible install... /usr/bin/install -c -o bin -g
bin
checking for ranlib... ranlib
checking whether ln -s works... yes
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 dirent.h that defines DIR... yes
checking for -ldir... no
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for alloca.h... no
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for bstring.h... no
checking for config.h... no
checking for crypt.h... no
checking for ctype.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for libc.h... no
checking for malloc.h... no
checking for memory.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking for regex.h... yes
checking for resolv.h... yes
checking for signal.h... yes
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/param.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for sys/syscall.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/un.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 tm->tm_gmtoff... yes
checking for extended mallinfo... no
checking size of int... 4
checking size of long... 4
checking for working alloca.h... (cached) no
checking for alloca... yes
checking for -lnsl... no
checking for -lsocket... no
checking for -lmalloc... no
checking for -lresolv... yes
checking for -lbsd... no
checking for -l44bsd... no
checking for -lresolv... (cached) yes
checking for -lcrypt... yes
checking for bcopy... yes
checking for getdtablesize... yes
checking for getrusage... yes
checking for lrand48... yes
checking for mallinfo... no
checking for mallopt... no
checking for memmove... yes
checking for regcomp... yes
checking for regexec... yes
checking for regfree... yes
checking for res_init... yes
checking for seteuid... yes
checking for setpgrp... yes
checking for setresuid... no
checking for setrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for socketpair... yes
checking for srand48... yes
checking for strdup... yes
checking for sysconf... yes
checking for syslog... yes
checking for tempnam... yes
checking for timegm... yes
checking Maximum number of filedescriptors we can open... 360
checking Default UDP send buffer size... 9216
checking Default UDP receive buffer size... 41600
checking Default TCP send buffer size... 16384
checking Default TCP receive buffer size... 16384
checking if sys_errlist is already defined... 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 ./src/squid.conf.pre
creating include/autoconf.h
===>  Building for squid-1.0
Making all in lib...
cc -O -Wall -I../include -I./../include -c rfc850.c
cc -O -Wall -I../include -I./../include -c rfc1738.c
cc -O -Wall -I../include -I./../include -c util.c
cc -O -Wall -I../include -I./../include -c host_cache.c
cc -O -Wall -I../include -I./../include -c getfullhostname.c
cc -O -Wall -I../include -I./../include -c debug.c
cc -O -Wall -I../include -I./../include -c log.c
cc -O -Wall -I../include -I./../include -c tempnam.c
ar r libmiscutil.a rfc850.o  rfc1738.o  util.o  host_cache.o 
getfullhostname.o  debug.o  log.o  tempnam.o
ranlib libmiscutil.a
cc -O -Wall -I../include -I./../include -c GNUregex.c
ar r libregex.a GNUregex.o
ranlib libregex.a
Making all in scripts...
Making all in src...
sed " s%@DEFAULT_CONFIG_FILE@%/usr/local/etc/squid.conf%g;
s%@DEFAULT_FTPGET@%/usr/local/bin/ftpget%g;
s%@DEFAULT_DNSSERVER@%/usr/local/bin/dnsserver%g;
s%@DEFAULT_CACHE_LOG@%/usr/local/logs/cache.log%g;
s%@DEFAULT_ACCESS_LOG@%/usr/local/logs/access.log%g;
s%@DEFAULT_HIERARCHY_LOG@%/usr/local/logs/hierarchy.log%g;
s%@DEFAULT_STORE_LOG@%/usr/local/logs/store.log%g;
s%@DEFAULT_SWAP_DIR@%/usr/local/cache%g" <squid.conf.pre >squid.conf
cc -O -Wall -I. -I../include -I./../include  -c acl.c
cc -O -Wall -I. -I../include -I./../include  -c background.c
cc -c cache_cf.c -O -Wall -I. -I../include -I./../include 
-DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squid.conf\" 
-DDEFAULT_FTPGET=\"/usr/local/bin/ftpget\" 
-DDEFAULT_DNSSERVER=\"/usr/local/bin/dnsserver\" 
-DDEFAULT_CACHE_LOG=\"/usr/local/logs/cache.log\" 
-DDEFAULT_ACCESS_LOG=\"/usr/local/logs/access.log\" 
-DDEFAULT_HIERARCHY_LOG=\"/usr/local/logs/hierarchy.log\" 
-DDEFAULT_STORE_LOG=\"/usr/local/logs/store.log\" 
-DDEFAULT_SWAP_DIR=\"/usr/local/cache\"
cc -O -Wall -I. -I../include -I./../include  -c errorpage.c
cc -O -Wall -I. -I../include -I./../include  -c comm.c
cc -O -Wall -I. -I../include -I./../include  -c debug.c
cc -O -Wall -I. -I../include -I./../include  -c disk.c
cc -O -Wall -I. -I../include -I./../include  -c dynamic_array.c
cc -O -Wall -I. -I../include -I./../include  -c fdstat.c
cc -O -Wall -I. -I../include -I./../include  -c filemap.c
cc -O -Wall -I. -I../include -I./../include  -c ftp.c
cc -O -Wall -I. -I../include -I./../include  -c gopher.c
cc -O -Wall -I. -I../include -I./../include  -c hash.c
cc -O -Wall -I. -I../include -I./../include  -c http.c
cc -O -Wall -I. -I../include -I./../include  -c icp.c
cc -O -Wall -I. -I../include -I./../include  -c ipcache.c
cc -O -Wall -I. -I../include -I./../include  -c main.c
cc -O -Wall -I. -I../include -I./../include  -c mime.c
cc -O -Wall -I. -I../include -I./../include  -c neighbors.c
cc -O -Wall -I. -I../include -I./../include  -c objcache.c
cc -O -Wall -I. -I../include -I./../include  -c proto.c
cc -O -Wall -I. -I../include -I./../include  -c send-announce.c
cc -O -Wall -I. -I../include -I./../include  -c ssl.c
cc -O -Wall -I. -I../include -I./../include  -c stack.c
cc -O -Wall -I. -I../include -I./../include  -c stat.c
cc -O -Wall -I. -I../include -I./../include  -c stmem.c
cc -O -Wall -I. -I../include -I./../include  -c store.c
cc -O -Wall -I. -I../include -I./../include  -c storetoString.c
cc -O -Wall -I. -I../include -I./../include  -c tools.c
cc -O -Wall -I. -I../include -I./../include  -c ttl.c
cc -O -Wall -I. -I../include -I./../include  -c url.c
cc -O -Wall -I. -I../include -I./../include  -c wais.c
cc -o squid -g acl.o background.o cache_cf.o errorpage.o comm.o  debug.o
disk.o dynamic_array.o  fdstat.o filemap.o ftp.o gopher.o  hash.o http.o
icp.o ipcache.o  main.o mime.o neighbors.o objcache.o  proto.o
send-announce.o ssl.o stack.o stat.o stmem.o  store.o storetoString.o
tools.o ttl.o  url.o wais.o  -lcrypt -L../lib -lregex -lmiscutil
-lresolv
cc -O -Wall -I. -I../include -I./../include  -c client.c
cc -o client -g client.o -L../lib -lmiscutil -lresolv
cc -O -Wall -I. -I../include -I./../include  -c dnsserver.c
cc -o dnsserver -g dnsserver.o -L../lib -lregex -lmiscutil -lresolv
cc -O -Wall -I. -I../include -I./../include  -c ftpget.c
cc -o ftpget -g ftpget.o -L../lib -lregex -lmiscutil -lresolv
cc -O -Wall -I. -I../include -I./../include  -c cachemgr.c
cc -o cachemgr.cgi -g cachemgr.o -L../lib -lmiscutil -lresolv

Thanks Hal.
Take care!

-Enjoy
Gary
~~~~~~~~~~~~~~~~
Improve America's Knowledge... Share yours
The Borg... Where minds meet
(207) 929-3848



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?322F3DB9.561B>