Red HatThis forum is for the discussion of Red Hat Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Trying to install fontconfig 2.2.0 so I can update pango. I just installed glib 2.4.0, atk 1.6.0 and freetype2 (all from source, yum and I cant find any up to date rpms). All this so I can update gtk so I can install ... oh who cares, god it's a mess. Anyway I get this error when I do make for fontconfig:
In file included from ../fontconfig/fcfreetype.h:27,
/usr/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/local/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make: *** [fc-lang.o] Error 1
make: Leaving directory `/home/user/fontconfig-2.2.0/fc-lang'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/user/fontconfig-2.2.0'
make: *** [all-recursive-am] Error 2
Glib-2.4 is the new series of Glib, so is atk-1.6. I don't know of anything that requires them. All the current apps use atk-1.4 and glib-2.2, the old stable branches.
But that's irrelevant to your problem, fontconfig doesn't depend on either of them. As far as I know it only depends on freetype (freetype-2.1.5 would be a good choice) and expat (1.95.7 is the current stable version I believe). Which versions of expat and freetype have you installed and what options did you pass to ./configure?
I had glib 1.2.9 (or there abouts, it's now 2.4.0) and expat 1.95.5. I haven't upgraded expat so it doesn't have anything special passed to it, and when I installed freetype2 (2.1.7), I just ran ./configure with no extra options.
My end goal is to install nicotine which requires PyGTK1.99.16, but I grabbed 2.0 anyway.
Well it seems to have a problem with the freetype headers. You could try pointing it towards them with a
obviously that's not going to work if the freetype headers are somewhere else so it's up to you to find them with
find /usr -name freetype2
and alter the flag accordingly. If you can't find the freetype headers, reinstall freetype but make sure you do it over the top of what you already have or you'll end up with two copies of things which will cause problems.
hrm. Well, I got it to work. On the freedesktop.org site, it mentioned that release 2.2.2 'changed #include syntax to follow new freetype rules' so I downloaded the newer version and tried to install it. I got a different error (I don't remember what it was), but I fixed it by doing 'make install' in the freetype source directory (the instructions say to just do make twice, but the make install actually put stuff where fontconfig was looking for them.) After that pango still couldnt find fontconfig.pc in the pkgconfig directory so I manually copied the fontconfig.pc in the fontconfig source directory and put it in the pkgconfig directory. Pango finally installed after that, but it feels like a great big kludge.... now on to battle with gtk