[Top][All Lists]

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

Re: how to invoke self-compiled development versions

From: Patrick Schmidt
Subject: Re: how to invoke self-compiled development versions
Date: Sat, 25 Sep 2010 18:19:16 +0200

Am 25.09.2010 um 18:02 schrieb Patrick Schmidt:

Am 25.09.2010 um 17:16 schrieb James Bailey:

On Sep 25, 2010, at 10:45 AM, Patrick Schmidt wrote:

Hi all,

I'm using VirtualBox v.3.0.12 (the last release that supports Mac OS 10.4.11) and LilyBuntu. I downloaded the source code of the current development version with git to ~/lilypond-git and compiled it with "make all" as described in the manuals. So far so good!

According to the CG (Concurrent Stable and Development Versions) in order to use the development version I have to:

…create a link to the binary in the source tree by saving the following line in a file somewhere in your $PATH:

             exec <path to>/lilypond/out/bin/lilypond "$@"

I saved the following file as Lilypond in ~/bin:


     exec ~/lilypond-git/out/bin/lilypond "$@"

I made it executable with

    chmod +x Lilypond

But when I try to invoke it by typing: Lilypond I get the message:

    command not found

Where is my mistake? Is ~/bin not in my $PATH? If yes, how can I adjust this?

Thanks in advance for any pointers


No. ~/bin is not in the $PATH by default. If you look at the 2.12 documentation (I haven't started reading through the 2.13 documentatio)n, the end of the page has: Now, add this directory to your path. Modify (or create) a file called .profile in your home directory such that it contains

    export PATH=$PATH:~/bin

This file should end with a blank line.

hope this helps

 thanks for your reply!
I think you are looking at the instructions for "Mac OS X on the command line" in Program Usage v.2.12?! Is it really the same for LilyBuntu?

When I type

    echo $PATH

on LilyBuntu I get:

/home/pls/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/ bin:/sbin:/bin:/usr/games

So IINM it must have been there by default as I haven't changed the PATH. I wouldn't even know how to do this on Linux (I can do it on Mac OS X). Doesn't that mean that the "bin"-folder I created for the "Lilypond"-script should be found?

Thanks for any hint!

Got it!

I just replaced

    exec ~/lilypond-git/out/bin/lilypond "$@"


   exec /home/pls/lilypond-git/out/bin/lilypond "$@"

in my "Lilypond-script" and now it works.


lilypond-user mailing list

reply via email to

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