GNOME Bugzilla – Bug 318534
Allow pyspi to be buildable using jhbuild
Last modified: 2006-07-28 17:47:47 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?)
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".
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).
It should go in $prefix/$lib/python2.4/site-packages. I wasn't even aware jhbuild worked without a bootstrap.
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)
Committed; builds for me in a bootstrapped jhbuild environment -> fixed