Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page Problem installing gtk 2.12.0
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 01-04-2007   #1 (permalink)
Just Joined!
 
Join Date: Jan 2007
Location: Hyderabad, India
Posts: 4
Problem installing gtk 2.12.0

I am a linux newbie. I use FC3. I wanted to install gtk+ 2.12.0. So I downloaded the source from gtk.org. While installing i realised that glib, pango, atk are also reqd. So i downloaded all of them and started off with installing glib. I installed glib into /usr (By installing into /usr i mean i put the prefix value of configure as /usr). I then installed pango and atk in that order. Assuming everything reqd. for the gtk installation has been done, i tried installing gtk. Here's the error message i got :

checking for BASE_DEPENDENCIES... Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.13.0 cairo >= 1.2.0) were not met:

So i downloaded the latest version of cairo and tried installing it into the same dir. (/usr again). Now, it needed libpng. So i downloaded libpng and installed it again into the same dir. (/usr). But I still get the same error message which is :
checking for cairo's PNG backend...
./configure: line 24790: --exists: command not found
./configure: line 24790: --exists: command not found
./configure: line 24790: --exists: command not found
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG backend could be enabled... no
configure: error: requested PNG backend could not be enabled

I am in a complete mess right now. I am not knowledgable enough to understand the error messages. Even if i understood it, I dont have the knowledge to correct the error. I browsed through all similar problems users encountered and didnt find any related to libpng etc.

I will be really thankful for any help.
NoobForEver is offline   Reply With Quote
Old 01-04-2007   #2 (permalink)
Linux Enthusiast
 
likwid's Avatar
 
Join Date: Dec 2006
Location: MA
Posts: 649
Don't install things like glib or gtk from source. This is not necessary because Redhat uses intelligent package management software and glib and gtk are popular enough to find these packages out there. Download the rpm's and install them.
likwid is offline   Reply With Quote
Old 01-04-2007   #3 (permalink)
Just Joined!
 
Join Date: Aug 2006
Location: Karachi,Pakistan
Posts: 54
Send a message via MSN to roonjha Send a message via Yahoo to roonjha
For RPM Packages I suggest www.rpmfind.net.When selecting the PAckage make sure that the distro and the arch r correct.
__________________
UBUNTU:humanity to others
roonjha is offline   Reply With Quote
Old 01-05-2007   #4 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 23
I've come across the same problem through trying to install Gnome Commander

Having spent 3 or 4 days trying to resolve it I've come across postings all over the net from people trying to resolve the same issue from FC3 right through to FC6, and it seems to affect a wide variety of programs

I've tried every 'solution' that I've seen suggested, installed packages through yum, downloaded rpms, downloaded packages as source code etc etc etc

Packages like cairo and libpng saying they can't be installed whilst at the same time saying they are installed and can't be UNinstalled because half the apps on the system depend on it (unless you specify --nodepends ... which unsurprisingly throws up yet more issues)

I've reinstalled FC6 three or four times in the process of all this to no avail

The conclusion I've reached as I've been unable to fix it myself and not one person I've seen posting about it on various forums has been able to either, that if you have this particular issue it isn't going to go away in a hurry, and as so many programs seem to depend on the libraries affected it almost makes using the os pointless

On that note, I'm off to install another flavour on the same machine ... with fingers crossed that I'll have more success!


Rune
Rune is offline   Reply With Quote
Old 01-05-2007   #5 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,532
Rune, the problems mentioned in the first post are solved by installing the corresponding development (devel) package of the package that the configure process said is missing. You can do this using YUM or YUMEX on Fedora Core.
daark.child is offline   Reply With Quote
Old 01-05-2007   #6 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 23
Yeah I tried all that m8 and when I first ran into the problem, I did a fresh install and tried again, results were the same

I'm wondering if perhaps using the 32-bit version on an AMD 64 machine might've had something to do with it

I've put Ubuntu 64 on the same machine and installed the same packages without a glitch ... so far anyway!

I'm planning on trying the 64-bit version of Fedora on another drive in the same machine once I've played with Ubuntu a bit more to see if I get more luck


Rune
Rune is offline   Reply With Quote
Old 01-05-2007   #7 (permalink)
Just Joined!
 
Join Date: Jan 2007
Location: Hyderabad, India
Posts: 4
Thanx for the replies guys. I have decided to call it quits. I really dont understand what is going on. I have even tried installing using yum but could only manage to update to an old version (2.4.6). Still have to check if it works for the application i am going to install.
NoobForEver is offline   Reply With Quote
Old 01-05-2007   #8 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,532
Quote:
Originally Posted by NoobForEver
Thanx for the replies guys. I have decided to call it quits. I really dont understand what is going on. I have even tried installing using yum but could only manage to update to an old version (2.4.6). Still have to check if it works for the application i am going to install.
You need to update to a newer version of Fedora Core. Fedora Core 3 is now unsupported, so its unlikely that you will find any software repositories that contain new gtk2 rpms for FC3. Fedora Core is a fast moving distro and releases have a short life span.
daark.child is offline   Reply With Quote
Old 01-06-2007   #9 (permalink)
Just Joined!
 
Join Date: Jan 2007
Location: Hyderabad, India
Posts: 4
Thank you once again, I will try installing more recent versions of FC.
NoobForEver is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 08:52 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0