LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-22-2003, 02:13 PM   #16
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30

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
 
Old 08-22-2003, 03:24 PM   #17
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Unhappy

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
 
Old 08-22-2003, 03:45 PM   #18
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
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
 
Old 08-24-2003, 12:30 AM   #19
saimike
Member
 
Registered: Aug 2003
Posts: 71

Rep: Reputation: 15
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?
 
Old 08-24-2003, 02:59 AM   #20
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
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.
 
Old 08-25-2003, 11:09 AM   #21
saimike
Member
 
Registered: Aug 2003
Posts: 71

Rep: Reputation: 15
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)
 
Old 08-25-2003, 07:54 PM   #22
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Unhappy 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
 
Old 08-25-2003, 09:09 PM   #23
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
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?
 
Old 08-26-2003, 02:49 AM   #24
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
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
 
Old 09-05-2003, 12:46 PM   #25
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
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!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error in the creation of `etc/pango/pango.modules` okeyla Linux - Newbie 3 07-02-2011 08:06 PM
pango install fails on make install Seph64 Linux From Scratch 1 10-15-2005 11:17 PM
Can't install pango-1.6.0 ns_sanish Linux - Software 3 10-20-2004 07:29 AM
Pango - Xft install problem the_ref Linux - Software 1 12-02-2003 05:10 PM
Trying to install pango... psyklops Linux - General 8 08-26-2003 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration