sendfile hosing apache?

Mark Napper m.napper at digital-euphoria.net
Wed May 4 22:43:58 PDT 2005


Peter Avalos wrote:

[snip]

So, I tried making the port with CCVER?=gcc34, and I get this error:

Making all in network_io/unix
/bin/sh /usr/ports/www/apache2/work/httpd-2.0.53/srclib/apr/libtool --silent --mode=compile cc   -O -pipe -mtune=pentiumpro -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE   -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c sendrecv.c && touch sendrecv.lo
sendrecv.c:965:2: #error APR has detected sendfile on your system, but nobody has written a
sendrecv.c:966:2: #error version of it for APR yet. To get past this, either write apr_sendfile
sendrecv.c:967:2: #error or change APR_HAS_SENDFILE in apr.h to 0.
*** Error code 1
Stop in /usr/ports/www/apache2/work/httpd-2.0.53/srclib/apr/network_io/unix.
*** Error code 1
So, I'm curious on how people are building this port, and not getting the sendfile
problem I reported earlier...


Is anyone able to compile this with gcc34, and is anyone else seeing this
sendfile issue?
Peter
I just ran into the exact same issue with gcc34 - however 
/usr/ports/devel/apr builds and installs just fine - I'm wondering if 
there is a way to kludge the two together somehow...?

Mark





More information about the Bugs mailing list