Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 08-09-2004, 12:54 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
trouble compiling pango-1.4.1, need Xft

I'm trying up install GTK+, but first, I needed to install glib 2.4.5 (which I did), atk 1.6.1 (which I did), and pango 1.4.1 (which is giving me grief).

/configure gave me:

backends: FreeType X Xft

after it was done. Here's the last line before all the errors while compiling:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/include/freetype2 -I.. -g -O2 -Wall -MT pangoxft-font.lo -MD -MP -MF .deps/pangoxft-font.Tpo -c pangoxft-font.c -fPIC -DPIC -o .libs/pangoxft-font.o
In file included from pangoxft-private.h:25,
from pangoxft-font.c:27:
pangoxft.h:35:25: X11/Xft/Xft.h: No such file or directory
pangoxft.h:38:2: #error "must have Xft version 2 or newer"
make[4]: *** [pangoxft-font.lo] Error 1
make[4]: Leaving directory `/home/jedihawk/work/gkrellm_stuff/pango-1.4.1/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jedihawk/work/gkrellm_stuff/pango-1.4.1/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jedihawk/work/gkrellm_stuff/pango-1.4.1/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jedihawk/work/gkrellm_stuff/pango-1.4.1'
make: *** [all] Error 2
[jedihawk@server1 pango-1.4.1]$

So I figured I needed to install Xft. I found xft-2.1.2 and while ./configuring, I got this:

configure: error: Xrender.h not found.

But I can't find Xrender anywhere. So what do I do now?
Old 08-09-2004, 12:55 AM   #2
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
oops, i'll just remove that.

Last edited by synaptical; 08-09-2004 at 01:03 AM.
Old 08-09-2004, 01:01 AM   #3
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: trouble compiling pango-1.4.1, need Xft

Originally posted by jedihawk

configure: error: Xrender.h not found.

But I can't find Xrender anywhere. So what do I do now?
You need the -dev files for the library on Debian it is called libxrender-dev.

>$ dpkg -S Xrender.h
libxrender-dev: /usr/X11R6/include/X11/extensions/Xrender.h


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
Pango wants Xft - Can't find it rjcarlson49 Linux - Software 6 04-24-2007 04:03 PM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 12:57 PM
Problem building pango + xft rweeks1138 Linux - Software 2 05-20-2005 10:25 PM
Strange error while compiling xft. alypius Linux - Software 1 06-09-2004 10:05 PM
Pango - Xft install problem the_ref Linux - Software 1 12-02-2003 06:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration