beginners question



Hi,
 
I'm switching from WinXP to Linux (Suse 9.0), so I have some questions.
 
First I want to say:
    I can compile and execute a 'hello world'-like program
so I think the compiler is installed properly.
 
On my machine I have installed gtk (version 2.2.3-27) + gtk-devel + gtk-doc. The example-pgm is running.
 
I have an older book here about Linux programming with some examples in Gtk+, but the sources do not compile on my machine (the CD contains sources and executables and the executables do run). I think my problem is the following line in the make-file:
 
        gcc `gtk-config --cflags --libs`    .......
 
but there is no file gtk-config on my machine. Somewhere I found a hint that gtk-config does no longer exists, one should use pkg-config instead. But again I do not find this on my machine.
 
What's wrong here? Did I forget to install a package?
 
Thanks.
August
 
PS: I'm new on this mailing-list so I want to describe myself a bit: my first PC was a Commodore PET (1 MHZ 6502, 8KB RAM, cassette-recorder). Since this time I'm developing software on PCs in various languages, mostly Basic and C.
 
 


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