Summary: | kde-misc/krename-4.0.9: fatal error: freetype/config/ftheader.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | BT <amak79> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexanders83, ao, bugs, cancellettopugno, chain, fonts, gtlinuxman, jackhill, pbatishchev, rossi.f, simon, till2.schaefer, vityokster, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Use FREETYPE_INCLUDE_DIRS |
Description
BT
2013-02-10 06:27:43 UTC
The correct path is: /usr/include/freetype2/freetype/config/ftheader.h In file included from /var/tmp/portage/kde-misc/krename-4.0.9/work/krename-4.0.9/src/fontplugin.h:28:0, from /var/tmp/portage/kde-misc/krename-4.0.9/work/krename-4.0.9/src/pluginloader.cpp:40: /usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory @fonts, any idea why ft2build.h from freetype is including a header that does not exist? Same error here. I need to recompile krename because of libexiv2 update from 4.9.5 to 4.10.0 =kde-misc/krename-4.0.9 =media-libs/freetype-2.4.11 Confirm. media-libs/freetype-2.4.11 kde-misc/krename-4.0.9 (In reply to comment #4) > Confirm. > media-libs/freetype-2.4.11 > kde-misc/krename-4.0.9 same here (confirm) same here on x86_64. The header exists. But I guess the path is wrong. USE="-truetype" is my fix for now. The error seems to be quite trivial. The FindFreetype.cmake file reports two different *_INCLUDE_DIR directories: FREETYPE_INCLUDE_DIR_ft2build and FREETYPE_INCLUDE_DIR_freetype2. If you want to use both paths you have to use FREETYPE_INCLUDE_DIRS (appending "S"). The following patch made krename compile again with truetype enabled. You can test the patch by copying it to /etc/portage/patches/kde-misc/krename/. Created attachment 339928 [details, diff]
Use FREETYPE_INCLUDE_DIRS
Fixes the include path for freetype.
media-gfx/kpovmodeler-1.1.3 has the exact same error. Any progress here? This bug is very anoying because it makes krename unusable for gentoo at all (only one version, not compiling on fresh installs). Since there is already a patch i would love to see this fix in the main tree. Thanks everyone, this is now fixed in CVS. + 18 Mar 2013; Michael Palimaka <kensington@gentoo.org> + +files/krename-4.0.9-freetype-include.patch, krename-4.0.9.ebuild: + Add patch by Sven Wehner <sven@atelophobia.de> fixing build with + USE="truetype", wrt bug 456388. wow that was fast ;) THX |