Bug 61694 - fox-1.2.6-r1 - the flag USE="freetype" is broken
|
Bug#:
61694
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: s4t4n@gentoo.org
|
Reported By: andre.bouillet@gmx.de
|
|
Component: Library
|
|
|
URL:
|
|
Summary: fox-1.2.6-r1 - the flag USE="freetype" is broken
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-08-25 14:17 0000
|
If you want to compile fox-1.2.6-r1 and have the flag USE="freetype" set, you
get the following error in the file config.log:
configure:7117: checking for X11/Xft/Xft.h
configure:7127: gcc -E conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/X11/Xft/Xft.h:41,
from configure:7123:
/usr/include/ft2build.h:55:38: freetype/config/ftheader.h: No such file or
directory
In file included from configure:7123:
/usr/include/X11/Xft/Xft.h:42:10: #include expects "FILENAME" or <FILENAME>
configure: failed program was:
#line 7122 "configure"
#include "confdefs.h"
#include <X11/Xft/Xft.h>
So freetype will be completely disabled, an you'll get no anti-aliased fonts.
It seems that the path to /usr/include/freetype2/ is missing in the
include-path of the compile-statement.
I'm currently using media-libs/freetype-2.1.5-r1.
Reproducible: Always
Steps to Reproduce:
1. USE="freetype" emerge fox
2.
3.
Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r2)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib apm avi berkdb cdr crypt cups dvd encode esd faad foomaticdb
freetype gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline sdl slang spell ssl tcpd truetype wxwindows x86 xml2 xmms xv
zlib"
> I'm currently using media-libs/freetype-2.1.5-r1.
Me too...
I can't reproduce your problem, ebuild works fine here.
I'll try on another machine and see what happens...
Nope, tried this on three different machines, worked on all...
I notice that the configure scripts check for xft2 (not freetype) which is part of the xfree package. Are you by any chance using xorg-x11 instead of xfree?
mmm.. I'll try out xorg-x11 6.8.0 myself when it is marked stable on x86...
Installed xorg-x11 6.8.0 on my machine, now I can reproduce the problem...
OK, fixed revision sit in Portage...