freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] XFree86 4.2.x compilation + FreeType2 on RH


From: Vadim Plessky
Subject: Re: [Freetype] XFree86 4.2.x compilation + FreeType2 on RH
Date: Sun, 29 Dec 2002 15:42:00 +0300
User-agent: KMail/1.5

On Wednesday 25 December 2002 22:31, Andre Costa wrote:
|  Hi,
|
|  I am not sure this is the best place to ask such question, if it is not,
|  please tell me so.
|
|  I am trying to compile XFree 4.2.x on my (heavily modified) RH 7.1. I am
|  using gcc 3.2.1 and FreeType 2.1.2. Compilation seems to go well for
|  quite some time (about 15min on my XP 2000+) when it aborts with:
|
|  gcc -c -O2 -march=i386 -mcpu=i686      -I/usr/X11R6/include 
| -I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
| -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE    
| -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    
|      -fPIC xftlist.c xftlist.c: In function `XftListFonts':
|  xftlist.c:155: parse error before "FT_Face"
|  make: *** [xftlist.o] Error 1
|  error: Bad exit status from /var/tmp/rpm/rpm-tmp.37916 (%install)
|
|

Do you compile XFree86 with Xft2 support (Xft2 was released together with 
FontConfig 2.x) and FontConfig?
Are you sure that XFree86 build uses shared FreeType library (and not its own 
copy)?

I have installed following packages (self-compiled from Mandrake Cooker SRPMs 
on LM 8.2):
$ rpm -qa | grep fontconfig
libfontconfig1-2.1-1mdk
fontconfig-2.1-1mdk
libfontconfig1-devel-2.1-1mdk

$ rpm -qa | grep Xft
libXft2-2.1-2mdk

$ rpm -qa | grep freetype2
freetype2-2.1.3-2mdk
freetype2-devel-2.1.3-2mdk
freetype2-static-devel-2.1.3-2mdk

And I have built XFree86-4.2.99 (4.3.0 branch snapshot) from Rawhide SRPM on 
top of this:
$ rpm -qa | grep XFree86
XFree86-libs-4.2.99.2-0.20021122.2
XFree86-tools-4.2.99.2-0.20021122.2
XFree86-base-fonts-4.2.99.2-0.20021122.2
XFree86-doc-4.2.99.2-0.20021122.2
XFree86-Mesa-libGL-4.2.99.2-0.20021122.2
XFree86-libs-data-4.2.99.2-0.20021122.2
XFree86-xfs-4.2.99.2-0.20021122.2
XFree86-100dpi-fonts-4.2.99.2-0.20021122.2
XFree86-4.2.99.2-0.20021122.2
XFree86-Mesa-libGLU-4.2.99.2-0.20021122.2
XFree86-truetype-fonts-4.2.99.2-0.20021122.2
XFree86-twm-4.2.99.2-0.20021122.2
XFree86-devel-4.2.99.2-0.20021122.2
XFree86-TinyX-4.2.99.2-0.20021122.2
XFree86-75dpi-fonts-4.2.99.2-0.20021122.2
XFree86-cursors-4.2.99.2-0.20021122.2
XFree86-font-utils-4.2.99.2-0.20021122.2

[ Rawhide is development version of RedHat ]

Most interesting: all this works!.. :-)
But I have to modify XFree86.spec file slightly.


|  RPM build errors:
|      Bad exit status from /var/tmp/rpm/rpm-tmp.37916 (%install)
|
|  Could it be FreeType-related (misconfiguration, maybe)? I have tried
|  both XFree86-4.2.0-72.src.rpm and XFree86-4.2.1-8.src.rpm .

Try Rawhide SRPM. You will get latest XFree86, with enhanced RENDER extension 
(ver 0.8) and X servers supporting anti-aliased trapezoids :-)

|
|  TIA
|
|  Andre

-- 

Vadim Plessky
SVG Icons * BlueSphere Icons 0.3.0 released
http://svgicons.sourceforge.net
My KDE page
http://kde2.newmail.ru  (English)
KDE mini-Themes
http://kde2.newmail.ru/themes/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]