[blfs-support] rmdir: failed to remove '/usr/include/freetype2/freetype/config': No such file or directory - BLFS 7.5

rhubarbpieguy at gmail.com rhubarbpieguy at gmail.com
Thu Mar 20 08:55:31 PDT 2014

On 03/20/14 10:21, Armin K. wrote:
> On 20.3.2014 14:03, rhubarbpieguy at gmail.com wrote:
>> On 03/19/14 16:40, Armin K. wrote:
>>> On 03/19/2014 10:20 PM, rhubarbpieguy at gmail.com wrote:
>>>> I receive "rmdir: failed to remove
>>>> '/usr/include/freetype2/freetype/config': No such file or directory"
>>>> when compiling freetype.
>>>> I have /usr/include/freetype2/config but not
>>>> /usr/include/freetype2/freetype/config.  I assume I've something wrong
>>>> (which isn't much of a stretch), but I've removed my commands and don't
>>>> see it.  Thoughts?
>>> Ignore that. It's just there to make sure there aren't any leftovers of
>>> old freetype headers which were installed in that location.
>> Darn, I was hoping that was a problem.  What about:
>> "rmdir: failed to remove '/usr/include/freetype2/freetype': No such file
>> or directory /sources/freetype-2.5.2/builds/unix/install.mk:32: recipe
>> for target 'install' failed"
> Same answer as above.
>> I ask this as I built xorg seemingly without problems but noticed xclock didn't work.  I traced the problem back to libXft, which I traced back to freetype.
>>    From my libXft compilation:
>> "xftglyphs.c:24:30: fatal error: freetype/ftoutln.h: No such file or directory"
>> I see no error referenced to ftoutln in my freetype log.
> You can notice that Xorg Libraries page has a patch that needs to be
> applied to libXft before building it.
>       libXft-[0-9]* )
>         patch -Np1 -i ../../libXft-2.3.1-freetype_fix-1.patch
>         ./configure $XORG_CONFIG
>       ;;
Thank you.  Doh!  I really have no excuse for the error.  I install the 
libraries with a script and had the libXfont and libXt parts but just 
spaced libXft.

More information about the blfs-support mailing list