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 663287 - gobject-introspection-1.31.0 not building
gobject-introspection-1.31.0 not building
Status: RESOLVED DUPLICATE of bug 592311
Product: gobject-introspection
Classification: Platform
Component: general
1.31.x
Other Windows
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-11-03 04:00 UTC by vishal
Modified: 2015-02-07 17:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
log file of the `configure` script (61.85 KB, text/plain)
2011-11-03 04:00 UTC, vishal
Details

Description vishal 2011-11-03 04:00:52 UTC
Created attachment 200563 [details]
log file of the `configure` script

I am trying to compile gobject-introspection-1.31.0 (GI) for i686-cm-linux from a i686-pc-linux-gnu machine. While configuring GI, libraries of glib, gio, gobject and python and many others are found properly. Please find the attached config.log.

But after running make, I find the following error:

      "CCLD   glib-print
      GEN    g-ir-scanner
      GEN    g-ir-annotation-tool
      GEN    g-ir-doc-tool
      GISCAN GLib-2.0.gir
    Package gio-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gio-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gio-2.0' found
    Package gthread-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gthread-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gthread-2.0' found
    Package gio-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gio-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gio-2.0' found
    Package gthread-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gthread-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gthread-2.0' found
    /usr/bin/ld: cannot find -lglib-2.0
    collect2: ld returned 1 exit status
    linking of temporary binary failed: Command '['/bin/sh', './libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/vishaln/a/gobject-introspection-1.31.0/tmp-introspectLlklOf/GLib-2.0', '-export-dynamic', '-lglib-2.0', '-lgobject-2.0', '/home/vishaln/a/gobject-introspection-1.31.0/tmp-introspectLlklOf/GLib-2.0.o']' returned non-zero exit status 1
    make[2]: *** [GLib-2.0.gir] Error 1
    make[2]: Leaving directory `/home/vishaln/a/gobject-introspection-1.31.0'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/vishaln/a/gobject-introspection-1.31.0'
    make: *** [all] Error 2"

pkg config path is is: PKG_CONFIG_PATH=/home/vishaln/crossed/lib/pkgconfig

ls /home/vishaln/crossed/lib/pkgconfig/g*
gio-2.0.pc  gio-unix-2.0.pc  glib-2.0.pc  gmodule-2.0.pc  gmodule-export-2.0.pc  gmodule-no-export-2.0.pc gobject-2.0.pc  gthread-2.0.pc

I tried rebuilding glib.
I tried different versions of GI.
Nothing worked.
Comment 1 Colin Walters 2012-03-13 15:50:45 UTC
Are you trying to cross-compile?  Then this would be a dup of https://bugzilla.gnome.org/show_bug.cgi?id=592311
Comment 2 Colin Walters 2012-10-27 15:56:43 UTC

*** This bug has been marked as a duplicate of bug 592311 ***
Comment 3 André Klapper 2015-02-07 17:01:42 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]