"Package gtk+-2.0" not found in pkg-config search path

Asked by Gary Kline

guya,

i was =positive= that my "voice-by-computer" program that is for the speech impaired would build under ubuntu [12.04], but so far, nada. i get from somewhere---and i am guessing this is from the makefile environment--the following to stdout::

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
cc -g -Wall -DGSEAL_ENABLE=1 -DG_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 -c -o vbc.o vbc.c
vbc.c:8:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [vbc.o] Error 1

can anyone on launchpad.net tell me what';s i'm doing wrong? and how to fix! my VBC suite is so far five C files mixed with GTK+ [[which is a bear to learn]]. this compiles under another flavor of linux that crashes every few hours. ubuntu is reasonably stable and it would be nice if i could finiksh up here. so far, "locate" finds a lot of gtk files, but no gtk+ files. so i'm wedged. i'd be much obliged for any insights.

gary kline

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Gtk2 is obsolete and you will not find any Ubuntu packages for it. You will need to find Gtk3 based solutions to satisfy deps easily

Can you help with this problem?

Provide an answer of your own, or ask Gary Kline for more information if necessary.

To post a message you must log in.