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

Re: Subversion RPMs with SWIG 1.3.25

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2005-09-10 20:06:32 CEST

On Thu, 8 Sep 2005, David James wrote:

> On 9/6/05, David Summers <david@summersoft.fay.ar.us> wrote:
>> I would love to be able to build Subversion RPMs with SWIG 1.3.25 instead
>> of the (ancient) 1.3.19 (so I can get rid of one more (SWIG) run-time
>> dependency) but I can only get it to package up on RHEL4 and not any of the
>> previous releases (RHEL3, RH9, RH8).
> Me too!
>> It doesn't seem to be propagating the $RPM_BUILD_ROOT directory into the
>> install section when I do the
>> make install-swig-
>> s
> The subversion.spec file for RHEL4 uses the documented "swig-pl" and
> "install-swig-pl" rules to build and install the Perl bindings (This
> works great).
> make swig-pl DESTDIR=$RPM_BUILD_ROOT
> make check-swig-pl
> make install-swig-pl DESTDIR=$RPM_BUILD_ROOT
> On the other hand, the subversion.spec files for RHEL3/RH9/RH8 attempt
> to build and install the Perl bindings by playing with
> subversion/bindings/perl/native/Makefile. This doesn't work anymore,
> because the bindings install process has changed. Is it possible to do
> what you want by using the standard build/install targets?

No, I tried to do the same changes I made to RHEL-4 RPM to the RH7.3,
RH8.0 and RH9.0 packages with no success (hence the original message).

I get either a link error "_Core.o" not found or I get a "can't install
into /usr/lib/python2.2/site-packages/......." message.

For some reason on these platforms (but not on RHEL-4) the staging
directory ($RPM_ROOT_DIR) is not getting passed down to the individual
python, perl installs, or they are not paying attention to it or

> If not,
> what needs to be changed to make the standard build/install targets
> work for you?

Precisely my question. I or someone needs to figure out:
1. Why the $RPM_BUILD_ROOT is not being passed into the DESTDIR correctly
on those platforms.
2. Patch to fix that or an alternate way of doing it.

Any ideas welcome. I've spent 3-4 hours on it a couple of weeks ago and
haven't yet figured it out.

David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 10 20:07:12 2005

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.