solved

Tushar Teredesai tushar at linuxfromscratch.org
Tue Jul 8 07:12:08 PDT 2003


Frank Gruellich wrote:

>Oh, somebody is talking to me.  Puh, so it's not my halitosis...
>
>* Tushar Teredesai <tushar at linuxfromscratch.org>  7. Jul 03
>  
>
>>Frank Gruellich wrote:
>>
>>    
>>
>>>This one caused all the problems.  This empty -I makes gcc to think
>>>about an include path called '-I/usr/include/gtk-...'.  The -I seems to
>>>be created by ./configure:
>>>
>>>frank at odin [/usr/src/mozilla] $ grep 'freetype2' config/autoconf.mk
>>>FT2_CFLAGS             = -I/usr/include/freetype2
>>>MOZ_XFT_CFLAGS          = -I/opt/xft/include -I/usr/include/freetype2 -I
>>>      
>>>
>>Check the file xft.pc. Maybe the flags are set incorrectly in that file.
>>    
>>
>
>frank at odin [~] $ cat /opt/xft/lib/pkgconfig/xft.pc
>prefix=/opt/xft
>exec_prefix=${prefix}
>libdir=${exec_prefix}/lib
>includedir=${prefix}/include
>freetypelibs=-lfreetype
>freetypecflags=-I/usr/include/freetype2
>xrenderlibs=-L/usr/X11R6/lib -lXrender
>xrendercflags=-I
>
>Name: Xft
>Description: X FreeType library
>Version: 2.0.0
>Requires: fontconfig
>Libs: -L${libdir} -lXft2 ${freetypelibs} ${xrenderlibs}
>Cflags: -I${includedir} ${freetypecflags} ${xrendercflags}
>frank at odin [~] $
>
>Uhm, it's the xrendercflags, isn't it?  What should it be?  Where did it
>go?
>  
>
Did you install a seperate xft+fontconfig+Xrender package? I remember I 
had many problems with the combination. My solution was upgrading to the 
latest fontconfig + latest X.

-- 
Tushar Teredesai
   http://www.linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list