fontconfig and freetype

Richard Stellingwerff remenic at gmail.com
Wed Oct 26 02:10:33 PDT 2005


On 10/26/05, Munira Ahmed <munira.ahmed at gmail.com> wrote:
> I installed freetype-2.1.10.tar.gz
>  from http://savannah.nongnu.org/download/freetype/. isn't
> everything in the same package?
>
>
> On 10/26/05, Richard Stellingwerff <remenic at gmail.com> wrote:
> >
> > On 10/26/05, Munira Ahmed <munira.ahmed at gmail.com> wrote:
> > > oh i forgot to mention i an using 2.1.4  and yet get this error
> > >
> > >
> > > On 10/26/05, Munira Ahmed < munira.ahmed at gmail.com > wrote:
> > > > What is the interdepdency of freetype and fontconfig?
> > > >
> > > > I am getting following errors
> > > >
> > > > fcfreetype.c:76:2: warning: #warning "No FT_Get_BDF_Property: Please
> > > install freetype 2.1.4 or later"
> > > > fcfreetype.c: In function `FcGetPixelSize':
> > > > fcfreetype.c:971: error: structure has no member named `y_ppem'
> > > > fcfreetype.c: In function `FcFontCapabilities':
> > > > fcfreetype.c:2828: warning: implicit declaration of function
> > > `FT_Load_Sfnt_Table'
> > > > make[2]: *** [fcfreetype.lo] Error 1
> > > > make[2]: Leaving directory
> > > `/home/munira/motokit/fontconfig-2.3.91/src'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory
> > > `/home/munira/motokit/fontconfig-2.3.91'
> > > > make: *** [all] Error 2
> > > >
> > > > Can anybody please help me identify the prob
> > > >
> >
> > Did you forget to install the -dev package (containing the headers) of
> > freetype 2.1.4?
> >
> > Kind regards,
> > Richard Stellingwerff.

You probably installed it without specifying a prefix, which means
everything has been installed in /usr/local. Fontconfig is still using
the old freetype that's in /usr.

when installing freetype from source (why?) make sure you use
./configure --prefix=/usr.

Kind regards,
Richard Stellingwerff.



More information about the xorg mailing list