Hi Knut, thank you for the script.
Am 12.09.2017 um 09:34 schrieb Knut Petersen: > >> Hm, will I be able to get a system where I can build LilyPond again? > > Urs, building guile 1.8 is a pretty trivial and fast process. Just do > it and don't care about debian OK, I see how you build Guile directly into the LilyPond build directory, and building Guile worked on first attempt. I notice that upon each execution of the script Guile will be erased and rebuilt from scratch. Am I right to assume that I could skip this step for following builds? And more, can't I build Guile once, into some other directory and rather than rebuilding it each time place a symlink into the LilyPond installation directory? This would be very useful as I tend to have multiple builds in parallel. > >> I'm really not fluent enough with package management, but could I >> install >> Guile 1.8 from sid and use that for setting up my LilyPond environment? >> I really don't want to use an extra virtual machine just for that. >> (I don't need step-by-step instructions here, just a confirmation if it >> is possible (and maybe a general pointer on how to proceed) > > Attached you'll find a script that builds guile and lilypond from > local copies of their git repositories. > Obviously you'll have to adapt some paths defined and and used in the > script (LILYSOURCE, GUILESOURCE, LILYROOT) first. > I did so (and commented out make doc for now). First compilation failed due to missing dblatex, but the second one failed with an error I didn't really understand. Attached you'll find the tail of the build log - any ideas what is wrong and what I can do? Best Urs > Knut
echo /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man out/abc2ly > out/abc2ly.1 cat /home/urs/git/lilypond/source/scripts/etf2ly.py | sed -e '#' -e '/@relocate-preamble@/r /home/urs/git/lilypond/source/build/python/./out/relocate-preamble.py' -e 's%@relocate-preamble@%%g' | sed -e '#' -e 's!@BASH@!/bin/bash!g' -e 's!@BUILD_VERSION@!1!g' -e 's!@DATE@!12SEP17!g' -e 's!@FONTFORGE@!/usr/bin/fontforge!g' -e 's!@GUILE@!/home/uliska/software/lilypond/builds/current/share/lilypond/bin/guile!g' -e 's!@MICRO_VERSION@!0!g' -e 's!@MAJOR_VERSION@!2!g' -e 's!@MINOR_VERSION@!21!g' -e 's!@NCSB_DIR@!!g' -e 's!@PACKAGE@!LILYPOND!g' -e 's!@PATCH_LEVEL@!0!g' -e 's!@PATHSEP@!:!g' -e 's!@PERL@!/usr/bin/perl!g' -e 's!@PYTHON@!/usr/bin/python -tt!g' -e 's!@SHELL@!/bin/sh!g' -e 's!@TARGET_PYTHON@!/usr/bin/python -tt!g' -e 's!@TOPLEVEL_VERSION@!2.21.0!g' -e 's!@bindir@!/home/uliska/software/lilypond/builds/current/bin!g' -e 's!@datadir@!/home/uliska/software/lilypond/builds/current/share!g' -e 's!@date@!12SEP17!g' -e 's!@lilypond_datadir@!/home/uliska/software/lilypond/builds/current/share/lilypond/2.21.0!g' -e 's!@lilypond_docdir@!/home/uliska/software/lilypond/builds/current/share/doc/lilypond!g' -e 's!@lilypond_libdir@!/home/uliska/software/lilypond/builds/current/lib/lilypond/2.21.0!g' -e 's!@local_lilypond_datadir@!/home/uliska/software/lilypond/builds/current/share/lilypond/2.21.0!g' -e 's!@local_lilypond_libdir@!/home/uliska/software/lilypond/builds/current/lib/lilypond/2.21.0!g' -e 's!@localedir@!/home/uliska/software/lilypond/builds/current/share/locale!g' -e 's!@outdir@!./out!g' -e 's!@package@!lilypond!g' -e 's!@prefix@!/home/uliska/software/lilypond/builds/current!g' -e 's!@program_prefix@!!g' -e 's!@program_suffix@!!g' -e 's!@sharedstatedir@!/home/uliska/software/lilypond/builds/current/com!g' -e 's!@src-dir@!/home/urs/git/lilypond/source/scripts!g' -e 's!@top-src-dir@!/home/urs/git/lilypond/source!g' > out/etf2ly chmod 755 out/etf2ly echo /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man out/etf2ly > out/etf2ly.1 cat /home/urs/git/lilypond/source/scripts/midi2ly.py | sed -e '#' -e '/@relocate-preamble@/r /home/urs/git/lilypond/source/build/python/./out/relocate-preamble.py' -e 's%@relocate-preamble@%%g' | sed -e '#' -e 's!@BASH@!/bin/bash!g' -e 's!@BUILD_VERSION@!1!g' -e 's!@DATE@!12SEP17!g' -e 's!@FONTFORGE@!/usr/bin/fontforge!g' -e 's!@GUILE@!/home/uliska/software/lilypond/builds/current/share/lilypond/bin/guile!g' -e 's!@MICRO_VERSION@!0!g' -e 's!@MAJOR_VERSION@!2!g' -e 's!@MINOR_VERSION@!21!g' -e 's!@NCSB_DIR@!!g' -e 's!@PACKAGE@!LILYPOND!g' -e 's!@PATCH_LEVEL@!0!g' -e 's!@PATHSEP@!:!g' -e 's!@PERL@!/usr/bin/perl!g' -e 's!@PYTHON@!/usr/bin/python -tt!g' -e 's!@SHELL@!/bin/sh!g' -e 's!@TARGET_PYTHON@!/usr/bin/python -tt!g' -e 's!@TOPLEVEL_VERSION@!2.21.0!g' -e 's!@bindir@!/home/uliska/software/lilypond/builds/current/bin!g' -e 's!@datadir@!/home/uliska/software/lilypond/builds/current/share!g' -e 's!@date@!12SEP17!g' -e 's!@lilypond_datadir@!/home/uliska/software/lilypond/builds/current/share/lilypond/2.21.0!g' -e 's!@lilypond_docdir@!/home/uliska/software/lilypond/builds/current/share/doc/lilypond!g' -e 's!@lilypond_libdir@!/home/uliska/software/lilypond/builds/current/lib/lilypond/2.21.0!g' -e 's!@local_lilypond_datadir@!/home/uliska/software/lilypond/builds/current/share/lilypond/2.21.0!g' -e 's!@local_lilypond_libdir@!/home/uliska/software/lilypond/builds/current/lib/lilypond/2.21.0!g' -e 's!@localedir@!/home/uliska/software/lilypond/builds/current/share/locale!g' -e 's!@outdir@!./out!g' -e 's!@package@!lilypond!g' -e 's!@prefix@!/home/uliska/software/lilypond/builds/current!g' -e 's!@program_prefix@!!g' -e 's!@program_suffix@!!g' -e 's!@sharedstatedir@!/home/uliska/software/lilypond/builds/current/com!g' -e 's!@src-dir@!/home/urs/git/lilypond/source/scripts!g' -e 's!@top-src-dir@!/home/urs/git/lilypond/source!g' > out/midi2ly chmod 755 out/midi2ly echo /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man out/midi2ly > out/midi2ly.1 cat /home/urs/git/lilypond/source/scripts/lilypond-invoke-editor.scm | sed -e '#' -e '/@relocate-preamble@/r /home/urs/git/lilypond/source/build/python/./out/relocate-preamble.py' -e 's%@relocate-preamble@%%g' | sed -e '#' -e 's!@BASH@!/bin/bash!g' -e 's!@BUILD_VERSION@!1!g' -e 's!@DATE@!12SEP17!g' -e 's!@FONTFORGE@!/usr/bin/fontforge!g' -e 's!@GUILE@!/home/uliska/software/lilypond/builds/current/share/lilypond/bin/guile!g' -e 's!@MICRO_VERSION@!0!g' -e 's!@MAJOR_VERSION@!2!g' -e 's!@MINOR_VERSION@!21!g' -e 's!@NCSB_DIR@!!g' -e 's!@PACKAGE@!LILYPOND!g' -e 's!@PATCH_LEVEL@!0!g' -e 's!@PATHSEP@!:!g' -e 's!@PERL@!/usr/bin/perl!g' -e 's!@PYTHON@!/usr/bin/python -tt!g' -e 's!@SHELL@!/bin/sh!g' -e 's!@TARGET_PYTHON@!/usr/bin/python -tt!g' -e 's!@TOPLEVEL_VERSION@!2.21.0!g' -e 's!@bindir@!/home/uliska/software/lilypond/builds/current/bin!g' -e 's!@datadir@!/home/uliska/software/lilypond/builds/current/share!g' -e 's!@date@!12SEP17!g' -e 's!@lilypond_datadir@!/home/uliska/software/lilypond/builds/current/share/lilypond/2.21.0!g' -e 's!@lilypond_docdir@!/home/uliska/software/lilypond/builds/current/share/doc/lilypond!g' -e 's!@lilypond_libdir@!/home/uliska/software/lilypond/builds/current/lib/lilypond/2.21.0!g' -e 's!@local_lilypond_datadir@!/home/uliska/software/lilypond/builds/current/share/lilypond/2.21.0!g' -e 's!@local_lilypond_libdir@!/home/uliska/software/lilypond/builds/current/lib/lilypond/2.21.0!g' -e 's!@localedir@!/home/uliska/software/lilypond/builds/current/share/locale!g' -e 's!@outdir@!./out!g' -e 's!@package@!lilypond!g' -e 's!@prefix@!/home/uliska/software/lilypond/builds/current!g' -e 's!@program_prefix@!!g' -e 's!@program_suffix@!!g' -e 's!@sharedstatedir@!/home/uliska/software/lilypond/builds/current/com!g' -e 's!@src-dir@!/home/urs/git/lilypond/source/scripts!g' -e 's!@top-src-dir@!/home/urs/git/lilypond/source!g' > out/lilypond-invoke-editor chmod 755 out/lilypond-invoke-editor echo /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man /home/urs/git/lilypond/source/build/scripts/build/out/help2man out/lilypond-invoke-editor > out/lilypond-invoke-editor.1 help2man: can't get `--help' info from out/lilypond-invoke-editor Try `--no-discard-stderr' if option outputs to stderr /home/uliska/git/lilypond/source/stepmake/stepmake/help2man-rules.make:26: recipe for target 'out/lilypond-invoke-editor.1' failed make[1]: *** [out/lilypond-invoke-editor.1] Error 1 make[1]: Leaving directory '/home/urs/git/lilypond/source/build/scripts' /home/uliska/git/lilypond/source/stepmake/stepmake/generic-targets.make:6: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel