Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
check if you have a file called gtk+-2.0.pc on /usr/local/lib/pkgconfig.. also, when installing gtk-2 from source, did you specify any option when running the configure script (--prefix option for instance).
if you installed a new pkg-config before installing glib, it is better to remove the old one (rpm -e pkgconfig).
regards,
hfawzy
I guess I have everything a bit messed up!...the only gtk+-2.0.pc that I could find is /usr/local/gtk+-2.0.pc.in
When installing the new gtk from source I did not specify any --prefix option, should i point it to /usr/local/something?, somewhere I read to point it to /opt/gtk....
I installed a new pkconfig, but I cant uninstall the old one because XFee86-devel-4.3.0-2 needs it......should I force it or I might need the X develop later on?
Sorry I cant get this working, I am still very unexperienced in RH9, but I have learned loads the past days....
Any help will be much appreciated...
Very strange.
I recommend you to uninstall GTK and reinstall it. To uninstall it , cd to the directory that contain sources, then type make uninstall and make clean.. then run the configure script without any options, make and make install... and see if gtk+-2.0.pc exists on /usr/local/lib/pkgconfig
i got the same error when trying to install pango. afaik, glib-2.2.2 installed correctly because pkg-config (0.15) see is when i do a "pkg-config --list-all".
how do i uninstall glib-2.2.1?? where is it? how do i check where the relevant files r (2.2.2 vs 2.2.1)? i wish there was a "glib -version" or a "which glib" type command rt?
Originally posted by saimike here's a me too post ...
i got the same error when trying to install pango. afaik, glib-2.2.2 installed correctly because pkg-config (0.15) see is when i do a "pkg-config --list-all".
how do i uninstall glib-2.2.1?? where is it? how do i check where the relevant files r (2.2.2 vs 2.2.1)? i wish there was a "glib -version" or a "which glib" type command rt?
i installed pkg-config and glib from source. (./configure, make, make install)
I ve been stuck here for a while....Ive tried uninstalling the GLIB and GTK rpm that came with the distro )forcing it of course because of the dependencies), set the PKG_CONFIG_PATH a thousand times(with an ldconfig afterwards eaxh time), I even tried upgrading gtk from the rh portal, removing old pkgconfigs, editing ld.so.conf. So far, I still think there is a mistake because pkg-config and pkgconfig do not recognize that GTK has been upgraded....
Is there an rpm for GTK so I can just upgrade it?.....or is there another way of going away with this one because it seems a common problem in this forum but somehow its been tough so far...
Is there a specific directory to install gtk?, ive always tried on /usr/local.....
When you install GTK in /opt or in /usr/local, it doesn't make any difference.
After deleting and reinstalling GTK,does a file called gtk+-2.0.pc exists on your /usr/local/lib/pkgconfig ?
Also, try setting the enviroment variables you posted but with a different prefix:
OK after one month!!!!!!!!!
I realized I can never find my way with source code!...So I got all the rpms for glib, gliv devel, gtk2, gtk2 devel and using rpm -Uvh for upgrading existing libraries:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.