Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61694 - fox-1.2.6-r1 - the flag USE="freetype" is broken
Summary: fox-1.2.6-r1 - the flag USE="freetype" is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michele Noberasco (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 14:17 UTC by Andre Bouillet
Modified: 2004-10-04 23:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Bouillet 2004-08-25 14:17:52 UTC
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"
Comment 1 Michele Noberasco (RETIRED) gentoo-dev 2004-08-31 15:14:14 UTC
> 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...
Comment 2 Michele Noberasco (RETIRED) gentoo-dev 2004-09-10 13:39:30 UTC
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?
Comment 3 Michele Noberasco (RETIRED) gentoo-dev 2004-09-15 11:54:16 UTC
mmm.. I'll try out xorg-x11 6.8.0 myself when it is marked stable on x86...
Comment 4 Michele Noberasco (RETIRED) gentoo-dev 2004-09-24 15:48:34 UTC
Installed xorg-x11 6.8.0 on my machine, now I can reproduce the problem...
Comment 5 Michele Noberasco (RETIRED) gentoo-dev 2004-10-04 23:50:15 UTC
OK, fixed revision sit in Portage...