On Thu, Jun 15, 2006 at 12:27:58PM -0400 or thereabouts, James Antill wrote:
> Ashley Palmer <as...@7a...> writes:
>
> > hello james, any chance you could bring any light on this compile error
> > on slackware-10.1.0 useing currect versions of and-http and its libs
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/local/include
> > -DHTTPD_CONF_VERSION='"0.99.6"' -g -O2 -c -o and_httpd-and-httpd.o `test
> > -f 'and-httpd.c' || echo './'`and-httpd.c
>
> The current version is 0.99.8, there have been a lot of build fixes
> since 0.99.6.
>
> > and-httpd.c: In function `serv_cmd_line':
> > and-httpd.c:710: error: `cap_t' undeclared (first use in this function)
> > and-httpd.c:710: error: (Each undeclared identifier is reported only
> > once
> > and-httpd.c:710: error: for each function it appears in.)
> > and-httpd.c:710: error: parse error before "caps"
> > and-httpd.c:712: error: `caps' undeclared (first use in this function)
>
> This means you don't have the development parts of libcap installed,
> so you won't be able to do a couple of things related to dropping
> privileges.
>
> > make[2]: *** [and_httpd-and-httpd.o] Error 1
> > make[2]: Leaving directory `/usr/src/and-httpd-0.99.6/src'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/usr/src/and-httpd-0.99.6/src'
> > make: *** [all-recursive] Error 1
> >
> >
> > thank you
>
> n/p, let me know how it goes.
>
> --
> James Antill -- ja...@an...
> http://www.and.org/and-httpd
Worked perfect!
|