LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trouble compiling pango-1.4.1, need Xft (https://www.linuxquestions.org/questions/linux-software-2/trouble-compiling-pango-1-4-1-need-xft-215210/)

jedihawk 08-08-2004 11:54 PM

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:

configuration:
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?

synaptical 08-08-2004 11:55 PM

oops, i'll just remove that. :o :D

HappyTux 08-09-2004 12:01 AM

Re: trouble compiling pango-1.4.1, need Xft
 
Quote:

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.

Code:

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



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