I got Lilypond working by reinstalling Cygwin completely. I cant start X11 (see end of this message), but LilyPond is working!
----
My LilyPond workds after I did a fresh install of Cygwin. I discovered that my directory of packages contained two different versions of various packages, due to previous downloading. TIP: Make sure you dont have any duplicates by inspecting each directory, and duplicate the older versions!
Here is a summary of what I did:
My local directory of Cygwin Packages is H:\Cywgwin Packages
My Cygwin directory is H:\cygwin
I did a fresh install of Cygwin selecting only the essential packages: Lilypond, all Tetex packages, X11, PDF, Ghostscript. The final phase of the installation complained about some missing DLLS so I reran the installation choosing the cygxft, and cygfreetype packages. I'm not sure why these packages weren't chosen as dependencies.
The Cygwin icon on the desktop has the target of:
H:\cygwin\cygwin.bat
The contents of cygwin.bat are:
@echo off
H: chdir H:\cygwin\bin
bash --login -i
Double clicking the icon gives some messages indicating the setup:
Copying skeleton files. These files are for the user to personalise their cygwin experience.
These will never be overwritten.
`./.bashrc' -> `/home/Charles Cave//.bashrc' `./.bash_profile' -> `/home/Charles Cave//.bash_profile' `./.inputrc' -> `/home/Charles Cave//.inputrc'
let's try out Lilypond. Create a test file lil.ly:
$ cat lil.ly { c'4 e' g' }
and let's run Lilypond:
$ lilypond lil.ly GNU LilyPond 2.4.6 Processing `lil.ly' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Layout output to `lil.tex'... Converting to `lil.dvi'... Converting to `lil.ps'... Converting to `lil.pdf'...
Cygwin troubleshooting
The cygcheck -s command produces a lot of useful information about your system.
The cygcheck -c command lists all the packages, their version and status. If a package is incomplete, I would assume that reinstalling it should fix the problem.
libXft-devel 2.1.6-1 OK libxml2 2.6.16-2 OK lilypond 2.4.6-1 OK <--- lilypond-doc 2.4.6-1 OK <--- login 1.9-7 OK
xorg-x11-base 6.8.2.0-1 OK xorg-x11-bin 6.8.2.0-1 OK xorg-x11-bin-dlls 6.8.2.0-1 OK xorg-x11-bin-lndir 6.8.2.0-1 OK xorg-x11-devel 6.8.2.0-2 OK xorg-x11-etc 6.8.2.0-1 OK xorg-x11-fenc 6.8.1.0-2 OK xorg-x11-fnts 6.8.1.0-3 Incomplete xorg-x11-fscl 6.8.1.0-2 OK xorg-x11-fsrv 6.8.2.0-1 OK xorg-x11-libs-data 6.8.2.0-1 OK xorg-x11-man-pages 6.8.2.0-1 OK xorg-x11-xwin 6.8.2.0-2 OK xpdf 3.00-2 OK xterm 196-1 OK xwinclip 1.2.0-1 OK xwinwm 0.0.5-1 OK
I reinstalled X11 packages that looked related to fonts, but could not find a package called fnts or x11-fnts. I still got the message during installation:
The application has failed to start because cygfreetype-6.dll was not found. Re-installing the application may fix this problem.
The challenge is to find out which package contains this file. The cygcheck -f option finds the package for a nominated file, but it didn't work for this dll
$ cygcheck -f cygfreetype-6.dll
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user