Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64552 - ttmkfdir-3.0.9-r2 emerge fails
Summary: ttmkfdir-3.0.9-r2 emerge fails
Status: RESOLVED DUPLICATE of bug 44119
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-18 11:20 UTC by Aaron Gyes
Modified: 2005-07-17 13:06 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 Aaron Gyes 2004-09-18 11:20:11 UTC
g++ -Wall -pedantic -I/usr/include/freetype2 -march=athlon-xp -mfpmath=sse,387 -pipe -fomit-frame-pointer -ffast-math -ftracer -c ttf.cpp  -fPIC -DPIC -o .libs/ttf.o
In file included from ttf.h:6,
                 from ttmkfdir.cpp:8:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
In file included from ttmkfdir.cpp:8:
ttf.h:11:31: freetype/ftmodule.h: No such file or directory
make: *** [ttmkfdir.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ttf.cpp:8:
ttf.h:11:31: freetype/ftmodule.h: No such file or directory
ttf.cpp: In destructor `ttf::Face::~Face()':
ttf.cpp:632: error: `FT_Done_Library' undeclared (first use this function)
ttf.cpp:632: error: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [ttf.o] Error 1
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-18 12:24:31 UTC
I'm pushing a masked ttmkfdir in a moment.  It looks to me as though your version of freetype is the masked one, which is why this is failing.

As an aside, your -mfmpath=sse,387 is just ASKING for trouble.
Comment 2 foser (RETIRED) gentoo-dev 2004-09-18 12:57:51 UTC
yes its a know problem with the masked version.. masked still stands for 'known broken & under development' doesn't it ?

The freetype patch can be applied to the unmasked version as well, it should work with both masked & unmasked versions of freetype

*** This bug has been marked as a duplicate of 44119 ***