Thanks for the suggestions, William. I double checked the paths and permissions, and I don't think the issue is there. I also tried directly untaring the 2.24.1 files and that doesn't work either: the lilypond command returns: /bin/sh: lilypond: not found even though the directory in in my PATH and the lilypond-book command returns: /usr/bin/lilypond-2.24.1/bin/lilypond-book: exec: line 10: /usr/bin/lilypond-2.24.1/bin/../libexec/python3.10: not found
I can install lilypond on Ubuntu by using apt-get, but for now I'm still completely stuck on the Alpine distribution, and I don't understand these errors. On Tue, Apr 11, 2023 at 6:12 PM William Rehwinkel < [email protected]> wrote: > Dear JD, > > I'm not sure I can help much but will just write two things that come to > mind. > > Did you double check that the path /usr/local/lilypond/usr/bin/lilypond > exists, and is not just a slightly different path? When I install > lilypond from > > https://gitlab.com/lilypond/lilypond/-/releases/v2.24.1/downloads/lilypond-2.24.1-darwin-x86_64.tar.gz > the binary is usually found at /path/to/lilypond-x.x.x/bin/lilypond, not > /<..>/lilypond/usr/bin/lilypond. Something doesn't seem right about the > path to lilypond and python3, as if it is supposed to be > /usr/bin/{lilypond,python3} without /usr/local/lilypond appended to it. > But again I haven't tried installing in this way. > > My other guess is it is a sort of permissions error, like that directory > or file is owned by a different user. > > Other than that, hopefully someone else will be of better help. > > -Will > > On 4/11/23 20:04, JD Margulici wrote: > > Hello, I am running the following commands to install Lilypond on Alpine > > Linux: > > > > wget https://lilypond.org/download/binaries/linux-64/$LILYPOND_INSTALLER > > <https://lilypond.org/download/binaries/linux-64/$LILYPOND_INSTALLER> > > sh $LILYPOND_INSTALLER > > > > with LILYPOND_INSTALLER set to lilypond-2.23.6-1.linux-64.sh > > <http://lilypond-2.23.6-1.linux-64.sh> > > > > The installation proceeds without glitches. However when I try to run > > Lilypond I get the following error message, which in spite of its > > apparent simplicity is rather cryptic since the file that is not found > > actually exists: > > > > /usr/local/bin/lilypond: exec: line 4: > > /usr/local/lilypond/usr/bin/lilypond: not found > > > > Similar error with lilypond-book: > > > > /usr/local/bin/lilypond-book: exec: line 6: > > /usr/local/lilypond/usr/bin/python3: not found > > > > I found a 15-year old post that reports the same error, but the > > resolution was not clear: > > https://lists.gnu.org/archive/html/lilypond-user/2009-01/msg00725.html > > <https://lists.gnu.org/archive/html/lilypond-user/2009-01/msg00725.html> > > > > Thank you for your help! > > > > JD > > -- > + ------------------------------------------- + > | William Rehwinkel - Oberlin College and | > | Conservatory '24 | > | [email protected] | > | PGP key: | > | https://ftp.williamrehwinkel.net/pubkey.txt | > + ------------------------------------------- + >
