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

0.24.2: hard-to-repro build trouble on Cygwin

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2003-06-23 21:16:29 CEST

I don't know if you'll be able to do anything about this, but I
figured it wouldn't hurt to mention it.

This is on a Cygwin system that was updated today, and on which I
installed everything that the Cygwin setup program offers.

I did not unpack the Berkeley DB tarball (or anything else) into the
subversion directory, since I only wanted to build the client.

I configured like this:

        ./configure --prefix=/usr/local/stow/svn-0.24.2/

Then I did `make', and saw this error:

swigutil_py.c, line 52:
        #error The python bindings require threads. APR was compiled
without threads.

I didn't (and still don't) understand the error. Since I've built
many previous releases of subversion with no problem, I decided to
sweep the problem under the rug by adding the line `#undef
WITH_THREAD' just before `#if defined (WITH_THREAD)'. Then the build
completed, and `make check' reported no failures, so I did `make
install' and it seems to work OK.

But I tried to repro the problem on another machine, and couldn't.
That machine was a VMware box on which I'd freshly installed Win2k and
Cygwin; the build worked fine the first time, with no tweaks.

Both machines have the same version of Python, whose
/usr/include/python2.2/pyconfig.h file says `#define WITH_THREAD 1'.
And on both machines,
/usr/local/src/subversion-0.24.2/apr/include/apr.h says `#define
APR_HAS_THREADS 0'. I can't understand why the problem appeared on
one machine and not the other.

For what it's worth: on the machine on which the problem occurred, I
originally installed Cygwin a long time ago, and have been upgrading
it, whereas the machine which had no problem (as I mentioned above)
was a virgin installation.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 23 21:17:42 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.