LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2008, 12:18 AM   #1
pansat00
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
"Help Me!!" installing GTK+2.12.9


Newbie here! I have been trying to install GTK+2.12.9 on my RHEL 4 Linux box. I installed pango-1.20.0, atk-1.22.0, glib-2.16.0, but I am having trouble installing cairo-1.4.14! I installed all of them from source using: ./configure --prefix=/usr && make, then make install. I have been trying to install cairo graphics for like two days; it's getting on my nerves! Can anyone help? I installed fontconfig and freetype, but every time I try to install Cairo I have no success.Here is how I am installing Cairo in its directory:
./configure --prefix=/usr && make

make install

here is the error:

/bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory
libtool: link: /usr/lib/libfreetype.la is not a valid libtool archive
make[1]: ***[libcairo.la] Error 1
make[1]: Leaving directory /usr/lib/src/cairo-1.4.14/src
make: ***[install-recursive] Error 1

Is this not reading freetype? I don't understand what it is looking for; just a bunch of head aches.
 
Old 05-27-2008, 04:53 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
why are you installing any of this from source? RHEL4 comes with GTK 2.4.13, which should be just fine for anything you're trying to do. You'll have a lot of this already installed and will soon find a lot of things are irrevocably broken doing this.

btw, less "Help Me!!!!!!111"'s in future please. ta.
 
Old 05-30-2008, 07:10 AM   #3
pansat00
LQ Newbie
 
Registered: May 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
why are you installing any of this from source? RHEL4 comes with GTK 2.4.13
I ran a pkg-config --modversion gtk and it returned 1.4.1.2 as the install in RHEL4. That's why I wanted to install a newer version of GTK. I need help, not smart butts! Sorry, for the title, but I have been at this for a long time. I am new to Linux and I like every thing about Linux, but why is it so hard to get a program installed? I just uninstalled every thing I installed previously (i.e. pango 1.4.1, atk 1.8, glib 2.4.8 and I never could get cairo 1.6.4 installed, so did not need to uninstall). If any one could give me a helping hand on what's the best way to do a clean install PLEASE, MAY YOU HELP ME? The goal is GTK 2.4.14. Sorry for the typo above on the GTK version trying to install.
 
Old 05-30-2008, 10:38 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
ok, again you should not be doing this. gtk2 and gtk are NOT the same things - you should have *BOTH* installed at once. you DO have gtk2 installed already. i promise. if you want to install from source then install the gtk2-devel rpm from your cd's. but it's probably best to avoid compiling from source until you are more comfortable with it.
 
Old 05-30-2008, 11:21 AM   #5
pansat00
LQ Newbie
 
Registered: May 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Alright, I loaded glib 2.17.0, pango 1.21.0, atk 1.8.0, and cairo 1.6.4 successfully. I just went with a newer glib and newer pango by randomly selecting sources, hey it installed. I did a pkg-config --modversion atk, pkg-config --modversion pango, and pkg-config --modversion cairo. It shows versions atk 1.8.0, pango 1.21.0, and cairo 1.6.4, but when I perform a pkg-config --modversion glib or gtk it shows the old versions. Why is that? glib 2.17.0 and gtk seemed to install ok, I think. I installed each source using: ./configure --prefix=/usr
make
make install
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
installing gtk? lilili Linux - Newbie 3 02-01-2006 02:41 AM
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 09:25 PM
installing gtk+ minm Linux - Software 1 10-26-2004 10:20 PM
installing gtk dlm4444 Programming 1 09-26-2003 11:07 AM
Installing gtk+ help saiz66 Linux - Software 6 06-21-2003 05:06 PM


All times are GMT -5. The time now is 01:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration