I've installed "gtk+2-shlbs" and "pkgconfig" packages using fink. I'm now trying to follow the gtk tutorial (see http://www.gtk.org/tutorial/ch-gettingstarted.html). But I can't get even the minimal app to compile:

jstrout% gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
base.c:2: header file 'gtk/gtk.h' not found
base.c:7: undefined type, found `GtkWidget'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode

I'm new to Unix and haven't a clue where to go look for these things. It's true that I don't seem to have a gtk+-2.0.pc file on my hard drive. Is there some other package I need to install?

Thanks,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout         Check out the Mac Web Directory:     |
|    [EMAIL PROTECTED]           http://www.macwebdir.com/            |
`------------------------------------------------------------------'



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to