After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318534 - Allow pyspi to be buildable using jhbuild
Allow pyspi to be buildable using jhbuild
Status: RESOLVED FIXED
Product: pyspi
Classification: Deprecated
Component: general
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: PySPI Maintainers
PySPI Maintainers
Depends on:
Blocks: 318531
 
 
Reported: 2005-10-11 04:39 UTC by Dave Malcolm
Modified: 2006-07-28 17:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add an "install" target to the Makefile (372 bytes, patch)
2006-07-28 11:55 UTC, Dave Malcolm
committed Details | Review

Description Dave Malcolm 2005-10-11 04:39:23 UTC
Looks like setup.py doesn't work totally in a jhbuild environment.  Needs to be
able to pick up on the correct place to install the module, for starters.  (does
it build on top of the correct at-spi?)
Comment 1 Zack Cerza 2005-11-16 18:02:19 UTC
Why is it that setup.py doesn't work in a jhbuild environment? It calls
"pkg-config --cflags cspi-1.0" and "pkg-config --libs cspi-1.0".
Comment 2 Dave Malcolm 2005-11-16 18:08:06 UTC
IIRC the module built OK, but where should the resulting module be installed?

Looking back, I think when I filed this I hadn't done a "jhbuild bootstrap".

Maybe if you do a "jhbuild bootstrap" it works (the bootstrap stuff builds and
installs its own version of Python, so it would make sense for the resulting
pyspi module to be installed in the sitemodules for that local Python build;
otherwise, where should Pyspi go?  You can't randomly install it into the system
Python; I don't currently know what support jhbuild has for non-standard python
modules without doing a bootstrap; worth investigating).
Comment 3 Zack Cerza 2005-11-16 18:50:46 UTC
It should go in $prefix/$lib/python2.4/site-packages.

I wasn't even aware jhbuild worked without a bootstrap.
Comment 4 Dave Malcolm 2006-07-28 11:55:00 UTC
Created attachment 69817 [details] [review]
Patch to add an "install" target to the Makefile

With this patch it works fine for me in jhbuild (provided I've bootstrapped the environment, and hence have a copy of Python within the jhbuild that I can install to the site-packages of)
Comment 5 Dave Malcolm 2006-07-28 17:47:47 UTC
Committed; builds for me in a bootstrapped jhbuild environment -> fixed