Re: Help needed Compiling Squid 1.1.14 on FreeBSD 2.2.2

From: Bill Wichers <billw@dont-contact.us>
Date: Mon, 29 Sep 1997 14:37:27 -0400 (EDT)

Don't forget to `chown -R <squid_user_name> <cachedir>` and chmod it
accordingly. You need to do this for the logs too so that Squid can write
them.

If your compile errors are posing a problem you might try Squid 1.1.15 or
1.1.16.

        -Bill

On Mon, 29 Sep 1997, Ole [iso-8859-1] Møller wrote:

> Hi Squids!
>
> Until recently I was the happy user of squid 1.1.10. Due to local
> managements demands I need to log apply the useragent_log. Apparently my
> squid was not compiled with DUSE_USERAGENT_LOG=1. Therefore I downloaded
> 1.1.14 and compiled it but when I start it (even if I use the -f option to
> point out the right conf-file) it states:
>
> Squid is not safe to run as root! If you must
> start Squid as root, then you must configure
> it to run as a non-priveledged user with the
> 'cache_effective_user' option in the config file.
>
> I have copied the old configuration and I have set the
> cache_effective_user-option. All right then I change user to nobody and
> start it, and then the following happens:
>
> FATAL: Received Segment Violation...dying.
> CPU Usage: user 0 sys 0
> Maximum Resident Size: 1272 KB
>
> Something is completely rotten here ... I got some warnings while running
> configure, but did not pay any real attention to then as I really don't
> know what the mean neither what to do about them:
>
> configure:1751: gcc -c -g -O2 -Wall conftest.c 1>&5
> In file included from configure:1744:
> /usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
> which
> is obsoleted, use <stdlib.h> instead"
> configure: In function `main':
> configure:1746: storage size of `foo' isn't known
> configure:1746: warning: unused variable `foo'
> configure: failed program was:
> #line 1742 "configure"
> #include "confdefs.h"
> #include <sys/types.h>
> #include <malloc.h>
> int main() {
> struct mallinfo foo;
> foo.mxfast = 0;
> ; return 0; }
>
> Pleas can anybody help?
>
> Regards
>
> Ole Møller olm@cybercity.dk, Sysadm CyberCity Internet
> "Come to think of it, there are already a million monkeys on a million
> typewriters, and Usenet is NOTHING like Shakespeare."
> -- Blair Houghton
>
Received on Mon Sep 29 1997 - 11:42:39 MDT

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