]> git.donarmstrong.com Git - lilypond.git/blob - INSTALL.text
release: 0.0.77.jcn1
[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 (T73 or better), which can be
45             had from any CTAN site, e.g. at
46
47        ftp://ftp.shsu.edu/tex-archive/macros/musixtex/taupin
48
49        ftp://ftp.tex.ac.uk/tex-archive/macros/musixtex/taupin
50
51        ftp://ftp.dante.de/tex-archive/macros/musixtex/taupin
52
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
57
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
60        have.
61
62
63
64 29/Jul/97                LilyPond 0.0.77                        1
65
66
67
68
69
70 INSTALL(1)            LilyPond documentation           INSTALL(1)
71
72
73        +\bo         Perl.  Most scripts are written in Perl. The
74                  documentation was created with the perl's Plain
75                  Old Documentation.
76
77        +\bo         (GNU) find
78
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)
83
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:
86
87                configure
88                make install
89
90        This will install the following files:
91
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
97                /usr/local/bin/mi2mu
98                /usr/local/share/lilypond/*
99                /usr/lib/texmf/texmf/tex/lilypond/*
100
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
106        your taste:
107
108                export CPPFLAGS="-I /home/me/my_include -DWEIRD_FOOBAR"
109                configure
110
111        CPPFLAGS are the preprocessor flags.
112
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
115        to make it with
116
117                configure --prefix=/home/me_myself_and_I/
118
119        In this case, you will have to set MFINPUTS, and TEXINPUTS
120        accordingly.
121
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:
125
126                configure --prefix=/usr/local --enable-tex-prefix=/usr/lib/texmf
127
128
129
130 29/Jul/97                LilyPond 0.0.77                        2
131
132
133
134
135
136 INSTALL(1)            LilyPond documentation           INSTALL(1)
137
138
139        Since GNU LilyPond currently is beta, you are advised to
140        also use
141
142                --enable-debugging
143                --enable-checking
144
145        other options include:
146
147        --enable-shared
148                 Make a shared library (gnu/linux, solaris (?)
149                 only )
150
151        --enable-printing
152                 Enable debugging print routines (lilypond -\b-\b-\b-d\bd\bd\bd
153                 option)
154
155        --enable-optimise
156                 Set maximum optimisation
157
158        --enable-profiling
159                 Compile with support for profiling
160
161        --enable-tex-prefix
162                 Set the directory where texmf lives
163
164        --enable-tex-dir
165                 Set then directory tex input is in (detected as a
166                 subdir of tex-prefix)
167
168        --enable-mf-dir
169                 Set then directory mf input is in (idem)
170
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
173                 Real Life usage.
174
175                 If you do
176
177                         make all
178
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).
183
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
186
187                make install
188
189        should do the trick.
190
191        Install the musixtex fonts in a directory which TeX and MF
192        knows (if you are root, look for a directory which
193
194
195
196 29/Jul/97                LilyPond 0.0.77                        3
197
198
199
200
201
202 INSTALL(1)            LilyPond documentation           INSTALL(1)
203
204
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
208        applicable)
209
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
212        pointing to that in
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"
215
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
219                  flag for this file.
220
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:
223
224                lilypond someinput.ly
225                tex lelie.tex
226                xdvi test&
227
228        This is what the output looks like over here:
229
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 ...
239
240                hw:~/musix/spacer$ tex lelie
241                This is TeX, Version 3.14159 (C version 6.1)
242                (lelie.tex
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.
247
248                hw:~/musix/spacer$ xdvi lelie&
249                [1] 855
250
251        Check out the input files, some of them have comments
252        Please refer to the man page for more information.
253
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
259
260
261
262 29/Jul/97                LilyPond 0.0.77                        4
263
264
265
266
267
268 INSTALL(1)            LilyPond documentation           INSTALL(1)
269
270
271        create the RPM as a normal user the permissions will not
272        be set correctly, unfortunately)
273
274 W\bW\bW\bWI\bI\bI\bIN\bN\bN\bND\bD\bD\bDO\bO\bO\bOZ\bZ\bZ\bZE\bE\bE\bE
275        Windows NT:
276
277        you need the cygnus windows32 gnu port development stuff;
278        have a look at http://www.cygnus.com/gnu-win32.
279
280        to make GNU LilyPond under, brr, aargh, well, simply type:
281
282                bash configure
283                make windows32
284
285
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>
288
289        Jan Nieuwenhuizen <jan@digicash.com>
290
291        Have fun!
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 29/Jul/97                LilyPond 0.0.77                        5
329
330