If pkgconfig is installed corerctly, then you should have /sw/lib/pkgconfig/gtk+-2.0.pc
Also, check the fink FAQ: http://fink.sourceforge.net/faq/usage-general.php#compile-myself On Wed, 2003-03-05 at 13:26, Joseph J. Strout wrote: > 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 -- Alexander K. Hansen Associate Research Scientist, Columbia University visiting MIT Plasma Science and Fusion Center Levitated Dipole Experiment 175 Albany Street, NW17-219 Cambridge, MA 02139-4213 ------------------------------------------------------- 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
