Hi,
I had the same error with OSX 10.3 and Apache 2.2.0. The fix was to add the
fourth parameter required by deleting lines 214 & 216:
if ((rv = apr_socket_create(&aprsock, AF_INET, SOCK_STREAM,
#if (APR_MAJOR_VERSION > 0)
APR_PROTO_TCP,
#endif
r->pool)) != APR_SUCCESS) {
log_error("Failure creating socket for appserver
connection",r->server);
return NULL;
}
becomes:
if ((rv = apr_socket_create(&aprsock, AF_INET, SOCK_STREAM,
APR_PROTO_TCP,
r->pool)) != APR_SUCCESS) {
log_error("Failure creating socket for appserver
connection",r->server);
return NULL;
}
Hope that works for you too.
Cheers
Colin
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
|