Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-22-2003, 02:13 PM
|
#16
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
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
|
|
|
08-22-2003, 03:24 PM
|
#17
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
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...
Manuel
|
|
|
08-22-2003, 03:45 PM
|
#18
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
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
Hope that Helps,
Al Hussein
|
|
|
08-24-2003, 12:30 AM
|
#19
|
Member
Registered: Aug 2003
Posts: 71
Rep:
|
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?
|
|
|
08-24-2003, 02:59 AM
|
#20
|
Member
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100
Rep:
|
Hi saimike,
Did you install from source, RPM, or both?
There are multiple problems being discussed so it would probably be a good idea to post the exact error message to avoid confusion.
|
|
|
08-25-2003, 11:09 AM
|
#21
|
Member
Registered: Aug 2003
Posts: 71
Rep:
|
Quote:
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)
|
|
|
08-25-2003, 07:54 PM
|
#22
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
PLEASE HELP!
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.....
thanx
manuel
|
|
|
08-25-2003, 09:09 PM
|
#23
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
I found the following in the gtk.org porat....Is it any good?
"If you were installing GTK+ and it's dependencies into /opt/gtk, you might want to set these variables as:"
CPPFLAGS="-I/opt/gtk/include"
LDFLAGS="-L/opt/gtk/lib"
PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH
SO, should i change /opt/gtk/lib for /usr/local/lib?
|
|
|
08-26-2003, 02:49 AM
|
#24
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
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:
Code:
export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig
|
|
|
09-05-2003, 12:46 PM
|
#25
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
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:
rpm -Uvh glib-devel-1.2.10-11.i386.rpm glib-1.2.10-11.i386.rpm
rpm -Uvh gtk2-2.2.3-1.1.i386.rpm gtk2-devel-2.2.3-1.1.i386.rpm
So now I got the latest gtk and glib and other apps can now work!!!!
|
|
|
All times are GMT -5. The time now is 12:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|