]> git.donarmstrong.com Git - lilypond.git/blobdiff - INSTALL.txt
release: 1.5.3
[lilypond.git] / INSTALL.txt
index 6a8b664b589a33dcdd6693ba2a7f3bfbdfda6d97..22e59ba08c786630ccde8b0561bc391cfaa1ce5e 100644 (file)
@@ -26,7 +26,7 @@ INSTALL - compiling and installing GNU LilyPond
     Mandrake
     Debian GNU/Linux
   Problems
-    Debian GNU/Linux unstable gcc-3.0
+    FLex-2.5.4a and gcc-3.0
     NetBSD
     Solaris:
     AIX
@@ -270,18 +270,24 @@ profiling.  Then I'd use the following for the normal build,
 Emacs mode
 ==========
 
-   An emacs mode for LilyPond is included with the source archive as
-`lilypond-mode.el' and `lilypond-font-lock.el'.  If you have an RPM, it
-is in `/usr/share/doc/lilypond-X/'.  You have to install it yourself.
+   An Emacs mode for entering music and running LilyPond is included
+with the source archive as `lilypond-mode.el' and
+`lilypond-font-lock.el'.  You should install these files somewhere in
+your LOAD-PATH.  If you have installed a precompiled LilyPond package,
+these files can be found in `/usr/share/doc/lilypond-x.y.z/'.
 
-   Add this to your `~/.emacs' or `~/.emacs.el':
+   Add this to your `~/.emacs' or `~/.emacs.el', or install this file
+in Emacs' `site-start.d':
+         ;;; lilypond-init.el --- Startup code for LilyPond mode
+     
          (load-library "lilypond-mode.el")
          (setq auto-mode-alist
            (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
          (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
 
    If you have the latest LilyPond-1.4.x Debian package, LilyPond-mode
-is automatically loaded, so you need not modify your `~/.emacs' file.
+is automatically loaded, you not even need to modify your `~/.emacs'
+file.
 
 Compiling for distributions
 ===========================
@@ -469,17 +475,19 @@ bug reports to <bug-lilypond@gnu.org>.
 
    Bugs that are not fault of LilyPond are documented here.
 
-Debian GNU/Linux unstable gcc-3.0
----------------------------------
+FLex-2.5.4a and gcc-3.0
+-----------------------
 
-   Flex (2.5.4a-11) in unstable does not produce g++-3.0 compliant C++
-code.  To compile LilyPond with gcc-3.0 you may do:
+   Flex 2.5.4a does not produce g++-3.0 compliant C++ code.  To compile
+LilyPond with gcc-3.0 you may do:
 
              CC=gcc-3.0 CXX=g++-3.0 ./configure --enable-config=gcc-3.0
              make conf=gcc-3.0 -C lily out-gcc-3.0/lexer.cc
              patch -p1 < lexer-gcc-3.0.patch
              make conf=gcc-3.0 -C lily
 
+   Note that this is fixed in Debian/unstable for flex >= 2.5.4a-13.
+
 NetBSD
 ------