Jonas Hahnfeld via Discussions on LilyPond development <lilypond-devel@gnu.org> writes:
> Am Samstag, den 09.11.2019, 12:55 +0100 schrieb David Kastrup: >> Jonas Hahnfeld <hah...@hahnjo.de> writes: >> > >> > AFAICS configure requires a guile executable between versions >> > 1.8.2 to1.9.0 (see configure.ac, line 309), unless you pass >> > --enable-guile2which is off by default. >> >> That would seem a mistake. LilyPond works perfectly well with a >> Guile-2executable. It's the Guile-1.8 development libraries that >> are neededfor compilation into the LilyPond binary, but the scripts >> are fine usinglater binaries of Guile. > > That is $ git log -p -n1 e9ae1cb3b093498ccb9d5f7348c755a3243bbccc -- > configure.accommit e9ae1cb3b093498ccb9d5f7348c755a3243bbcccAuthor: > Thomas Morley <thomasmorle...@gmail.com>Date: Sun Mar 19 14:29:04 2017 > +0100 > Issue 5108 Let configure find all needed files with guile-2.2 in > configure.ac Adds support for STEPMAKE_GUILE Update guile-versions for > STEPMAKE_GUILE and STEPMAKE_GUILE_DEVEL in aclocal.m4 update the list > to search for guile-config Many thanks to Antonio Ospite > diff --git a/configure.ac b/configure.acindex d77ea15881..8f2f61abf8 > 100644--- a/configure.ac+++ b/configure.ac@@ -181,7 +181,7 @@ > STEPMAKE_TEXMF(REQUIRED) STEPMAKE_TEXMF_DIRS(REQUIRED) if test > "$GUILEv2" = "yes" then- STEPMAKE_GUILE_DEVEL(REQUIRED, 2.0.7, 2.2.0)+ > STEPMAKE_GUILE_DEVEL(REQUIRED, 2.0.7, 2.3.0) else > STEPMAKE_GUILE_DEVEL(REQUIRED, 1.8.2, 1.9.0) fi@@ -267,7 +267,12 @@ > STEPMAKE_FREETYPE2(freetype2, REQUIRED, 2.1.10) STEPMAKE_WINDOWS # > guile executable for some scripts-STEPMAKE_GUILE(OPTIONAL, 1.8.2, > 1.9.0)+if test "$GUILEv2" = "yes"+then+ STEPMAKE_GUILE(OPTIONAL, > 2.0.7, 2.3.0)+else+ STEPMAKE_GUILE(OPTIONAL, 1.8.2, 1.9.0)+fi # perl > for help2man and for mf2pt1.pl STEPMAKE_PERL(REQUIRED) > but before this commit, it would just always require Guile 1.8.2 to > 1.9.0. I've no experience with using guile-2.0 or guile-2.2 for the > scripts, but if you post a patch I can give it a try (Arch Linux > bundles all three versions). > Just wondering if it's wise to use a different version of Guile for > the scripts than the libraries... For a cross environment like GUB it seems like excessive work (and possible improvements in Scheme execution speed do not seem performance-relevant). But for stuff intended to run as natively as possible, relying on current and maintained executables tends to be better from a maintenance and security view. -- David Kastrup