browntastic
Posts: 10
Joined: Sun Oct 19, 2014 5:23 pm

No package 'gtk+-2.0' found

Sun Nov 02, 2014 10:54 pm

I'm trying to install xoscope on my RPi, but have run into some trouble with GTK. When I compile, I receive this error:

Code: Select all

checking for GTK... configure: error: Package requirements (gtk+-2.0
>= 2.2) were not met:
 
No package 'gtk+-2.0' found
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
 
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I have GTK 2.0 installed, so what am I missing?

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: No package 'gtk+-2.0' found

Sun Nov 02, 2014 11:27 pm

sudo apt-get install libgtk2.0-dev
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Advanced users”