lilypond-devel
[Top][All Lists]
Advanced

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

Re: Error compiling Lilypond 2.19.81


From: Knut Petersen
Subject: Re: Error compiling Lilypond 2.19.81
Date: Thu, 12 Apr 2018 11:55:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi Daniel!

Gentoo ships a patch that has enabled me to build against Guile 2.2.3 and run 
successfully:

http://mirrors.evowise.com/gentoo-portage/media-sound/lilypond/files/lilypond-2.19.80-remove-ly-protect.patch

Well, a successful build is nice, but there are still major problems with guile 
2.*

First of all: a lilypond build that uses guile 2.* is very very slow. It is not 
expected that
this problem will be solved soon.

Building guile 1.8* is a trivial and fast exercise if you compare
it with the task to build lilypond.

With one small patch it is possible to build and install a guile 1.8*
that is hidden from the rest of the system but that is usable for
lilypond: If GUILELIBDIR is set to a reasonable non-standard path,
then run

   sed -i "s|lt_dlinit ();|lt_dlinit (); lt_dlsetsearchpath 
(\"$GUILELIBDIR\");|" libguile/dynl.c

in the guile source directory and build guile. After that execute

   export LDFLAGS="-Wl,-rpath,$GUILELIBDIR"

to inform lilypond where guile 1.8 resides, build and install ilypond.

Have a look at the build script attached to

   https://lists.gnu.org/archive/html/lilypond-devel/2017-09/msg00072.html

The script  builds guile 1.8* and lilypond, guile is patched on the fly.

Of course it's necessary to clone the guile repository first and to
adapt some paths (LILYSOURCE, GUILESOURCE and LILYROOT)
to your needs.

cu,
 Knut


reply via email to

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