[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble building latest version
From: |
Peter Bjuhr |
Subject: |
Re: Trouble building latest version |
Date: |
Thu, 08 May 2014 19:24:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 2014-05-08 17:12, Werner LEMBERG wrote:
make[1]: *** No rule to make target
`/usr/include/freetype2/freetype/freetype.h', needed by
`out/all-font-metrics-scheme.o'. Stop.
But on my machine the correct path to the file seems to be:
/usr/include/freetype2/freetype.h (OS: Ubuntu 14.04).
Lilypond uses pkg-config to find header files of FreeType; pkg-config
in turn extracts the information from the file `freetype2.pc',
delivered with FreeType itself, and which should be installed in the
directory `<prefix>/lib/pkgconfig'.
It seems that on your system an outdated version of this file gets
found.
Solved! Thanks a lot for your quick response! It turned out that the
main problem was that I wasn't building from scratch.
For reference, before I found this out I installed the latest version of
freetype2 (2.5.3) and the change in the freetype2.pc file was this:
[before]
prefix="/usr/local"
exec_prefix="/usr/local"
libdir="/usr/local/lib"
includedir="/usr/local/include"
Name: FreeType 2
Description: A free, high-quality, and portable font engine.
Version: 16.1.10
Requires:
Libs: -L${libdir} -lfreetype
Libs.private:
Cflags: -I${includedir}/freetype2 -I${includedir}
***
[after]
prefix="/usr/local"
exec_prefix="/usr/local"
libdir="/usr/local/lib"
includedir="/usr/local/include/freetype2"
Name: FreeType 2
URL: http://freetype.org
Description: A free, high-quality, and portable font engine.
Version: 17.2.11
Requires:
Requires.private: zlib, libpng, harfbuzz >= 0.9.19
Libs: -L${libdir} -lfreetype
Libs.private:
Cflags: -I${includedir}
Best
Peter