Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

gtk+- error

shyam singh bisht
Occasional Advisor

gtk+- error

Hi ! all

I am trying to install abiword-2.2.7 , I have downloaded the source code for it.

now, when i try to ./configure it gives me the error

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

I think I have to download the latest version of gtk+-2.0 , as i have gtk+-1.2.10

But what is this pkg-config search path & adding directories to PKG_CONFIG_PATH environment variable.

any kind of help will be appreciated.

I M A newbei


Shyam Singh Bisht
Steven E. Protter
Exalted Contributor

Re: gtk+- error

Print the contents of PKG_CONFIG_PATH variable and compare them to any notes in the installation instructins.

Also, if you have a system this compile works on, compare the entire environment as follows:

env > /tmp/
env > /tmp/env.notsogood # on nonworking system.

tranfer thte two files to one machine and use diff to compar them. Make changes to notsogood as needed and try again.

Steven E Protter
Owner of ISN Corporation
Trusted Contributor

Re: gtk+- error

Hi Shyam,

Check if gtk+ is installed with rpm -qa gtk+.
If not installed, install with yim install gtk+ or download gtk+-****.rpm from site.


Nothing is more successfull as failure
Honored Contributor

Re: gtk+- error


I think you might be missing the gtk* package, run the command
#rpm -qa |grep -i gtk

If it does not return anything you need to download and install it with it's dependencies.