On 1/26/06, Matt Selsky <selsky@columbia.edu> wrote:
> I'm trying to build the Python bindings for Subversion 1.3.0 on Solaris
> and I get the following error during "make swig-py":
> [...]
> ld: fatal: relocations remain against allocatable but non-writable sections
> [...]
> Solaris 9 (sparc)
> gcc 4.0.2
> Subversion 1.3.0
> No Berkeley DB
Hi Matt,
Does the following patch help? This patch is supposed to fix building
the Python bindings on Solaris, and will be included in Subversion
1.3.1. See
http://svn.collab.net/viewcvs/svn/branches/1.3.x/build/get-py-info.py?rev=18156&p1=branches/1.3.x/build/get-py-info.py&p2=branches/1.3.x/build/get-py-info.py&r1=18155&r2=18156
Cheers,
David
>
> My configure options:
>
> CPPFLAGS='-I/opt/local/include' \
> LDFLAGS='-R/opt/local/lib -L/opt/local/lib' \
> ./configure \
> --prefix=/opt/subversion-1.3.0 \
> --without-berkeley-db \
> --with-apxs \
> --with-ssl \
> --with-zlib \
> --disable-mod-activation \
> --without-gssapi
>
> Python is 2.4.2, built locally from source and compiled using gcc.
>
> I was able to build Subversion 1.2.3's Python bindings against Python
> 2.4.2 just fine.
>
> This URL seems to suggest that the problem is lack of -fPIC when
> building:
>
> http://www.scipy.org/mailinglists/mailman?fn=scipy-dev/2004-November/002512.html
>
> I'm not sure if Python needs to be recompiled or if Subversion needs
> -fPIC added?
--
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 29 07:39:15 2006