Re: gtklib

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Monday 11 February 2002 06:26 pm, Chris Burch wrote:

> I did try to run the gtk demos from an xterm (well konsole actually, looks
> nicer), but they just did nothing (actually used mc, with pause after run
> set on to make sure I don't miss anything exciting) - they didn't produce
> any errors or anything. KDE 2 incidentally.

I think I know what the problem is. libgtk has multiple dependencies
(about a dozen) and each of those has its own dependencies.
No doubt you are missing some library files that are needed. 
Rather than trying to track them all down, which could take days, 
why not just reload Mandrake. Choose "expert" mode, and select 
"Development Station" (something like that) as well as any others 
you want. (Web server, etc). Be sure to choose both Gnome and KDE 
as your GUI's of choice. That should load everything you need, as 
Elias pointed out.

> By the way, my curiosity is now piqued - what does `gtk-config --cflags
> --libs' do ?

It's a program that returns a list of the libraries and where they're located.
Much easier than typing in:
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
-lglib -ldl -lXi -lXext -lX11 -lm

Regards,
Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu