Date: Mon, 11 Aug 2003 08:13:10 -0400 From: Garrett Rooney <rooneg@electricjellyfish.net> To: Ben Collins-Sussman <sussman@collab.net> Cc: "Daniel S. Haischt" <me@daniel.stefan.haischt.name> Subject: Re: [PYTHON-BINDINGS] compiling FreeBSD port with svn bindings Message-ID: <3F378856.1010601@electricjellyfish.net> In-Reply-To: <m3isp4o0wn.fsf@kepler.ch.collab.net> References: <3F371A07.8000604@daniel.stefan.haischt.name> <m3isp4o0wn.fsf@kepler.ch.collab.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F378856.1010601>