INSTALL - installing GNU LilyPond
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
- This page documents installation and compilation of GNU
+ This page documents installation and compilation of GNU
LilyPond
+A\bA\bA\bAB\bB\bB\bBS\bS\bS\bST\bT\bT\bTR\bR\bR\bRA\bA\bA\bAC\bC\bC\bCT\bT\bT\bT
+ You do something which looks remotely like
+
+ configure
+ make
+ make install
+ tar -C /usr/lib/texmf/fonts/source/ -zxf musixtex-T73.tgz 'mf/*'
+
+ The detailed instructions follow here.
+
+
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
For compilation you need.
- +\bo A Unix system with GNU tools. GNU LilyPond is known
- to run on these unices: Linux, AIX, Digital Unix and
- Solaris.
+ +\bo A GNU system: GNU LilyPond is known to run on these
+ GNU systems: Linux, AIX, Digital Unix and Solaris.
If you have the Cygnus WINDOWS32 port of the GNU
- utils, it will even work in Windows NT/95, but don't
- promise to support it.
+ utils, it will even work in Windows NT/95, but we
+ don't promise to support it.
+\bo GNU C++ v2.7 or better, with libg++ installed.
Version 2.7.2 or better recommended.
ftp://ftp.tex.ac.uk/tex-archive/macros/musixtex/taupin
- ftp://ftp.dante.de/tex-archive/macros/musixtex/taupin
- You only need the contents of the _\bm_\bf_\b/
- subdirectory of the package. The primary site of
- the Taupin version is ftp://hprib.lps.u-
- psud.fr/pub/music_zips/musixtex.zip
-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
- Although not strictly necessary, these are recommended to
- have.
+2/Dec/97 LilyPond 0.1.37 1
-29/Jul/97 LilyPond 0.0.77 1
+INSTALL(1) LilyPond documentation INSTALL(1)
-INSTALL(1) LilyPond documentation INSTALL(1)
+ ftp://ftp.dante.de/tex-archive/macros/musixtex/taupin
+ You only need the contents of the _\bm_\bf_\b/
+ subdirectory of the package. The primary site of
+ the Taupin version is ftp://hprib.lps.u-
+ psud.fr/pub/music_zips/musixtex.zip
- +\bo Perl. Most scripts are written in Perl. The
- documentation was created with the perl's Plain
- Old Documentation.
+ Andreas Egler's version of MusixTeX, now called
+ OpusTeX, will also work. Andreas moved some
+ characters around in the fonts, so you have to
+ edit the definitions in tex/eglerdefs.tex (patch
+ appreciated)
- +\bo (GNU) find
+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
+ Although not strictly necessary, these are recommended to
+ have.
+
+ +\bo Perl-5. Most documentation was created with the
+ perl's Plain Old Documentation. (I use 5.003)
+
+ +\bo Python. Although perl is nice, python is
+ better. We will shift towards python for build
+ scripts
+
+ +\bo GNU find
+\bo A fast computer (a full page of music typically
takes 1 minute on my 486/133, using the
This will install the following files:
/usr/local/man/man1/mi2mu.1
- /usr/local/man/man5/mudela.5
+ /usr/local/man/man1/convert-mudela.1
+ /usr/local/man/man1/mudela-book.1
/usr/local/man/man1/lilypond.1
/usr/local/lib/libflower.{so,a}
/usr/local/bin/lilypond
The TeX include directory is detected dynamically, but it
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-
- d\bd\bd\bdi\bi\bi\bir\br\br\br. The above assumes that you are root and have the gnu
- development tools, and your make is gnu make. If this is
+ d\bd\bd\bdi\bi\bi\bir\br\br\br. The above assumes that you are root and have the GNU
+ development tools, and your make is GNU make. If this is
not the case, you can adjust your environment variables to
+
+
+
+2/Dec/97 LilyPond 0.1.37 2
+
+
+
+
+
+INSTALL(1) LilyPond documentation INSTALL(1)
+
+
your taste:
export CPPFLAGS="-I /home/me/my_include -DWEIRD_FOOBAR"
configure --prefix=/usr/local --enable-tex-prefix=/usr/lib/texmf
-
-
-29/Jul/97 LilyPond 0.0.77 2
-
-
-
-
-
-INSTALL(1) LilyPond documentation INSTALL(1)
-
-
Since GNU LilyPond currently is beta, you are advised to
also use
option)
--enable-optimise
- Set maximum optimisation
+ Set maximum optimisation: compile with -\b-\b-\b-O\bO\bO\bO2\b2\b2\b2
--enable-profiling
Compile with support for profiling
--enable-tex-prefix
- Set the directory where texmf lives
+ Set the directory where TeX and Metafont live
--enable-tex-dir
- Set then directory tex input is in (detected as a
+ Set then directory TeX input is in (detected as a
subdir of tex-prefix)
--enable-mf-dir
- Set then directory mf input is in (idem)
+ Set the directory mf input is in (idem)
+
+
+
+
+2/Dec/97 LilyPond 0.1.37 3
+
+
+
+
+
+INSTALL(1) LilyPond documentation INSTALL(1)
+
+
+ --enable-out-dir
+ Set the directory for machine generated output.
All options are documented in the _\bc_\bo_\bn_\bf_\bi_\bg_\bu_\br_\be help
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
in the subdirectories _\bo_\bu_\bt_\b/ (which contain all
files generated during compilation).
+ B\bB\bB\bBu\bu\bu\bui\bi\bi\bil\bl\bl\bld\bd\bd\bdi\bi\bi\bin\bn\bn\bng\bg\bg\bg f\bf\bf\bfo\bo\bo\bor\br\br\br m\bm\bm\bmu\bu\bu\bul\bl\bl\blt\bt\bt\bti\bi\bi\bip\bp\bp\bpl\bl\bl\ble\be\be\be h\bh\bh\bho\bo\bo\bos\bs\bs\bst\bt\bt\bts\bs\bs\bs
+
+ LilyPond does not follow the GNU standards when it comes
+ to configuring and making Makefiles. In LilyPond, _\bm_\ba_\bk_\be
+ generates _\ba_\bl_\bl output in output directories (called _\bo_\bu_\bt_\b/,
+ by default). You can have multiple compiles from the same
+ source-tree, by overriding the setting for the output
+ directory.
+
+ Example: on my system, I do debugging and lots compiling.
+ For this I use the configuration as follows:
+
+ configure --prefix=~ --enable-debugging --enable-printing --enable-checking
+ make all
+
+ and I want to do profiling. For that I use
+
+ configure --prefix=~ --enable-debugging --disable-printing\
+ --disable-checking --enable-profiling --enable-optimise\
+ --enable-out-dir=out-profile
+
+ make OUTDIR_NAME=out-profile all
+
+ These two commands build two entirely separate versions of
+ LilyPond. In Real Life, you would probably also want to
+ have two different prefixes. On my machine this is no
+ problem; I never do make install. My prefix dirs are
+ linked back to my source directory.
+
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
If you have done a successful make, then a simple
-29/Jul/97 LilyPond 0.0.77 3
+2/Dec/97 LilyPond 0.1.37 4
Alpha in dstream.cc. You should turn off this
flag for this file.
+ +\bo Perl5.003 and Perl5.004 use different syntax for
+ pod2html:
+
E\bE\bE\bEX\bX\bX\bXA\bA\bA\bAM\bM\bM\bMP\bP\bP\bPL\bL\bL\bLE\bE\bE\bE
This is what I type in my xterm:
This is what the output looks like over here:
- hw:~/musix/spacer$ lilypond input/kortjakje.ly
- GNU LilyPond 0.0.71 #20/FlowerLib 1.1.20 #0
- Parsing ... [/home/hw/share/lilypond/init//symbol.ini <..snip..>
- .. .ini]][input/kortjakje.ly]
- Creating elements ...
+ GNU LilyPond 0.0.78 #4/FlowerLib 1.1.24 #0
+ Parsing ... [/home/hw/share/lilypond/init//
+ <..etc..>
+ init//performer.ly]]][input/kortjakje.ly]
+ Creating elements ...[8][16][24][25]
Preprocessing elements...
- Calculating column positions ... [3][8][13][17][21][25]
+ Calculating column positions ... [14][25]
Postprocessing elements...
TeX output to lelie.tex ...
-
- hw:~/musix/spacer$ tex lelie
- This is TeX, Version 3.14159 (C version 6.1)
- (lelie.tex
- Hyphenation patterns for english, dutch, german, loaded.
- (/home/hw/lib/texmf/tex/lilypond/lilyponddefs.tex) [1] )
- Output written on lelie.dvi (1 page, 8944 bytes).
- Transcript written on lelie.log.
+ Creating MIDI elements ...MIDI output to lelie.midi ...
hw:~/musix/spacer$ xdvi lelie&
[1] 855
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
create an rpm as a normal user. Be sure you have a
~/.rpmrc, and edit the RPM-dir in _\bV_\ba_\br_\bi_\ba_\bb_\bl_\be_\bs_\b._\bm_\ba_\bk_\be. (If you
+ create the RPM as a normal user the permissions will not
+ be set correctly, unfortunately)
-29/Jul/97 LilyPond 0.0.77 4
+2/Dec/97 LilyPond 0.1.37 5
-INSTALL(1) LilyPond documentation INSTALL(1)
- create the RPM as a normal user the permissions will not
- be set correctly, unfortunately)
+INSTALL(1) LilyPond documentation INSTALL(1)
+
-W\bW\bW\bWI\bI\bI\bIN\bN\bN\bND\bD\bD\bDO\bO\bO\bOZ\bZ\bZ\bZE\bE\bE\bE
- Windows NT:
+D\bD\bD\bDE\bE\bE\bEB\bB\bB\bBI\bI\bI\bIA\bA\bA\bAN\bN\bN\bN G\bG\bG\bGN\bN\bN\bNU\bU\bU\bU/\b/\b/\b/L\bL\bL\bLI\bI\bI\bIN\bN\bN\bNU\bU\bU\bUX\bX\bX\bX
+ A Debian package is in the works
- you need the cygnus windows32 gnu port development stuff;
- have a look at http://www.cygnus.com/gnu-win32.
+W\bW\bW\bWI\bI\bI\bIN\bN\bN\bND\bD\bD\bDO\bO\bO\bOW\bW\bW\bWS\bS\bS\bS N\bN\bN\bNT\bT\bT\bT/\b/\b/\b/9\b9\b9\b95\b5\b5\b5
+ So, you're stuck with Windows, eh? Well, don't worry, you
+ just need (to get) Cygnus' windows32 port of gnu
+ development stuff; have a look at
+ http://www.cygnus.com/gnu-win32.
- to make GNU LilyPond under, brr, aargh, well, simply type:
+ To make GNU LilyPond under, brr, aargh, shudder...
+ windows32, well, simply type:
bash configure
- make windows32
+ make
+ Note: If you rely on broken DOS/Windows tools such as
+ pkzip/WinZIP
+ to unpack the distribution, make sure the e\be\be\ben\bn\bn\bnt\bt\bt\bti\bi\bi\bir\br\br\bre\be\be\be
+ source tree
+ is unpacked correctly, in particular the empty out
+ directories
+ (_\bf_\bl_\bo_\bw_\be_\br_\b/_\bo_\bu_\bt, _\bl_\bi_\bb_\b/_\bo_\bu_\bt et. al.)
A\bA\bA\bAU\bU\bU\bUT\bT\bT\bTH\bH\bH\bHO\bO\bO\bOR\bR\bR\bRS\bS\bS\bS
Han-Wen Nienhuys <hanwen@stack.nl>
-
-
-
-
-
-
-
-
-29/Jul/97 LilyPond 0.0.77 5
+2/Dec/97 LilyPond 0.1.37 6