XFree86 4.2.x compilation and FreeType2

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

 



Hi, hope you all had a nice X-Mas,

I am trying to compile XFree86 4.2.1 from SRPM on my (heavily modified)
RH 7.1. I am using gcc 3.2.1 and have upgraded most of my system by hand
(mostly from SRPMs). I have FreeType 2.1.2 installed:

~ rpm -qa | grep freetype
freetype-devel-2.1.2-7
freetype-utils-2.1.2-7
freetype-2.1.2-7

Compilation goes well up to a point (*way* further in the compilation --
I'd say about 15min on my XP 2000+), when it ends with this error msg:

[snip]
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)


RPM build errors:
    Bad exit status from /var/tmp/rpm/rpm-tmp.37916 (%install)

FYI: this very same probl happens with both XFree86-4.2.0-72.src.rpm and
XFree86-4.2.1-8.src.rpm (which is not that much of a surprise since
4.2.1 SRPM seems to be 4.2.0 plus some small improvements)

I've Googled around looking for some clue, and found some posts
regarding confusion between FreeType 1 and 2, but FreeType seems to be
well installed, since freetype-config --cflags returns this:

~ freetype-config --cflags
-I/usr/include/freetype2

Any hints? Please do not hesitate to ask for further info. I can post
the full compilation output, if that will help.

TIA

Andre

-- 
Andre Oliveira da Costa



_______________________________________________
xfree86-list mailing list
xfree86-list@redhat.com
https://listman.redhat.com/mailman/listinfo/xfree86-list
IRC: #xfree86 on irc.redhat.com

[Red Hat General]     [Red Hat Watch]     [Red Hat Development]     [Kernel Development]     [Yosemite Camping]

  Powered by Linux