Fedora Linux Support Community & Resources Center
  #1  
Old 10th July 2007, 07:52 AM
aloneattack Offline
Registered User
 
Join Date: Jul 2007
Posts: 8
Help gtk+ install

Hi, I'm trying to install gtk+-2.10.13 from source, and I get error:

Code:
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0    atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0) were not met:

No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
ok, now I check some package, all proper except one glib-1.2.10-26.fc6 is not proper.
Then, I try to uninstall it but it's say it can not be remove cause dependences.
I attempted to install glib-2.12.12 from source, by default ./configure and completely installing.
But I still get the same above error when attempt to install gtk+-2.10.13
Please help.
Reply With Quote
  #2  
Old 10th July 2007, 12:13 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Quote:
Originally Posted by aloneattack
Hi, I'm trying to install gtk+-2.10.13 from source,
Why? If you just want to learn how to install stuff from sources, you should find a package that doesn't replace basic Fedora RPMs. If you are using FC5 or older, you should upgrade to FC6 or Fedora 7, where gtk+-2.10.13 is available as a RPM.
Reply With Quote
  #3  
Old 10th July 2007, 10:43 PM
GregLee's Avatar
GregLee Offline
Registered User
 
Join Date: Jun 2007
Location: Waimanalo, HI
Posts: 73
Quote:
Originally Posted by aloneattack
I attempted to install glib-2.12.12 from source, by default ./configure and completely installing. But I still get the same above error when attempt to install gtk+-2.10.13
You're not being completely clear. Did you actually install glib-2.12.12 with configure/make/make install? And if so, was the error reported for gtk+-2.10.13 exactly the same as before -- i.e., did it say "No package 'glib-2.0' found"? If both these things are true, it's a mystery.

However, if your attempt to install glib-2.12.12 was unsuccessful, then that's what is wrong. Or if the configure for gtk+-2.10.13 merely reported that no atk, pango, or cairo were found, then since you haven't compiled those yet, then that's the problem.
__________________
Greg
Reply With Quote
  #4  
Old 11th July 2007, 01:47 PM
aloneattack Offline
Registered User
 
Join Date: Jul 2007
Posts: 8
I use FC6 but "yum update gtk+" or "yum install gtk+" make no effort.
and I have done "configure/make/make install" with installing of glib-2.12.12 from source.
but still have the same problem.
is it a mystery ?
I use rpm -q to check
atk-1.12.2-1.fc6
pango-1.14.10-1.fc6
cairo-1.2.6-1.fc6

but glib is still :
glib-1.2.10-26.fc6

and I have check that, my system have /usr/local/lib/pkgconfig/glib-2.0.pc
and it contains :

Code:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums

Name: GLib
Description: C Utility Library
Version: 2.12.12
Libs: -L${libdir} -lglib-2.0  
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
Huh ! confuse.
Reply With Quote
  #5  
Old 11th July 2007, 02:00 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Quote:
Originally Posted by aloneattack
I use FC6 but "yum update gtk+" or "yum install gtk+" make no effort.
The package "gtk+" is GTK version 1.*. Install/update the package gtk2 for GTK+ version 2.
Reply With Quote
  #6  
Old 11th July 2007, 06:30 PM
aloneattack Offline
Registered User
 
Join Date: Jul 2007
Posts: 8
I'm sorry, I don't know why, ít said :

Code:
Nothing to do
or 
Could not find update match for gtk2
No Packages marked for Update/Obsoletion
Reply With Quote
  #7  
Old 12th July 2007, 10:06 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
You have the latest version of gtk2 already installed on your system. Check with "rpm -q gtk2" or "yum list installed gtk*"
Reply With Quote
  #8  
Old 12th July 2007, 01:26 PM
aloneattack Offline
Registered User
 
Join Date: Jul 2007
Posts: 8
But ./configure script in ethereal-0.99.0 source package say that:

Code:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: GLib2 distribution not found.
Quote:
Originally Posted by markkuk
The package "gtk+" is GTK version 1.*. Install/update the package gtk2 for GTK+ version 2.
and does my system has problem ?
Reply With Quote
  #9  
Old 12th July 2007, 02:42 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
You must install the gtk2-devel and glib2-devel packages to compile programs that use those libraries. However, there's no need to compile ethereal from sources because it's included in FC6 under its new name Wireshark. Do:
Code:
yum install wireshark wireshark-gnome
Reply With Quote
  #10  
Old 12th July 2007, 04:40 PM
aloneattack Offline
Registered User
 
Join Date: Jul 2007
Posts: 8
Yes, I installed gtk2-devel and glib2-devel package and the original problem have been solve

But I have a trouble that we depend on rpm, when we need build something from source for the lack of rpm package, it's have some difficult. Just like my problem above. How it is if you have only source for a new version package and can't remove some old rpm package cause it's have dependencie.

Any way, thank you.
Reply With Quote
  #11  
Old 31st August 2007, 03:08 AM
aloneattack Offline
Registered User
 
Join Date: Jul 2007
Posts: 8
Ok, I found out, to remove rpm package when it says "dependencies"

Code:
rpm -e --nodeps <package_name>
Thank you all.
Reply With Quote
Reply

Tags
gtk, install

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Experience needed to install Fedora 7 on HP tx1000 series laptop jiabo Hardware & Laptops 33 6th May 2010 12:23 PM
Fedora 10 default install fails with ATI 4850 graphics card (but text install works) Jeff72 Installation and Live Media 1 20th January 2009 05:27 PM
Is it possible to install GUI's, install browsers, install IP addresses? booter Installation and Live Media 1 13th June 2007 11:40 PM
FC4 DVD Install - Unable to get past Select Driver option for Local CDROM install flashgordon EOL (End Of Life) Versions 2 28th February 2006 05:54 AM
FC3 SCSI MegaRAID : No drive detected on install, RH9 install is flawless. sladetf EOL (End Of Life) Versions 2 4th March 2005 06:53 PM


Current GMT-time: 15:53 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat