4 INSTALL(1) LilyPond documentation INSTALL(1)
7 N
\bN
\bN
\bNA
\bA
\bA
\bAM
\bM
\bM
\bME
\bE
\bE
\bE
8 INSTALL - installing GNU LilyPond
10 D
\bD
\bD
\bDE
\bE
\bE
\bES
\bS
\bS
\bSC
\bC
\bC
\bCR
\bR
\bR
\bRI
\bI
\bI
\bIP
\bP
\bP
\bPT
\bT
\bT
\bTI
\bI
\bI
\bIO
\bO
\bO
\bON
\bN
\bN
\bN
11 This page documents installation and compilation of GNU
14 P
\bP
\bP
\bPR
\bR
\bR
\bRE
\bE
\bE
\bER
\bR
\bR
\bRE
\bE
\bE
\bEQ
\bQ
\bQ
\bQU
\bU
\bU
\bUI
\bI
\bI
\bIS
\bS
\bS
\bSI
\bI
\bI
\bIT
\bT
\bT
\bTE
\bE
\bE
\bES
\bS
\bS
\bS
15 For compilation you need.
17 +
\bo A Unix system with GNU tools. GNU LilyPond is known
18 to run on these unices: Linux, AIX, Digital Unix and
21 If you have the Cygnus WINDOWS32 port of the GNU
22 utils, it will even work in Windows NT/95, but don't
23 promise to support it.
25 +
\bo GNU C++ v2.7 or better, with libg++ installed.
26 Version 2.7.2 or better recommended.
30 +
\bo Flex (2.5.1 or better).
32 +
\bo Bison. (Version 1.25 or better)
34 R
\bR
\bR
\bRU
\bU
\bU
\bUN
\bN
\bN
\bNN
\bN
\bN
\bNI
\bI
\bI
\bIN
\bN
\bN
\bNG
\bG
\bG
\bG
35 GNU LilyPond does use a lot of resources. For operation
36 you need the following:
40 +
\bo The MusixTeX fonts (I included those found in
41 MusixTeX T.73). Beware, the clef symbol seems to have
42 changed its position in some versions, (notably
43 Egler's, a.k.a. OpusTeX). The MusixTeX fonts are
44 included in MusixTeX T.73, which can be had from any
47 ftp://ftp.shsu.edu/tex-archive/macros/musixtex/taupin
48 ftp://ftp.tex.ac.uk/tex-archive/macros/musixtex/taupin
49 ftp://ftp.dante.de/tex-archive/macros/musixtex/taupin
51 You only need the contents of the _
\bm_
\bf_
\b/ subdirectory of
54 R
\bR
\bR
\bRE
\bE
\bE
\bEC
\bC
\bC
\bCO
\bO
\bO
\bOM
\bM
\bM
\bMM
\bM
\bM
\bME
\bE
\bE
\bEN
\bN
\bN
\bND
\bD
\bD
\bDE
\bE
\bE
\bED
\bD
\bD
\bD
55 Although not strictly necessary, these are recommended to
58 +
\bo Perl. Most scripts are written in Perl. The
59 documentation was created with the perl's Plain
64 28/Jul/97 LilyPond 0.0.76 1
70 INSTALL(1) LilyPond documentation INSTALL(1)
75 +
\bo A fast computer (a full page of music typically
76 takes 1 minute on my 486/133, using the
77 -
\b-
\b-
\b--
\b-
\b-
\b-e
\be
\be
\ben
\bn
\bn
\bna
\ba
\ba
\bab
\bb
\bb
\bbl
\bl
\bl
\ble
\be
\be
\be-
\b-
\b-
\b-c
\bc
\bc
\bch
\bh
\bh
\bhe
\be
\be
\bec
\bc
\bc
\bck
\bk
\bk
\bki
\bi
\bi
\bin
\bn
\bn
\bng
\bg
\bg
\bg compile. It's lot slower than
78 most MusiXTeX preprocessors)
80 C
\bC
\bC
\bCO
\bO
\bO
\bON
\bN
\bN
\bNF
\bF
\bF
\bFI
\bI
\bI
\bIG
\bG
\bG
\bGU
\bU
\bU
\bUR
\bR
\bR
\bRI
\bI
\bI
\bIN
\bN
\bN
\bNG
\bG
\bG
\bG a
\ba
\ba
\ban
\bn
\bn
\bnd
\bd
\bd
\bd C
\bC
\bC
\bCO
\bO
\bO
\bOM
\bM
\bM
\bMP
\bP
\bP
\bPI
\bI
\bI
\bIL
\bL
\bL
\bLI
\bI
\bI
\bIN
\bN
\bN
\bNG
\bG
\bG
\bG
81 to install GNU LilyPond, simply type:
86 This will install the following files:
88 /usr/local/man/man1/mi2mu.1
89 /usr/local/man/man5/mudela.5
90 /usr/local/man/man1/lilypond.1
91 /usr/local/lib/libflower.{so,a}
92 /usr/local/bin/lilypond
94 /usr/local/share/lilypond/*
95 /usr/lib/texmf/texmf/tex/lilypond/*
97 The TeX include directory is detected dynamically, but it
98 can be adjusted with -
\b-
\b-
\b--
\b-
\b-
\b-e
\be
\be
\ben
\bn
\bn
\bna
\ba
\ba
\bab
\bb
\bb
\bbl
\bl
\bl
\ble
\be
\be
\be-
\b-
\b-
\b-t
\bt
\bt
\bte
\be
\be
\bex
\bx
\bx
\bx-
\b-
\b-
\b-p
\bp
\bp
\bpr
\br
\br
\bre
\be
\be
\bef
\bf
\bf
\bfi
\bi
\bi
\bix
\bx
\bx
\bx and -
\b-
\b-
\b--
\b-
\b-
\b-e
\be
\be
\ben
\bn
\bn
\bna
\ba
\ba
\bab
\bb
\bb
\bbl
\bl
\bl
\ble
\be
\be
\be-
\b-
\b-
\b-t
\bt
\bt
\bte
\be
\be
\bex
\bx
\bx
\bx-
\b-
\b-
\b-
99 d
\bd
\bd
\bdi
\bi
\bi
\bir
\br
\br
\br. The above assumes that you are root and have the gnu
100 development tools, and your make is gnu make. If this is
101 not the case, you can adjust your environment variables to
104 export CPPFLAGS="-I /home/me/my_include -DWEIRD_FOOBAR"
107 CPPFLAGS are the preprocessor flags.
109 the configure script is Cygnus configure, and it will
110 accept -
\b-
\b-
\b--
\b-
\b-
\b-h
\bh
\bh
\bhe
\be
\be
\bel
\bl
\bl
\blp
\bp
\bp
\bp. If you are not root, you will probably have
113 configure --prefix=/home/me_myself_and_I/
115 In this case, you will have to set MFINPUTS, and TEXINPUTS
118 If you want to install GNU LilyPond in _
\b/_
\bu_
\bs_
\br_
\b/_
\bl_
\bo_
\bc_
\ba_
\bl, and
119 your TeX has no default hooks for local stuff (mine is
120 broken too), you can do:
122 configure --prefix=/usr/local --enable-tex-prefix=/usr/lib/texmf
124 Since GNU LilyPond currently is beta, you are advised to
130 28/Jul/97 LilyPond 0.0.76 2
136 INSTALL(1) LilyPond documentation INSTALL(1)
142 other options include:
145 Make a shared library (gnu/linux, solaris (?)
149 Enable debugging print routines (lilypond -
\b-
\b-
\b-d
\bd
\bd
\bd
153 Set maximum optimisation
156 Compile with support for profiling
159 Set the directory where texmf lives
162 Set then directory tex input is in (detected as a
163 subdir of tex-prefix)
166 Set then directory mf input is in (idem)
168 All options are documented in the _
\bc_
\bo_
\bn_
\bf_
\bi_
\bg_
\bu_
\br_
\be help
169 The option -
\b-
\b-
\b--
\b-
\b-
\b-e
\be
\be
\ben
\bn
\bn
\bna
\ba
\ba
\bab
\bb
\bb
\bbl
\bl
\bl
\ble
\be
\be
\be-
\b-
\b-
\b-o
\bo
\bo
\bop
\bp
\bp
\bpt
\bt
\bt
\bti
\bi
\bi
\bim
\bm
\bm
\bmi
\bi
\bi
\bis
\bs
\bs
\bse
\be
\be
\be is recommended for
176 everything will be compiled, but nothing will be
177 installed. The resulting binaries can be found
178 in the subdirectories _
\bo_
\bu_
\bt_
\b/ (which contain all
179 files generated during compilation).
181 I
\bI
\bI
\bIN
\bN
\bN
\bNS
\bS
\bS
\bST
\bT
\bT
\bTA
\bA
\bA
\bAL
\bL
\bL
\bLL
\bL
\bL
\bLI
\bI
\bI
\bIN
\bN
\bN
\bNG
\bG
\bG
\bG
182 If you have done a successful make, then a simple
188 Install the musixtex fonts in a directory which TeX and MF
189 knows (if you are root, look for a directory which
190 contains the directories with AMS and CM source (*.mf)
191 files. Create a subdir lilypond or musixtex and copy the
192 fonts into that). Do not forget to rehash TeX (if
196 28/Jul/97 LilyPond 0.0.76 3
202 INSTALL(1) LilyPond documentation INSTALL(1)
207 Example: my fonts are in
208 _
\b/_
\bu_
\bs_
\br_
\b/_
\bl_
\bo_
\bc_
\ba_
\bl_
\b/_
\bl_
\bi_
\bb_
\b/_
\bt_
\be_
\bx_
\bf_
\bo_
\bn_
\bt_
\bs_
\b/_
\bm_
\bu_
\bs_
\bi_
\bx_
\bt_
\be_
\bx_
\b/, and I have a symlink
210 _
\b/_
\bu_
\bs_
\br_
\b/_
\bl_
\bi_
\bb_
\b/_
\bt_
\be_
\bx_
\bm_
\bf_
\b/_
\bt_
\be_
\bx_
\bm_
\bf_
\b/_
\bf_
\bo_
\bn_
\bt_
\bs_
\b/_
\bs_
\bo_
\bu_
\br_
\bc_
\be_
\b/_
\bp_
\bu_
\bb_
\bl_
\bi_
\bc_
\b/. After I copied
211 the files, I ran "texhash"
213 ftp://hprib.lps.u-psud.fr/pub/music_zips/musixtex.zip
215 C
\bC
\bC
\bCA
\bA
\bA
\bAV
\bV
\bV
\bVE
\bE
\bE
\bEA
\bA
\bA
\bAT
\bT
\bT
\bTS
\bS
\bS
\bS
216 +
\bo The -O2 option to gcc triggers a gcc bug on DEC
217 Alpha in dstream.cc. You should turn off this
220 E
\bE
\bE
\bEX
\bX
\bX
\bXA
\bA
\bA
\bAM
\bM
\bM
\bMP
\bP
\bP
\bPL
\bL
\bL
\bLE
\bE
\bE
\bE
221 This is what I type in my xterm:
223 lilypond someinput.ly
227 This is what the output looks like over here:
229 hw:~/musix/spacer$ lilypond input/kortjakje.ly
230 GNU LilyPond 0.0.71 #20/FlowerLib 1.1.20 #0
231 Parsing ... [/home/hw/share/lilypond/init//symbol.ini <..snip..>
232 .. .ini]][input/kortjakje.ly]
233 Creating elements ...
234 Preprocessing elements...
235 Calculating column positions ... [3][8][13][17][21][25]
236 Postprocessing elements...
237 TeX output to lelie.tex ...
239 hw:~/musix/spacer$ tex lelie
240 This is TeX, Version 3.14159 (C version 6.1)
242 Hyphenation patterns for english, dutch, german, loaded.
243 (/home/hw/lib/texmf/tex/lilypond/lilyponddefs.tex) [1] )
244 Output written on lelie.dvi (1 page, 8944 bytes).
245 Transcript written on lelie.log.
247 hw:~/musix/spacer$ xdvi lelie&
250 Check out the input files, some of them have comments
251 Please refer to the man page for more information.
253 R
\bR
\bR
\bRE
\bE
\bE
\bED
\bD
\bD
\bDH
\bH
\bH
\bHA
\bA
\bA
\bAT
\bT
\bT
\bT L
\bL
\bL
\bLI
\bI
\bI
\bIN
\bN
\bN
\bNU
\bU
\bU
\bUX
\bX
\bX
\bX
254 RedHat Linux users should be able to get a RPM. A spec
255 file is in _
\bm_
\ba_
\bk_
\be_
\b/_
\bo_
\bu_
\bt_
\b/_
\bl_
\bi_
\bl_
\by_
\bp_
\bo_
\bn_
\bd_
\b._
\bs_
\bp_
\be_
\bc. You should be able to
256 create an rpm as a normal user. Be sure you have a
257 ~/.rpmrc, and edit the RPM-dir in _
\bV_
\ba_
\br_
\bi_
\ba_
\bb_
\bl_
\be_
\bs_
\b._
\bm_
\ba_
\bk_
\be. (If you
258 create the RPM as a normal user the permissions will not
262 28/Jul/97 LilyPond 0.0.76 4
268 INSTALL(1) LilyPond documentation INSTALL(1)
271 be set correctly, unfortunately)
273 W
\bW
\bW
\bWI
\bI
\bI
\bIN
\bN
\bN
\bND
\bD
\bD
\bDO
\bO
\bO
\bOZ
\bZ
\bZ
\bZE
\bE
\bE
\bE
276 you need the cygnus windows32 gnu port development stuff;
277 have a look at http://www.cygnus.com/gnu-win32.
279 to make GNU LilyPond under, brr, aargh, well, simply type:
285 A
\bA
\bA
\bAU
\bU
\bU
\bUT
\bT
\bT
\bTH
\bH
\bH
\bHO
\bO
\bO
\bOR
\bR
\bR
\bRS
\bS
\bS
\bS
286 Han-Wen Nienhuys <hanwen@stack.nl>
288 Jan Nieuwenhuizen <jan@digicash.com>
328 28/Jul/97 LilyPond 0.0.76 5