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 435132 - Wrong pygobject-2.0.pc file
Wrong pygobject-2.0.pc file
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-02 09:58 UTC by Luca Ferretti
Modified: 2007-05-02 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add libdir in pygobject PC file (402 bytes, patch)
2007-05-02 10:03 UTC, Luca Ferretti
none Details | Review

Description Luca Ferretti 2007-05-02 09:58:23 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
Comment 1 Luca Ferretti 2007-05-02 10:03:57 UTC
Created attachment 87381 [details] [review]
Patch to add libdir in pygobject PC file

This solves my issue with jhbuild.
Comment 2 Johan (not receiving bugmail) Dahlin 2007-05-02 13:27:05 UTC
Thanks for the patch Luca, this was committed as revision 666 (!).