The NZ Linux Resource

[AuckLUG] Help with paths /env.variables etc.

David Moore djm at linuxsoftware.co.nz
Sun Oct 22 01:31:42 NZDT 2006


Hi Ron,

On Sat, 21 Oct 2006 10:14:18 +1300
Ronald Johns <ronaldj at orcon.net.nz> wrote:
> This installing stuff is always shaky ground for me on account of IHGAC 
> syndrome (I Haven't Got A Clue).
> Now GTK+ came as a .rpm which went in via pirut or pup ,I'm not sure but 
> anyway it ended up in my ~/home directory in a subfolder 
> ~/home/gaspode/GTK+. So far so good. but ,and I think here I should have 
> installed pkt-config first ;pkt came as a tar.gz which I ended up 
> opening inside the GTK+ folder.

You're running Fedora Core 5 right?

It sounds to me like you've installed both GTK+ and pkg-config manually, 
perhaps from source?  

You will make life much simpler for yourself if you use the versions which 
come with Fedora Core 5.  pkg-config is in pkgconfig, GTK+  header files 
and developer docs are in gtk2-devel.

How to do this.... 

option #1 - From the command line...
su -c "yum install gtk2-devel"
 
or option #2 - From the GUI....
menu|Applications|Add/Remove Software|Search|tick gtk2-devel|Accept

When I type "pkg-config --cflags --libs gtk+-2.0" I get
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
Hopefully you will too.


Hope this helps,
David.





More information about the AuckLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz