zulkarnain 写道:
> --- "L.TK" <[EMAIL PROTECTED]> wrote:
>   
>>>   
>>>       
>> comment these lines below in src/main.c
>> if (geteuid() == 0) {
>> debug(0, 0) ("Squid is not safe to run as root! If
>> you must\n");
>> debug(0, 0) ("start Squid as root, then you must
>> configure\n");
>> debug(0, 0) ("it to run as a non-priveledged user
>> with the\n");
>> debug(0, 0) ("'cache_effective_user' option in the
>> config file.\n");
>> fatal("Don't run Squid as root, set
>> 'cache_effective_user'!");
>> }
>>
>> recompile squid and there you go
>>     
>
>
> unable to compile this, here is the error;
>
> main.c:490:17: error: missing binary operator before
> token "("
> main.c:490:1: error: unterminated #if
> main.c: In function 'setEffectiveUser':
> main.c:486: error: expected declaration or statement
> at end of input
> make[3]: *** [main.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
>   
use "/* */", not "#"


Reply via email to