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

Re: Problem with compiling Perl bindings (1.6.17) on PowerPC

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 22 Nov 2011 23:47:56 +0000

Justin Hibbits <chmeeedalf_at_gmail.com> writes:

> I tracked it down to the building of libsvn_swig_perl-1.a, and
> swig_util_pl.c is compiled without -fPIC, which is required to build shared
> libraries on PowerPC. Manually adding '-fPIC' to the COMPILE_SWIG_PL line
> in the top-level Makefile (line 180) fixed this. But, in this, I noticed
> there is no usage of a SWIG_PL_COMPILE, while there is a SWIG_PY_COMPILE
> and SWIG_RB_COMPILE.

Subversion uses "perl -MExtUtils::Embed -e ccopts" to determine which
flags to use. Is the problem a fault with Subversion or your Perl
installation? If you want to try writing a patch then look at
build/ac-macros/swig.m4.

-- 
Philip
Received on 2011-11-23 00:48:35 CET

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.