lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble building latest version


From: Federico Bruni
Subject: Re: Trouble building latest version
Date: Thu, 8 May 2014 20:03:21 +0200

I was about to write that I had the same problem weeks ago and I solved
with 'make clean' or maybe 'make distclean'
Il 08/mag/2014 19:24 "Peter Bjuhr" <address@hidden> ha scritto:

>
> 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
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]