GNOME Bugzilla – Bug 435132
Wrong pygobject-2.0.pc file
Last modified: 2007-05-02 13:27:05 UTC
Configuring the gnome-python module on my jhbuild sandbox (targeting gnome-2.20) I've this error message: >>> checking for PYGTK... configure: error: Package requirements (pygtk-2.0 >= 2.10.3) were not met: Variable 'libdir' not defined in '/opt/gnome2/lib/pkgconfig/pygobject-2.0.pc' Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. >>> I suspect it's related with the line Libs: -L${libdir} @FFI_LIBS@ recently added to pygobject-2.0.pc file (see [1]). The "libdir" key is missing in this file. [1] http://svn.gnome.org/viewcvs/pygobject/trunk/pygobject-2.0.pc.in?r1=580&r2=651
Created attachment 87381 [details] [review] Patch to add libdir in pygobject PC file This solves my issue with jhbuild.
Thanks for the patch Luca, this was committed as revision 666 (!).