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 (T73 or better), which can be
45 had from any CTAN site, e.g. at
47 ftp://ftp.shsu.edu/tex-archive/macros/musixtex/taupin
49 ftp://ftp.tex.ac.uk/tex-archive/macros/musixtex/taupin
51 ftp://ftp.dante.de/tex-archive/macros/musixtex/taupin
53 You only need the contents of the _
\bm_
\bf_
\b/
54 subdirectory of the package. The primary site of
55 the Taupin version is ftp://hprib.lps.u-
56 psud.fr/pub/music_zips/musixtex.zip
58 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
59 Although not strictly necessary, these are recommended to
64 29/Jul/97 LilyPond 0.0.77 1
70 INSTALL(1) LilyPond documentation INSTALL(1)
73 +
\bo Perl. Most scripts are written in Perl. The
74 documentation was created with the perl's Plain
79 +
\bo A fast computer (a full page of music typically
80 takes 1 minute on my 486/133, using the
81 -
\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
82 most MusiXTeX preprocessors)
84 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
85 to install GNU LilyPond, simply type:
90 This will install the following files:
92 /usr/local/man/man1/mi2mu.1
93 /usr/local/man/man5/mudela.5
94 /usr/local/man/man1/lilypond.1
95 /usr/local/lib/libflower.{so,a}
96 /usr/local/bin/lilypond
98 /usr/local/share/lilypond/*
99 /usr/lib/texmf/texmf/tex/lilypond/*
101 The TeX include directory is detected dynamically, but it
102 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-
103 d
\bd
\bd
\bdi
\bi
\bi
\bir
\br
\br
\br. The above assumes that you are root and have the gnu
104 development tools, and your make is gnu make. If this is
105 not the case, you can adjust your environment variables to
108 export CPPFLAGS="-I /home/me/my_include -DWEIRD_FOOBAR"
111 CPPFLAGS are the preprocessor flags.
113 the configure script is Cygnus configure, and it will
114 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
117 configure --prefix=/home/me_myself_and_I/
119 In this case, you will have to set MFINPUTS, and TEXINPUTS
122 If you want to install GNU LilyPond in _
\b/_
\bu_
\bs_
\br_
\b/_
\bl_
\bo_
\bc_
\ba_
\bl, and
123 your TeX has no default hooks for local stuff (mine is
124 broken too), you can do:
126 configure --prefix=/usr/local --enable-tex-prefix=/usr/lib/texmf
130 29/Jul/97 LilyPond 0.0.77 2
136 INSTALL(1) LilyPond documentation INSTALL(1)
139 Since GNU LilyPond currently is beta, you are advised to
145 other options include:
148 Make a shared library (gnu/linux, solaris (?)
152 Enable debugging print routines (lilypond -
\b-
\b-
\b-d
\bd
\bd
\bd
156 Set maximum optimisation
159 Compile with support for profiling
162 Set the directory where texmf lives
165 Set then directory tex input is in (detected as a
166 subdir of tex-prefix)
169 Set then directory mf input is in (idem)
171 All options are documented in the _
\bc_
\bo_
\bn_
\bf_
\bi_
\bg_
\bu_
\br_
\be help
172 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
179 everything will be compiled, but nothing will be
180 installed. The resulting binaries can be found
181 in the subdirectories _
\bo_
\bu_
\bt_
\b/ (which contain all
182 files generated during compilation).
184 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
185 If you have done a successful make, then a simple
191 Install the musixtex fonts in a directory which TeX and MF
192 knows (if you are root, look for a directory which
196 29/Jul/97 LilyPond 0.0.77 3
202 INSTALL(1) LilyPond documentation INSTALL(1)
205 contains the directories with AMS and CM source (*.mf)
206 files. Create a subdir lilypond or musixtex and copy the
207 fonts into that). Do not forget to rehash TeX (if
210 Example: my fonts are in
211 _
\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
213 _
\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
214 the files, I ran "texhash"
216 C
\bC
\bC
\bCA
\bA
\bA
\bAV
\bV
\bV
\bVE
\bE
\bE
\bEA
\bA
\bA
\bAT
\bT
\bT
\bTS
\bS
\bS
\bS
217 +
\bo The -O2 option to gcc triggers a gcc bug on DEC
218 Alpha in dstream.cc. You should turn off this
221 E
\bE
\bE
\bEX
\bX
\bX
\bXA
\bA
\bA
\bAM
\bM
\bM
\bMP
\bP
\bP
\bPL
\bL
\bL
\bLE
\bE
\bE
\bE
222 This is what I type in my xterm:
224 lilypond someinput.ly
228 This is what the output looks like over here:
230 hw:~/musix/spacer$ lilypond input/kortjakje.ly
231 GNU LilyPond 0.0.71 #20/FlowerLib 1.1.20 #0
232 Parsing ... [/home/hw/share/lilypond/init//symbol.ini <..snip..>
233 .. .ini]][input/kortjakje.ly]
234 Creating elements ...
235 Preprocessing elements...
236 Calculating column positions ... [3][8][13][17][21][25]
237 Postprocessing elements...
238 TeX output to lelie.tex ...
240 hw:~/musix/spacer$ tex lelie
241 This is TeX, Version 3.14159 (C version 6.1)
243 Hyphenation patterns for english, dutch, german, loaded.
244 (/home/hw/lib/texmf/tex/lilypond/lilyponddefs.tex) [1] )
245 Output written on lelie.dvi (1 page, 8944 bytes).
246 Transcript written on lelie.log.
248 hw:~/musix/spacer$ xdvi lelie&
251 Check out the input files, some of them have comments
252 Please refer to the man page for more information.
254 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
255 RedHat Linux users should be able to get a RPM. A spec
256 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
257 create an rpm as a normal user. Be sure you have a
258 ~/.rpmrc, and edit the RPM-dir in _
\bV_
\ba_
\br_
\bi_
\ba_
\bb_
\bl_
\be_
\bs_
\b._
\bm_
\ba_
\bk_
\be. (If you
262 29/Jul/97 LilyPond 0.0.77 4
268 INSTALL(1) LilyPond documentation INSTALL(1)
271 create the RPM as a normal user the permissions will not
272 be set correctly, unfortunately)
274 W
\bW
\bW
\bWI
\bI
\bI
\bIN
\bN
\bN
\bND
\bD
\bD
\bDO
\bO
\bO
\bOZ
\bZ
\bZ
\bZE
\bE
\bE
\bE
277 you need the cygnus windows32 gnu port development stuff;
278 have a look at http://www.cygnus.com/gnu-win32.
280 to make GNU LilyPond under, brr, aargh, well, simply type:
286 A
\bA
\bA
\bAU
\bU
\bU
\bUT
\bT
\bT
\bTH
\bH
\bH
\bHO
\bO
\bO
\bOR
\bR
\bR
\bRS
\bS
\bS
\bS
287 Han-Wen Nienhuys <hanwen@stack.nl>
289 Jan Nieuwenhuizen <jan@digicash.com>
328 29/Jul/97 LilyPond 0.0.77 5