Re: [squid-users] error compile squid2.6.stable1

2006-07-10 Thread Henrik Nordstrom
mån 2006-07-10 klockan 12:04 +0700 skrev tino:

 tools.c:40:28: error: sys/capability.h: No such file or directory

 solved after copy capability.h from /usr/include/linux/  to 
 /usr/include/sys/

Correct fix is to install libcap-devel
where /usr/include/sys/capabilities.h resides..

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


[squid-users] error compile squid2.6.stable1

2006-07-09 Thread tino



Hi,
I just configure squid.2.6.stable1, (fedora4  kernel 2.6.15.7 with cttproxy 
patch)   get the following error :


tools.c:40:28: error: sys/capability.h: No such file or directory
tools.c: In function âleave_suidâ:
tools.c:636: error: âcap_user_header_tâ undeclared (first use in this 
function)

tools.c:636: error: (Each undeclared identifier is reported only once
tools.c:636: error: for each function it appears in.)
tools.c:636: error: syntax error before âheadâ
tools.c:637: error: âcap_user_data_tâ undeclared (first use in this 
function)

tools.c:639: error: âheadâ undeclared (first use in this function)
tools.c:639: error: â_LINUX_CAPABILITY_VERSIONâ undeclared (first use in 
this function)

tools.c:641: error: âcapâ undeclared (first use in this function)
tools.c:641: error: âCAP_NET_ADMINâ undeclared (first use in this function)
tools.c:641: error: âCAP_NET_BIND_SERVICEâ undeclared (first use in this 
function)
tools.c:641: error: âCAP_NET_BROADCASTâ undeclared (first use in this 
function)

tools.c:642: warning: implicit declaration of function âcapsetâ


solved after copy capability.h from /usr/include/linux/  to 
/usr/include/sys/




regards,
Tino