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

Re: svn commit: r16237 - trunk/packages/rpm/redhat-7.x

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2005-09-24 19:28:10 CEST

On Sat, 24 Sep 2005, David Summers wrote:

> On Sat, 24 Sep 2005, David James wrote:
>> On 9/24/05, david@tigris.org <david@tigris.org> wrote:
>>> # Install Python bindings.
>>> -make install-swig-py DESTDIR=$RPM_BUILD_ROOT
>>> +make install-swig-py DESTDIR=$RPM_BUILD_ROOT
>>> mkdir -p $RPM_BUILD_ROOT/usr/lib/python2.2/site-packages
>>> mv $RPM_BUILD_ROOT/usr/lib/svn-python/*
>>> $RPM_BUILD_ROOT/usr/lib/python2.2/site-packages
>>> +(cd
>>> $RPM_BUILD_DIR/%{name}-%{version}/subversion/bindings/swig/python/.libs/
>>> +for i in _*.soU
>>> +do
>>> + n=`basename $i U`
>>> + mv $i $RPM_BUILD_ROOT/usr/lib/python2.2/site-packages/libsvn/$n
>>> +done
>>> +)
>>> rmdir $RPM_BUILD_ROOT/usr/lib/svn-python
>> David, thanks for figuring out the solution to this problem! I'd like
>> to move your code into the standard Python installer, so that we can
>> correctly do "DESTDIR" installations out of the box on all systems
>> which require this extra incantation. Ideas?
> Followup. I could send you the RPM output so you could see what is happening
> if you would like. The libtool fails on relinking but it doesn't correctly
> error because it is inside a shell "()" construct which ignores errors.

Second followup. It might be something as simple as providing the right
link directory -L option for the -lsvn_swig_py library during the relink.
But I'm not sure how to tell it that.

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 24 19:29:37 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.