Re: having trouble installing gtk2.4 and the required libs for gtk2.4




i deleted/renamed all glib2.x libs i could find.

 Big mistake -- if you are using gnmoe, it is almost the same thing as removing
glibc :P)

i installed pkgconfig0.14.0 and i installed glib2.4.2 into

  pkgconfig 1.5 is already available. (Just so that you know.)


/opt/glib-2.4.2. i tried to install atk-1.6.0. and ran its ./configure

  Once you install glib, you need to set PKG_CONFIG_PATH to the installation
dir.
  as in:
   export PKG_CONFIG_PATH=/opt/glib-2.4.2/lib/pkgconfig

i renamed glib-2.4.2 to old.glib-2.4.2 and tried to run the atk
  Renmaing is not a good thing to do beucase the .pc files still points the the
original install directory.


   You will have to do the follwoing: (Once you install glib)

export  CPPFLAGS="-I/opt/glib-2.4.2/include"
export  LDFLAGS="-L/opt/glib-2.4.2/lib"
export  PKG_CONFIG_PATH="/opt/glib-2.4.2/lib/pkgconfig"
export  LIBRARY_PATH="/opt/gtk/lib"
export  PATH="/opt/gtk/bin:$PATH"

(BTW, this is detailed on the Installation instructions)
http://developer.gnome.org/doc/API/2.4/gtk/gtk-building.html

Once you do this, it should work.

Hope this helps.

Harring  Figueiredo.

    



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail



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