Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Im trying to install gtk+-2.4.9 onto my lfs box, however during configure i get the error:
checking compiler support for MMX... yes
checking for freetype-config... /usr/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... yes
configure: error: Pango 1.2.0 and Xft backend is required for x11 target
This is being brought up in the configure script when it tests the following condition:
$PKG_CONFIG --exists 'pangoxft >= 1.2.0'
Im not quite sure how the --exists option works, but typing "$PKG_CONFIG --modversion pangoxft" gives:
Package pangoxft was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangoxft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangoxft' found
A "locate pangoxft.pc" gives no results, so it seems that im missing pangoxft. Is this a separate package from pango or must pango be specially configured for pangoxft to be installed?
Typing "pkg-config --modversion pangox" gives "1.4.1", and "pkg-config --modversion pangoft2" also gives "1.4.1".
I have the same problem. Pango did not put the pangoxft.pc in the correct spot. I copied the pc to where the other pango.pc s are but that only got me further down the error list when I ran gtk configure.
The problem is: How do you get Pango to generate the pangoxft library? I searched far and wide and was not able to see anything about this in the Pango distro.
Here is an email from Owen Taylor, the Pango developer.
> Trying to install latest GTK 2.4.9. Installed Pango 1.4.1. Checks OK. GTK says it can't find pangoxft.so when doing its config. Don't see it anywhere on the system. How do I get Pango to build it? Have Xfree86 4.4 running fine.
> Any ideas?
> Noticed the someone else with the same problem here:
Unfortunately, I usually don't have the time to answer personal
requests for help getting GTK+ compiled.
The best forum for asking such questions is the often the
GTK+ mailing lists:
I'm getting similar problems building GTK+ v2.4.11. I also have pango 1.4.1 installed, and configure (for GTK+) breaks at the same place as donbellioni's, but I only have Xfree86 v220.127.116.11, and I think I saw somethingabout >= v4.3 required for xft. I settled for building GTK+ v1.2.10 which for some apps is sufficient.
I saw on the GTK+ lists that many others have been having similar problems. When I moved
pangoxft.pc to where the other .pc files are, instead of 'Xft backend is required', configure now fails
with 'Xft version 2 is required'. I tried downloading the standalone Xft package from freedesktop,
but I got weird make errors. The pango INSTALL says that Xft 2 is required, and that it's included
with X 4.3; I only have 18.104.22.168.
Finally got a successful build. Have Xfree86 4.4. I deleted all the old freetype stuff in the lib and include directories, both usr and usr/local. I even went to the X11 directories and deleted the freetype stuff there just so I could be sure I was using the correct freetype version. I also included the freetype2 directory in my C_INCLUDE_PATH to be sure the build would use the latest h files.
I just installed freetype, fontconfig, Xft, pango, glib, atk, and gtk+ on my gf's laptop. It was annoying as hell! I had to remove every single last trace of old libraries from her system. Pango was the worst though. Make sure you have Xft installed BEFORE you install pango, otherwise it won't the xft part I think. Just remove ALL of the old libraries for freetype, and Xft, and pango, glib, gmodule, gobject, etc... Then reinstall freetype, Xft, then GLib, then Pango. Also, when building, look at what library it is linking to, make sure it is where your pango should be, not some next one. I also remember I had to edit the includes in some parts where it was including freetype. The new version uses some Macro to do all the including .
ferreirafm, I don't know what else to add. The comments I posted explain what I did. I can summarize as follows:
1. Get all the correct versions of software per the Gtk dependancies list.
2. Remove all the old versions of the software you are about to install.
3. Make sure when you config Pango that you get a message at the end that it is set to go for Xft front end. (Assumming this is what your target is.) Look at the config logs if you are not getting this message. I remember having to delete a library or two to get the correct config.
I remember having to use the find command to find all the old versions of libraries and h fiiles. And, as I mentioned above, to get a good compile I had to put the path of my new freetype directory into my C_INCLUDE_PATH envrionment variable.
I did this over a period of a couple weeks, on and off. It was quite a war. I am new to the Linux environment so it took me longer than it otherwise should have. The only closing advice I have is to inspect your config and build logs and keep tracking down each problem.