bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling and running Lilypond 2.8.6 on Cygwin


From: Luis Rivera
Subject: Compiling and running Lilypond 2.8.6 on Cygwin
Date: Wed, 16 Aug 2006 00:23:55 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hello,

I managed to compile and install Ly 2.8.6 on Cygwin; however, the exe
doesn't run, and there are a few quirks I'd like to report.

1/ the ImageMagick distributed with Cygwin (6.0.4-1) is buggy; doesn't
run at all. For Cygwin, however, it doesn't matter anyway; it's needed
at compilation time to make the icons, but icons are superfluous on
this fake UN*X; so I changed configure l. 10414 from

    if test "$CYGWIN$MINGW32" = "nono"; then

to 

    if test "$MINGW32" = "no"; then

This overrides some attempts of configure to identify Cygwin as some
"flavor" of windoze; in particular, it doesnt try to bundle icons into
the executable. However, `configure' still tries to make symbolic links
instead of hard copies, which cause a lot of trouble in Cygwin (which
indeed is some sort of Windoze).

2/ You have to take into consideration report  on this mailing list.
There are dependencies on Python libraries broken in
/python/GNUmakefile. They must be fixed manually.

3/ Then Lilypond compiled successfully, by most criteria; however,
`make install' fails badly, stating

Traceback (most recent call last):
  File "/home/lusr/devel/lilypond-2.8.6/stepmake/bin/install.py", line
78, in ?
    shutil.copy2 (f, dest)
  File "/usr/lib/python2.4/shutil.py", line 92, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: './out/lilypond'
make[1]: *** [installexe] Error 1
make: *** [install] Error 2

Apparently, `make' forgot lilypond's extension `.exe' on Cygwin...

I went around this bug calling `make install -i', with the following
output.

Traceback (most recent call last):
  File "/home/lusr/devel/lilypond-2.8.6/stepmake/bin/install.py", line
78, in ?
    shutil.copy2 (f, dest)
  File "/usr/lib/python2.4/shutil.py", line 92, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: './out/lilypond'
make[1]: [installexe] Error 1 (ignored)
GNUmakefile:28: warning: overriding commands for target `install'
/home/lusr/devel/lilypond-2.8.6/stepmake/stepmake/generic-targets.make:124:
warning: ignoring old commands for target `install'

I can't make heads or tails of old commands for target `install'.

4/ Installation went fine, though I had to copy and strip lilypond.exe
manually. But then, on running lilypond, I got the following errors on
`lilypond -V NearTheCross.ly', my favorite test file.

GNU LilyPond 2.8.6
Setting GUILE_MIN_YIELD_1 to 70
Setting GUILE_MIN_YIELD_2 to 70
Setting GUILE_MIN_YIELD_MALLOC to 70

LILYPOND_DATADIR="/usr/local/share/lilypond/2.8.6"
LOCALEDIR="/usr/local/share/locale"

Effective prefix: "/usr/local/share/lilypond/2.8.6"
[]
[/usr/local/share/lilypond/2.8.6/scm/lily-library.scm]
[/usr/local/share/lilypond/2.8.6/scm/file-cache.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-music-types.scm]
[/usr/local/share/lilypond/2.8.6/scm/output-lib.scm]
[/usr/local/share/lilypond/2.8.6/scm/c++.scm]
[/usr/local/share/lilypond/2.8.6/scm/chord-ignatzek-names.scm]
[/usr/local/share/lilypond/2.8.6/scm/chord-entry.scm]
[/usr/local/share/lilypond/2.8.6/scm/chord-generic-names.scm]
[/usr/local/share/lilypond/2.8.6/scm/stencil.scm]
[/usr/local/share/lilypond/2.8.6/scm/markup.scm]
[/usr/local/share/lilypond/2.8.6/scm/music-functions.scm]
[/usr/local/share/lilypond/2.8.6/scm/part-combiner.scm]
[/usr/local/share/lilypond/2.8.6/scm/autochange.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-music-properties.scm]
[/usr/local/share/lilypond/2.8.6/scm/auto-beam.scm]
[/usr/local/share/lilypond/2.8.6/scm/chord-name.scm]
[/usr/local/share/lilypond/2.8.6/scm/parser-ly-from-scheme.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-context-properties.scm]
[/usr/local/share/lilypond/2.8.6/scm/translation-functions.scm]
[/usr/local/share/lilypond/2.8.6/scm/script.scm]
[/usr/local/share/lilypond/2.8.6/scm/midi.scm]
[/usr/local/share/lilypond/2.8.6/scm/layout-beam.scm]
[/usr/local/share/lilypond/2.8.6/scm/parser-clef.scm]
[/usr/local/share/lilypond/2.8.6/scm/layout-slur.scm]
[/usr/local/share/lilypond/2.8.6/scm/font.scm]
[/usr/local/share/lilypond/2.8.6/scm/encoding.scm]
[/usr/local/share/lilypond/2.8.6/scm/fret-diagrams.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-markup-commands.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-grob-properties.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-grobs.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-grob-interfaces.scm]
[/usr/local/share/lilypond/2.8.6/scm/define-stencil-commands.scm]
[/usr/local/share/lilypond/2.8.6/scm/layout-page-layout.scm]
[/usr/local/share/lilypond/2.8.6/scm/titling.scm]
[/usr/local/share/lilypond/2.8.6/scm/paper.scm]
[/usr/local/share/lilypond/2.8.6/scm/backend-library.scm]
[/usr/local/share/lilypond/2.8.6/scm/x11-color.scm]
[/usr/local/share/lilypond/2.8.6/scm/safe-lily.scm]
Initializing FontConfig...
adding font directory: /usr/local/share/lilypond/2.8.6/fonts/otf/
adding font directory:
/usr/local/share/lilypond/2.8.6/fonts/type1/Building font database.
warning: can't find file: `'
error: failed files: "NearTheCross.ly"
/usr/local/share/lilypond/2.8.6/scm/lily.scm

I don't know what file is lilypond trying to find...

Cheers!

Luis.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]