Skip to content

Instantly share code, notes, and snippets.

@folkengine
Last active October 27, 2021 09:32
Show Gist options
  • Save folkengine/dffc96aaa2c8d4d09c62 to your computer and use it in GitHub Desktop.
Save folkengine/dffc96aaa2c8d4d09c62 to your computer and use it in GitHub Desktop.
Building Lilypond on OSX

Based on http://lilypond.org/doc/v2.18/Documentation/topdocs/INSTALL.html and http://savannah.gnu.org/git/?group=lilypond

$> git clone git://git.savannah.gnu.org/lilypond.git
$> cd lilypond
$> ./autogen.sh --noconfigure
$> mkdir build
$> cd build
$> ../configure

First Error

ERROR: Please install required programs:  TeX Gyre fonts OTF (make sure the fc-list utility can see them, e.g. 
'sudo apt-get install fonts-texgyre', or use --with-texgyre-dir) msgfmt makeinfo >= 4.11 (installed: 4.8) 
texi2html dblatex pngtopnm convert

Solution from here:

go here and download the files directly. 
http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip
Unzip the file and create a .fonts dir in your home directory. Extract 
the OTF files there. 

Second Error

ERROR: Please install required programs:  msgfmt makeinfo >= 4.11 
(installed: 4.8) texi2html dblatex pngtopnm convert

Solution:

$> brew link gettext --force
$> brew link texinfo --force
$> brew install texi2html netpbm imagemagick
$> sudo pip install dblatex
@willbchang
Copy link

willbchang commented Oct 27, 2021

For now, we can use the newest lilypond command line version via brew

brew install lilypond
➜  ~ lilypond -v
GNU LilyPond 2.22.1 (running Guile 2.2)

Copyright (c) 1996--2021 by
  Han-Wen Nienhuys <[email protected]>
  Jan Nieuwenhuizen <[email protected]>
  and others.

This program is free software.  It is covered by the GNU General Public
License and you are welcome to change it and/or distribute copies of it
under certain conditions.  Invoke as `lilypond --warranty' for more
information.

Source: https://www.mail-archive.com/[email protected]/msg146249.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment