Well, now I'm truly mystified...  I copied your setup/mounts and this is
what I get:

$ lilypond --verbose example-1.ly
GNU LilyPond 1.3.81.jcn1
error: can't find file: `lily.scm' (load path:
`:/Cygwin/usr/lilypond-1.3.81.jcn
1/share/lilypond/ly:/Cygwin/usr/lilypond-1.3.81.jcn1/share/lilypond/afm:/Cyg
win/
usr/lilypond-1.3.81.jcn1/share/lilypond/scm:/Cygwin/usr/lilypond-1.3.81.jcn1
/sha
re/lilypond/tfm:/Cygwin/usr/lilypond-1.3.81.jcn1/share/lilypond/ps')

However, the system seems to find it OK:

james@DEVATHLON /usr/lilypond-1.3.81.jcn1/input
$ ls $LILYPOND/scm
accordion-script.scm  lily.scm              script.scm
chord-names.scm       midi.scm              slur.scm
generic-property.scm  paper.scm

I wasn't able to get .bashrc to work, so I had to use .profile (which seems
to work fine):

james@DEVATHLON ~
$ cat .profile
#!/bin/bash

alias l='ls -ltrF'
alias p='less -MIX'
alias which='type -p'

HOME=/home/james
PATH=/usr/lilypond-1.3.81.jcn1/bin:$PATH

export LILYPOND=/usr/lilypond-1.3.81.jcn1/share/lilypond
export MIKTEX=/mnt/c/texmf
export TFMFONTS=:$MIKTEX/fonts/tfm/public/cm:$LILYPOND/tfm
export GUILE_LOAD_PATH=/usr/share/guile/1.4

Also, I had to create the two links that you have in your Cygwin root, as
well as create /mnt/c:

james@DEVATHLON ~
$ l /
total 5
drwxr-xr-x   3 james    unknown         0 Aug 29 12:20 etc/
drwxr-xr-x   4 james    unknown         0 Aug 29 12:20 lib/
drwxr-xr-x   2 james    unknown         0 Aug 29 12:20 tmp/
drwxr-xr-x  14 james    unknown         0 Aug 29 12:20 usr/
drwxr-xr-x   4 james    unknown         0 Aug 29 12:20 var/
drwxr-xr-x   2 james    unknown         0 Aug 29 12:20 bin/
-rw-r--r--   1 james    unknown       766 Aug 29 12:21 cygwin.ico
drwxr-xr-x   3 james    unknown         0 Aug 29 12:22 home/
drwxr-xr-x   3 james    unknown         0 Aug 29 13:14 mnt/
-rwxr-xr-x   1 james    unknown        81 Aug 29 13:40 cygwin.bat*
lrw-r--r--   1 james    unknown        14 Aug 29 13:51 cygdrive -> mnt/
lrw-r--r--   1 james    unknown        12 Aug 29 13:51 Cygnus -> ./
drwxr-xr-x   3 james    unknown         0 Aug 29 13:53 linux-x-cygwin/
-rw-r--r--   1 james    unknown       967 Aug 29 14:11 Cygwin 1.1 Bash
Shell.pif

Kpsewhich is not part of the standard MiKTeX distro, but I managed to find
an old one that I could use (from an old lily distro).  It found the .tfm
files with no problems:

james@DEVATHLON ~
$ kpsewhich feta20.tfm
/usr/lilypond-1.3.81.jcn1/share/lilypond/tfm/feta20.tfm

james@DEVATHLON ~
$ kpsewhich cmr10.tfm
/mnt/c/texmf/fonts/tfm/public/cm/cmr10.tfm

I had to create the /mnt/c entry in the mount table:

james@DEVATHLON ~
$ mount
Device              Directory           Type         Flags
C:\Cygwin\bin       /usr/bin            system       binmode
C:\Cygwin\lib       /usr/lib            system       binmode
C:\Cygwin           /                   system       binmode
c:                  /mnt/c              system       binmode

So now my setup is pretty much identical to your WinBox, but it still
doesn't work.  Any ideas?

-- Shamus


Reply via email to