install gobject-introspection

Hi Friends,

I am not a Gnome developer.  I was simply trying to install Workrave in my new linux machine.  I don't think that there is a static linked binary for workrave.  At least I search and did not find one.  So I have to build it.  One of the dependency on GTK+ is the gobject-introspection.

I have suffered for a while and still could not get this package installed.  I have fitured out the reason for this problem. During configure and make stage, the path to glib-2.0 is using /usr/local, but during install it uses /usr

The maintainer assured me that this is not a bug, but rather it the consequence of my machine.  When I searched the internet, I saw quite a few people suffered the same symptoms.  Thus, I am asking for help from any one who is qualified and willing to help.

configure -- runs without any problem
make       -- no problem, it was using /usr/local/lib for linking
make install  -- the path switched to /usr/lib, now I am having the problem

Here is the last few lines of the result of 'make --debug install'

This program built for x86_64-redhat-linux-gnu
Reading makefiles...
Updating goal targets....
 File `install-am' does not exist.
   File `all-am' does not exist.
         Prerequisite `stamp-h1' is newer than target `config.h'.
        Must remake target `config.h'.
make[2]: Entering directory `/d1/zhouke/download/failedgobj/gobject-introspection-1.37.4'
        Successfully remade target file `config.h'.
       File `/usr/include/glib-2.0/glib/*.h' does not exist.
      Must remake target `/usr/include/glib-2.0/glib/*.h'.
make[2]: *** No rule to make target `/usr/include/glib-2.0/glib/*.h', needed by `GLib-2.0.gir'.  Stop.
make[2]: Leaving directory `/d1/zhouke/download/failedgobj/gobject-introspection-1.37.4'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/d1/zhouke/download/failedgobj/gobject-introspection-1.37.4'
make: *** [install] Error 2

If anyone knows how to stwitch the MACRO value for glib-2.0 from /usr/include to /usr/local/include and other variables then my problems will go away.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]