Help needed Compiling Squid 1.1.14 on FreeBSD 2.2.2

From: Ole Møller <>
Date: Mon, 29 Sep 1997 16:45:11 +0200

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>
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?


Ole Møller, 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 - 07:56:38 MDT

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