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 93469 - libIDL-config-2 --cflags and libIDL-config-2 --libs does not work correctly
libIDL-config-2 --cflags and libIDL-config-2 --libs does not work correctly
Status: RESOLVED FIXED
Product: libIDL
Classification: Deprecated
Component: general
0.8.x
Other Linux
: Normal normal
: ---
Assigned To: Mark McLoughlin
Mark McLoughlin
Depends on:
Blocks:
 
 
Reported: 2002-09-17 06:38 UTC by Jay Yan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jay Yan 2002-09-17 06:38:01 UTC
and I found that libIDL-config-2 are using legacy configuration
"glib-config" instead of pkg-config. it leads to that it does not work well.

please see the output of libIDL-config-2 in my machine:


bash-2.05$ libIDL-config-2 --version
0.8.0
bash-2.05$ libIDL-config-2 --cflags
/usr/gnome/bin/libIDL-config-2: glib-config: not found
-I/usr/gnome/include/libIDL-2.0
Comment 1 Jay Yan 2002-09-17 06:39:21 UTC
john.sun@sun.con has a good patch here:

http://bugzilla.mozilla.org/attachment.cgi?id=91932&action=view
Comment 2 Mark McLoughlin 2002-09-20 01:07:01 UTC
Thanks guys ...

I've committed this to HEAD

2002-09-20  Mark McLoughlin  <mark@skynet.ie>

        * libIDL-config.in: use pkg-config --(libs|cflags) glib-2.0.
        instead of glib-config. The script is still going to go
        away at soe stage though :-)
        Patch from john.sun@sun.com and Jay Yan <jay.yan@sun.com>,
        Fixes #93496.