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

Re: [PYTHON-BINDINGS] compiling FreeBSD port with svn bindings

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-08-11 14:13:10 CEST

Ben Collins-Sussman wrote:
> "Daniel S. Haischt" <me@daniel.stefan.haischt.name> writes:
>
>
>>/usr/local/lib/apache2/libapr-0.so: undefined reference to `pthread_create'
>>
>>can you give me any pointers what is going wrong or how to
>>compile subversion with the --with-swig option set to yes?
>
>
> The swig-py bindings require APR threads, but on FreeBSD, APR disables
> threads by default. You need to make sure APR is configured with the
> --enable-threads option.

Actually, gstein, jerenkrantz, and myself discussed this at OSCON, and
came up with a way to make it work without apr threads, something about
requiring us to pick up the python interpreter lock when entering
subversion code if we don't have threads turned on in apr (since all
subversion calls are potentially not thread safe in that case).

I don't think anyone has gotten around to implementing this, but it
seems like this problem can be made to go away in the near future.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 11 14:14:03 2003

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

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