variables and symlinks, which comes in handly when you have to compile
LilyPond more often.
+sect(OBTAINING)
+
+You can get the latest version of LilyPond at
+lurl(ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/). Refer to the links
+document for mirror sites.
+
+em(If you upgrade by patching do remember to rerun autoconf after
+applying the patch).
+
sect(PREREQUISITES)
For compilation you need:
environment variables in the start-up scripts of your shell. An
example is given here for the Bourne shell:
verb(export MFINPUTS="/usr/local/share/lilypond/mf:"
-export TEXINPUTS="/usr/local/share/lilypond/tex:"
+export TEXINPUTS="/usr/local/share/lilypond/tex:/usr/local/share/lilypond/ps:"
)
The empty path component
represents TeX() and MetaFont's default search paths. Scripts with
it()Bison (version 1.25 or newer).
Check out lurl(ftp://ftp.gnu.org)
or any mirror of this site.
-it() GUILE 1.3 (no, GUILE 1.2 won't work), check out lurl(http://www.gnu.org/programs/guile.html)
+it() GUILE 1.3 (no, GUILE 1.2 won't work),
+check out lurl(http://www.gnu.org/programs/guile.html).
it()Python (version 1.5 or newer). Check out
verb(
gunzip -c lilypond-x.y.z | tar xf -
cd lilypond-x.y.z
- configure # fill in your standard prefix with --prefix
+ ./configure # fill in your standard prefix with --prefix
make
make install
)
verb(
export CPPFLAGS="-I /home/me/my_include -DWEIRD_FOOBAR"
- configure
+ ./configure
)
code(CPPFLAGS) are the preprocessor flags.
with a different bf(--prefix) option. Our favourite location is
verb(
- configure --prefix=$HOME/usr
+ ./configure --prefix=$HOME/usr
)
In this case, you will have to set up MFINPUTS, and TEXINPUTS accordingly.
following for the normal build,
verb(
- configure --prefix=~ --disable-optimise --enable-checking
+ ./configure --prefix=~ --disable-optimise --enable-checking
make
make install
)
and for the profiling version, I specify a different configuration.
verb(
- configure --prefix=~ --enable-profiling --enable-config=optprof --enable-optimise --disable-checking
+ ./configure --prefix=~ --enable-profiling --enable-config=optprof --enable-optimise --disable-checking
make config=optprof
make config=optprof install
)