[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion 1.4.6 tarballs up for testing/signing

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2007-12-13 04:39:22 CET

On Dec 12, 2007, at 4:19 PM, Hyrum K. Wright wrote:

> I've rerolled
> the 1.4.6 tarball with (hopefully) the correct dependencies.

subversion-1.4.6.tar.gz + subversion-deps-1.4.6.tar.gz, OS X 10.5.1
(Leopard):

"make && make check" pass.

One known (Leopard, apr) hiccup:

> sendrecv.c:967:2: error: #error or change APR_HAS_SENDFILE in apr.h
> to 0.

Manually editing apr.h at this point, as directed, makes everything
wonderful.

Actually, that APR_HAS_SENDFILE thing deserves an additional word or
two. When you try to build APR on Leopard (OS X 10.5.1), the build
fails:

> sendrecv.c:965:2: error: #error APR has detected sendfile on your
> system, but nobody has written a
> sendrecv.c:966:2: error: #error version of it for APR yet. To get
> past this, either write apr_sendfile
> sendrecv.c:967:2: error: #error or change APR_HAS_SENDFILE in apr.h
> to 0.

The problem is widely discussed on the net:

* DarwinPorts lists, http://apr.darwinports.com/
* the Apple boards, http://discussions.apple.com/thread.jspa?messageID=6056013
* the apache lists, http://mail-archives.apache.org/mod_mbox/tomcat-dev/200604.mbox/%3CFDC6BC65-02FE-4616-AECF-D22F816CC786@objektpark.de%3E
* and several personal blogs and what-not
* * http://wincent.com/knowledge-base/Installing_Subversion_1.4.3_on_Mac_OS_X_Leopard
* * http://diymacserver.com/2007/11/17/compiling-apache-on-leopard/

but I don't see any mention of it in any subversion lists.

I think the Darwin Ports APR has this fixed, so their build goes
through without manual intervention (not sure, since I don't actually
use DP -- anyone? anyone?). But for anyone else, the simplest
response is (as suggested in the error message) to "change
APR_HAS_SENDFILE in apr.h to 0."

-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 13 18:19:45 2007

This is an archived mail posted to the Subversion Dev mailing list.