Linux - NewbieThis 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
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.
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.
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.
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.