]> git.donarmstrong.com Git - lilypond.git/blob - INSTALL.text
release: 0.0.76
[lilypond.git] / INSTALL.text
1
2
3
4 INSTALL(1)            LilyPond documentation           INSTALL(1)
5
6
7 N\bN\bN\bNA\bA\bA\bAM\bM\bM\bME\bE\bE\bE
8        INSTALL - installing GNU LilyPond
9
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
12        LilyPond
13
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.
16
17        +\bo    A Unix system with GNU tools. GNU LilyPond is known
18             to run on these unices: Linux, AIX, Digital Unix and
19             Solaris.
20
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.
24
25        +\bo    GNU C++ v2.7 or better, with libg++ installed.
26             Version 2.7.2 or better recommended.
27
28        +\bo    GNU make.
29
30        +\bo    Flex (2.5.1 or better).
31
32        +\bo    Bison. (Version 1.25 or better)
33
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:
37
38        +\bo    TeX
39
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
45             CTAN site, eg at
46
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
50
51             You only need the contents of the _\bm_\bf_\b/ subdirectory of
52             the package.
53
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
56        have.
57
58        +\bo         Perl.  Most scripts are written in Perl. The
59                  documentation was created with the perl's Plain
60                  Old Documentation.
61
62
63
64 28/Jul/97                LilyPond 0.0.76                        1
65
66
67
68
69
70 INSTALL(1)            LilyPond documentation           INSTALL(1)
71
72
73        +\bo         (GNU) find
74
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)
79
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:
82
83                configure
84                make install
85
86        This will install the following files:
87
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
93                /usr/local/bin/mi2mu
94                /usr/local/share/lilypond/*
95                /usr/lib/texmf/texmf/tex/lilypond/*
96
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
102        your taste:
103
104                export CPPFLAGS="-I /home/me/my_include -DWEIRD_FOOBAR"
105                configure
106
107        CPPFLAGS are the preprocessor flags.
108
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
111        to make it with
112
113                configure --prefix=/home/me_myself_and_I/
114
115        In this case, you will have to set MFINPUTS, and TEXINPUTS
116        accordingly.
117
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:
121
122                configure --prefix=/usr/local --enable-tex-prefix=/usr/lib/texmf
123
124        Since GNU LilyPond currently is beta, you are advised to
125        also use
126
127
128
129
130 28/Jul/97                LilyPond 0.0.76                        2
131
132
133
134
135
136 INSTALL(1)            LilyPond documentation           INSTALL(1)
137
138
139                --enable-debugging
140                --enable-checking
141
142        other options include:
143
144        --enable-shared
145                 Make a shared library (gnu/linux, solaris (?)
146                 only )
147
148        --enable-printing
149                 Enable debugging print routines (lilypond -\b-\b-\b-d\bd\bd\bd
150                 option)
151
152        --enable-optimise
153                 Set maximum optimisation
154
155        --enable-profiling
156                 Compile with support for profiling
157
158        --enable-tex-prefix
159                 Set the directory where texmf lives
160
161        --enable-tex-dir
162                 Set then directory tex input is in (detected as a
163                 subdir of tex-prefix)
164
165        --enable-mf-dir
166                 Set then directory mf input is in (idem)
167
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
170                 Real Life usage.
171
172                 If you do
173
174                         make all
175
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).
180
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
183
184                make install
185
186        should do the trick.
187
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
193
194
195
196 28/Jul/97                LilyPond 0.0.76                        3
197
198
199
200
201
202 INSTALL(1)            LilyPond documentation           INSTALL(1)
203
204
205        applicable)
206
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
209        pointing to that in
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"
212
213        ftp://hprib.lps.u-psud.fr/pub/music_zips/musixtex.zip
214
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
218                  flag for this file.
219
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:
222
223                lilypond someinput.ly
224                tex lelie.tex
225                xdvi test&
226
227        This is what the output looks like over here:
228
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 ...
238
239                hw:~/musix/spacer$ tex lelie
240                This is TeX, Version 3.14159 (C version 6.1)
241                (lelie.tex
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.
246
247                hw:~/musix/spacer$ xdvi lelie&
248                [1] 855
249
250        Check out the input files, some of them have comments
251        Please refer to the man page for more information.
252
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
259
260
261
262 28/Jul/97                LilyPond 0.0.76                        4
263
264
265
266
267
268 INSTALL(1)            LilyPond documentation           INSTALL(1)
269
270
271        be set correctly, unfortunately)
272
273 W\bW\bW\bWI\bI\bI\bIN\bN\bN\bND\bD\bD\bDO\bO\bO\bOZ\bZ\bZ\bZE\bE\bE\bE
274        Windows NT:
275
276        you need the cygnus windows32 gnu port development stuff;
277        have a look at http://www.cygnus.com/gnu-win32.
278
279        to make GNU LilyPond under, brr, aargh, well, simply type:
280
281                bash configure
282                make windows32
283
284
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>
287
288        Jan Nieuwenhuizen <jan@digicash.com>
289
290        Have fun!
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328 28/Jul/97                LilyPond 0.0.76                        5
329
330