Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 330259

Summary: media-libs/sdl-ttf-2.0.9: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h
Product: Gentoo Linux Reporter: Antonisio Prucoli Martins <antonisio>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: xmw
Priority: High    
Version: 10.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Antonisio Prucoli Martins 2010-07-28 19:53:47 UTC
I tryed install the sdl-ttf and the following exception is thrown:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h

Reproducible: Always

Steps to Reproduce:
1.emerge media-libs/sdl-ttf
2.
3.

Actual Results:  
After performed the steps above the following exception is thrown:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h

Expected Results:  
The package should be installed instead.

I created a symlink from the /usr/include/freetype2/freetype to /usr/include/freetype with the follow command:

 # ln -s /usr/include/freetype2/freetype /usr/include/freetype

After, I tryed newly and the package was sucessfuly installed.

I belive that this is a known issue.
Comment 1 Rafał Mużyło 2010-07-28 20:45:39 UTC
'freetype-config --cflags' outputs:
-I/usr/include/freetype2
so does 'pkg-config freetype2 --cflags',
so whatever the problem is, you're looking in the wrong direction.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-07-28 22:39:01 UTC
Hello Antonisio,

can you please provide the output of `emerge --info` and attach the complete build.log and environment files mentioned at the end of the failed ebuild?

Thanks, Michael
Comment 3 Rafał Mużyło 2010-07-29 02:29:48 UTC
...also, attach config.log.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-03 01:40:20 UTC
And then reopen this bug report.