On Aug 31, 2009, at 3:07 PM, Paul Querna wrote:

On Mon, Aug 31, 2009 at 10:53 AM, Jim Jagielski<[email protected]> wrote:

On Aug 31, 2009, at 1:48 PM, Paul Querna wrote:

On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<[email protected]> wrote:

If compiling, at least for now, make sure you use CC='gcc -arch i386' (or use gcc-4.0)... APR won't build under both archs and the default
for gcc-4.2 is to build for x86_64, which makes APR barf.


did anyone ask friends at apple for their patchset for apr/httpd?


Not yet...

The 64bit errors seem (VERY prelim look, btw) related to warnings
about apr_off_t looking like ld, eg:

mod_proxy_http.c: In function 'stream_reqbody_cl':
mod_proxy_http.c:466: warning: format '%ld' expects type 'long int', but
argument 7 has type 'apr_off_t'
mod_proxy_http.c:466: warning: format '%ld' expects type 'long int', but
argument 8 has type 'apr_off_t'

yeah, they should all be easy fixes, most likely a few new lines in
build/apr_hints.m4 is all that is needed.

We should also be able to enable KQueue on 10.6, word from apple
people was that its fixed again :)

I'll most likely be instlaling it tonight and give it a try.


Yeah... it's looking like long and off_t are all 8, but in
./i386/_types.h we get:

    ./i386/_types.h:typedef long long           __int64_t

and, of course, off_t is typedef'ed to that.

So with x86_64, long long is long, but this is confusing apr...

That's all the time I have right now to look any deeper...

Reply via email to