Re: Putting flatten-ly into your lilypond installation

2015-08-25 Thread Martin Tarenskeen



On Tue, 25 Aug 2015, Andrew Bernard wrote:


If you want to put flatten-ly into your lilypond installation, copy it to the 
lilypond installation bin directory, and make a symbolic link to
the lilypond guile wrapper in your bin directory where the other lilypond tools 
are.

For example:

$ cp flatten-ly ~/lilypond/usr/bin
$ ln -s ~/bin/lilypond-wrapper.guile ~/bin/flatten-ly

Then you don’t necessarily need to have guile installed on your system.


On my Fedora 22 system, with LilyPond and guile installed from the 
official Fedora rpm repo, /usr/bin/guile is guile2. Your script fails with 
guile2. For LilyPond there is /usr/bin/guile1.8 installed from the 
compat-guile18 package.


To make flatten-ly work on my system I simply edited the first line in the 
script to contain


#!/usr/bin/guile1.8 \
-e main -s


It would be interesting to find out what would be needed to make it work 
also with guile2.


--

MT___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Putting flatten-ly into your lilypond installation

2015-08-24 Thread Andrew Bernard
If you want to put flatten-ly into your lilypond installation, copy it to the 
lilypond installation bin directory, and make a symbolic link to the lilypond 
guile wrapper in your bin directory where the other lilypond tools are.

For example:

$ cp flatten-ly ~/lilypond/usr/bin
$ ln -s ~/bin/lilypond-wrapper.guile ~/bin/flatten-ly

Then you don’t necessarily need to have guile installed on your system.

Andrew





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user