Author Topic: [Solved] Need help with ./configure error  (Read 2843 times)

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
[Solved] Need help with ./configure error
« on: August 17, 2011, 05:30:13 AM »
I have bee trying to install a new application on PClinuxOS 2011 lxde
When I run ./configure I get the following message

============================================
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.16.0) 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.

==================================
According to synaptic the gtk pakage and libraries are installed

Installed version  
gtk+2.0 -Installed version 2.24.4-2pclos2011
libgtk+-2.0_0 -Installed version 2.24.4-2pclos2011
libgtk+-x11-2.0_0 -Installed version 2.24.4-2pclos2011

Can someone help in fixing this problem
Do I need to install something else?
This has happened several times with different applications

Thanks
« Last Edit: August 20, 2011, 11:06:33 PM by hasmak »
PCLOS 2011 LXDE

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11598
  • ----IOFLU----
Re: Need help with ./configure error
« Reply #1 on: August 17, 2011, 05:33:18 AM »
I have bee trying to install a new application on PClinuxOS 2011 lxde
When I run ./configure I get the following message

============================================
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.16.0) 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.

==================================
According to synaptic the gtk pakage and libraries are installed

Installed version 
gtk+2.0 -Installed version 2.24.4-2pclos2011
libgtk+-2.0_0 -Installed version 2.24.4-2pclos2011
libgtk+-x11-2.0_0 -Installed version 2.24.4-2pclos2011

Can someone help in fixing this problem
Do I need to install something else?
This has happened several times with different applications

Thanks


Exactly what is it you are trying to install, and why are you compiling it from source?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Need help with ./configure error
« Reply #2 on: August 17, 2011, 06:37:25 AM »

Exactly what is it you are trying to install, and why are you compiling it from source?

The last ap I was trying to install is ejecter v0.4.4
The reason for compiling anything from source is because it is not on the repo or the version on the repo is outdated
This is not the issue, the real issue is what can I do to correct the error?
Thanks
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Need help with ./configure error
« Reply #3 on: August 17, 2011, 07:11:49 AM »
hasmak,
For the purposes of the stability of your system and for the support of your installation, it is strongly advised that your not install from outside sources. If you choose to do so, it is expected that you are advanced enough to support yourself. Any member here may help you in this, if they choose, but that is purely voluntary.

We have a section of the forum where users may ask for packages to be updated or for new packages to be added to our repos. Read the rules and please follow them, if/when you post in the Package Suggest section.  
« Last Edit: August 17, 2011, 07:19:49 AM by Neal »

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: Need help with ./configure error
« Reply #4 on: August 17, 2011, 08:00:35 AM »

"./configure" script looks for development packages. It complains about missing "gtk+-2.0" package and hence the package you are supposed to install is the one with a name that is made up of "gtk+-2.0" and "-devel".

The package you are most likely missing is "libgtk+-2.0_0-devel". Install this package and try again and see if you will pass that step. Do the same for all packages that will be seen as missing.

Requesting a package when it is not in the repository or when the one up there is outdates is a better alternative. Doing it this way will help all others who may want to use this application and it will save you the trouble of manually maintaining this package and risking a possibility of breaking something on your system.

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Need help with ./configure error
« Reply #5 on: August 17, 2011, 09:57:06 AM »
Solved
Thanks to everyone
I installed the development package and it worked
Thanks again
PCLOS 2011 LXDE