Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 18 Mar 2022, at 20:28, Miguel Abrams wrote: > > Hi Hans: > > I wondered if you could suggest the next steps I should take. I have > completed the following successfully. > > MacPorts was installed successfully, after Xcode install completed > > Both appear operational > > I followed the instructions displayed at : > > https://ports.macports.org/port/lilypond/ > > To Install Lilypond, run the following command in macOS Terminal > > sudo port install Lilypond > > Lilypond version 2.22.2 Updated 3 weeks ago approx > > The install appears to have been completed without error. > > Please understand that I have limited knowledge of Terminal use. > > My question for you is how do you launch Lilypond? I think that MacPorts writes a line to change the PATH variable to include the stuff in /opt/local/bin/, where alos lilypond is. So on a test file test.ly, in Terminal, just try lilypond test.ly or /opt/local/bin/lilypond/test.ly You might install Frescobaldi and typeset it from there. It knwos about MacPorts so should work automatically. If you have some problems with the language that lilypond writes, then you might try the script I gave. Type echo $PATH If /usr/local/bin is not before /opt/local/bin, then it means that MacPorts programs are chosen over those in /usr/local/bin. Then file ~/.zshrc may have to be edited. All this may be complicated and a bit confusing at first, but not really difficult compared to music. :-)
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 18 Mar 2022, at 20:28, Miguel Abrams wrote: > > Hi Hans: > > I wondered if you could suggest the next steps I should take. I have > completed the following successfully. > > MacPorts was installed successfully, after Xcode install completed > > Both appear operational > > I followed the instructions displayed at : > > https://ports.macports.org/port/lilypond/ > > To Install Lilypond, run the following command in macOS Terminal > > sudo port install Lilypond > > Lilypond version 2.22.2 Updated 3 weeks ago approx > > The install appears to have been completed without error. > > Please understand that I have limited knowledge of Terminal use. > > My question for you is how do you launch Lilypond? I use a script, called 'lilypond' and put in /usr/local/bin/: export LC_CTYPE=en_US.UTF-8 export LANG=en_US.UTF-8 exec /opt/local/bin/lilypond "$@" MacOS have these set to the value UTF-8 without the 'en_US.' part which is causing problems for some components that LilyPond relies on. Then it can be used as 'lilypond' in Terminal. Otherwise, one can call '/opt/local/bin/lilypond' directly. To create the script, in Terminal: touch lilypond chmod a+x Then to edit it in an editor say TextEdit use 'open -a TextEdit lilypond' or the text editor that opens .txt files 'open -t lilypond'. After saving, in Terminal use sudo cp lilypond /usr/local/bin/ to get the above mentioned copy. Use 'which lilypond' to see which lilypond you are calling. If the environmental variable PATH is not set properly, you may get the MacPorts one, and not the script. Then 'rm lilypond' if you do not want the working copy anymore. This can be used for other lilypond programs as well, convert-ly, midi2ly, etc. > Does it always have to be launched through the terminal? All programs will call this program 'lilypond' but for example Frescobaldi will do it for you so you don't have to use Terminal. > I have yet, therefore, been able to confirm if this install will work in > Mac Monterey OS Version 12.3. Just try, on some test file test.ly, /opt/local/bin/lilypond test.ly
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 18 Mar 2022, at 17:23, David Wright wrote: > > On Fri 18 Mar 2022 at 10:34:08 (+0100), Hans Åberg wrote: >> On 17 Mar 2022, at 23:39, Hans Aikema wrote: > >>> You cannot have both active indeed, but you can install them both (one >>> active, one inactive). The recipe to end up with stable, but have current >>> development version at hand for activation: >>> >>> sudo port install lilypond-devel >>> sudo port deactivate lilypond-devel >>> sudo port install lilypond >>> >>> then when you want to try develop: >>> sudo port deactivate lilypond >>> sudo port activate lilypond-devel >>> >>> and the other way around to switch back to stable: >>> sudo port deactivate lilypond-devel >>> sudo port activate lilypond >> >> This seems simpler than having a separate MacPorts installation. —To avoid >> having to write 'sudo' all the time, one can start 'sudo -s'. > > It might be safer to use, say, an alias, a shell function, or a script > for each version, so that you can just type "lpdev" or "lpprod" to switch. > And if you collect a number of versions, "lp", "lp2236", … , maybe? For fun, here is a script 'lilypond-select'; I haven't tried it. Use it with 'sudo'. -- #!/bin/bash # Select MacPorts LilyPond version lilypond or lilypond-devel. if [ "$1" = "dev" ] then port deactivate lilypond port activate lilypond-devel elif [ "$1" = "stb" ] then port deactivate lilypond-devel port activate lilypond else echo "lilypond-select selects MacPorts ." echo "Takes one argument, \"dev\" for lilypond-devel, \"stb\" for lilypond." fi --
Re: Mac Monterey 12.3 and Lilypond 2.2.2
On Fri 18 Mar 2022 at 10:34:08 (+0100), Hans Åberg wrote: > On 17 Mar 2022, at 23:39, Hans Aikema wrote: > > You cannot have both active indeed, but you can install them both (one > > active, one inactive). The recipe to end up with stable, but have current > > development version at hand for activation: > > > > sudo port install lilypond-devel > > sudo port deactivate lilypond-devel > > sudo port install lilypond > > > > then when you want to try develop: > > sudo port deactivate lilypond > > sudo port activate lilypond-devel > > > > and the other way around to switch back to stable: > > sudo port deactivate lilypond-devel > > sudo port activate lilypond > > This seems simpler than having a separate MacPorts installation. —To avoid > having to write 'sudo' all the time, one can start 'sudo -s'. It might be safer to use, say, an alias, a shell function, or a script for each version, so that you can just type "lpdev" or "lpprod" to switch. And if you collect a number of versions, "lp", "lp2236", … , maybe? > > only the active one will be upgraded with a sudo port upgrade outdated > > (over time you can even have multiple historical versions side by side at > > hand for activation by specifying the explicit version) > > This is something that should be remembered. Cheers, David.
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 17 Mar 2022, at 23:39, Hans Aikema wrote: > > >> On 17 Mar 2022, at 23:18, Hans Åberg wrote: >> >> >>> On 17 Mar 2022, at 23:06, Hans Aikema wrote: >>> >>> I also prefer to run development releases alongside stable, but any music I >>> try to write for stable (unless there is something I neer for it that only >>> works in the development version). Development I only run from time >>> to time to see that nothing I use is breaking on it. >> >> In the past I used support for irregular meters and microtonality with >> support slowly coming along in the development version, but that has now >> moved to the stable version. Unfortunately, one cannot install both the >> development version and the stable one side by side in the standard >> MacPorts, I think, because they have the same name, unless one makes a >> separate installation of MacPorts in a different location than /opt/local/, >> which is also possible. > > You cannot have both active indeed, but you can install them both (one > active, one inactive). The recipe to end up with stable, but have current > development version at hand for activation: > > sudo port install lilypond-devel > sudo port deactivate lilypond-devel > sudo port install lilypond > > then when you want to try develop: > sudo port deactivate lilypond > sudo port activate lilypond-devel > > and the other way around to switch back to stable: > sudo port deactivate lilypond-devel > sudo port activate lilypond This seems simpler than having a separate MacPorts installation. —To avoid having to write 'sudo' all the time, one can start 'sudo -s'. > only the active one will be upgraded with a sudo port upgrade outdated (over > time you can even have multiple historical versions side by side at hand for > activation by specifying the explicit version) This is something that should be remembered.
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 17 Mar 2022, at 23:18, Hans Åberg wrote: > > >> On 17 Mar 2022, at 23:06, Hans Aikema wrote: >> >> Hans Aikema, direct vanuit de iCloud >> Op 17 mrt. 2022 om 22:31 heeft Hans Åberg het volgende geschreven: >>> >>> On 17 Mar 2022, at 22:26, Jean Abou Samra wrote: > The latest development version works, and I gather it does not differ > much from the "stable" version fairly recent updates (the old development > version become new stable). Not sure what you're referring to here? The latest stable release, which is quite recent, is 2.22.2, which is from the 2.22 series. It has only received bug fixes compared to the previously available stable release, 2.22.1. It does not receive the current development changes. If you want to help as a beta tester for the development release, 2.23.6, or just enjoy its new features, you are of course welcome to do so, but it is what it is: an unstable release. It does differ significantly from 2.22.2. >>> >>> The versions before did not change for a long time, and I always used the >>> development version as needing the features, and I have had not problems >>> with that. >> >> The observed (in)stability depends on the use-case. For lilypond-devel I >> currently run into https://gitlab.com/lilypond/lilypond/-/issues/6203 >> as I use Lilypond (among others) to create create images with transparent >> background for powerpoint slides. A use-case that works fine with the stable >> release, but is broken in the current development release (and expected to >> be working again once 2.23.7 is released according to the issue status) >> >> I also prefer to run development releases alongside stable, but any music I >> try to write for stable (unless there is something I neer for it that only >> works in the development version). Development I only run from time >> to time to see that nothing I use is breaking on it. > > In the past I used support for irregular meters and microtonality with > support slowly coming along in the development version, but that has now > moved to the stable version. Unfortunately, one cannot install both the > development version and the stable one side by side in the standard MacPorts, > I think, because they have the same name, unless one makes a separate > installation of MacPorts in a different location than /opt/local/, which is > also possible. You cannot have both active indeed, but you can install them both (one active, one inactive). The recipe to end up with stable, but have current development version at hand for activation: sudo port install lilypond-devel sudo port deactivate lilypond-devel sudo port install lilypond then when you want to try develop: sudo port deactivate lilypond sudo port activate lilypond-devel and the other way around to switch back to stable: sudo port deactivate lilypond-devel sudo port activate lilypond only the active one will be upgraded with a sudo port upgrade outdated (over time you can even have multiple historical versions side by side at hand for activation by specifying the explicit version)
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 17 Mar 2022, at 23:06, Hans Aikema wrote: > > Hans Aikema, direct vanuit de iCloud > >> Op 17 mrt. 2022 om 22:31 heeft Hans Åberg het volgende >> geschreven: >> >> >>> On 17 Mar 2022, at 22:26, Jean Abou Samra wrote: >>> The latest development version works, and I gather it does not differ much from the "stable" version fairly recent updates (the old development version become new stable). >>> >>> Not sure what you're referring to here? The latest stable release, which is >>> quite recent, is 2.22.2, which is from the 2.22 series. It has only >>> received bug fixes compared to the previously available stable release, >>> 2.22.1. It does not receive the current development changes. If you want to >>> help as a beta tester for the development release, 2.23.6, or just enjoy >>> its new features, you are of course welcome to do so, but it is what it is: >>> an unstable release. It does differ significantly from 2.22.2. >> >> The versions before did not change for a long time, and I always used the >> development version as needing the features, and I have had not problems >> with that. > > The observed (in)stability depends on the use-case. For lilypond-devel I > currently run into https://gitlab.com/lilypond/lilypond/-/issues/6203 > as I use Lilypond (among others) to create create images with transparent > background for powerpoint slides. A use-case that works fine with the stable > release, but is broken in the current development release (and expected to be > working again once 2.23.7 is released according to the issue status) > > I also prefer to run development releases alongside stable, but any music I > try to write for stable (unless there is something I neer for it that only > works in the development version). Development I only run from time > to time to see that nothing I use is breaking on it. In the past I used support for irregular meters and microtonality with support slowly coming along in the development version, but that has now moved to the stable version. Unfortunately, one cannot install both the development version and the stable one side by side in the standard MacPorts, I think, because they have the same name, unless one makes a separate installation of MacPorts in a different location than /opt/local/, which is also possible.
Re: Mac Monterey 12.3 and Lilypond 2.2.2
Hans Aikema, direct vanuit de iCloud > Op 17 mrt. 2022 om 22:31 heeft Hans Åberg het volgende > geschreven: > > >>> On 17 Mar 2022, at 22:26, Jean Abou Samra wrote: >>> >>> The latest development version works, and I gather it does not differ much >>> from the "stable" version fairly recent updates (the old development >>> version become new stable). >> >> Not sure what you're referring to here? The latest stable release, which is >> quite recent, is 2.22.2, which is from the 2.22 series. It has only received >> bug fixes compared to the previously available stable release, 2.22.1. It >> does not receive the current development changes. If you want to help as a >> beta tester for the development release, 2.23.6, or just enjoy its new >> features, you are of course welcome to do so, but it is what it is: an >> unstable release. It does differ significantly from 2.22.2. > > The versions before did not change for a long time, and I always used the > development version as needing the features, and I have had not problems with > that. The observed (in)stability depends on the use-case. For lilypond-devel I currently run into https://gitlab.com/lilypond/lilypond/-/issues/6203 as I use Lilypond (among others) to create create images with transparent background for powerpoint slides. A use-case that works fine with the stable release, but is broken in the current development release (and expected to be working again once 2.23.7 is released according to the issue status) I also prefer to run development releases alongside stable, but any music I try to write for stable (unless there is something I neer for it that only works in the development version). Development I only run from time to time to see that nothing I use is breaking on it.
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> > > -- Forwarded message -- > From: Jonas Hahnfeld > To: Michael T Abrams , lilypond-user@gnu.org > Cc: > Bcc: > Date: Thu, 17 Mar 2022 21:04:50 +0100 > Subject: Re: Mac Monterey 12.3 and Lilypond 2.2.2 > Am Donnerstag, dem 17.03.2022 um 19:48 + schrieb Michael T Abrams: > > Hi, > > Hi, > > > Seems confusing to me that the gitlab 64 bit version of lilypond > > 2.2.2 might not work in Mac OS Monterey 12.3? > > There is no 64 bit version of LilyPond 2.22.2 for macOS. > > > Is this correct? > > > > I have been using Lilypond 2.19.55 in Mac 32 bit ver 10.13.6 and have > > purchased an iMac with Monterey 12.3 in hopes of working with the > > latest stable 64 bit version of Lilypond 2.2.2. > > > > Perhaps someone in the community could suggest my best strategy now, > > snd with my sincere appreciation. > > You might try the latest development release 2.23.6 from > https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 > where we have lilypond-2.23.6-darwin-x86_64.tar.gz that should run on > 12.3 (natively for Intel machines, via Rosetta2 for Apple Silicon). > > Cheers > Jonas > I am running the homebrew installation 2.22.1 on a 2015 macbook air running 12.2 Monterey which, incidentally, runs guile 2.2 Elaine Alt 415 . 341 .4954 "*Confusion is highly underrated*" ela...@flaminghakama.com Producer ~ Composer ~ Instrumentalist ~ Educator -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 17 Mar 2022, at 22:26, Jean Abou Samra wrote: > >> The latest development version works, and I gather it does not differ much >> from the "stable" version fairly recent updates (the old development version >> become new stable). > > Not sure what you're referring to here? The latest stable release, which is > quite recent, is 2.22.2, which is from the 2.22 series. It has only received > bug fixes compared to the previously available stable release, 2.22.1. It > does not receive the current development changes. If you want to help as a > beta tester for the development release, 2.23.6, or just enjoy its new > features, you are of course welcome to do so, but it is what it is: an > unstable release. It does differ significantly from 2.22.2. The versions before did not change for a long time, and I always used the development version as needing the features, and I have had not problems with that.
Re: Mac Monterey 12.3 and Lilypond 2.2.2
Am Donnerstag, dem 17.03.2022 um 21:04 +0100 schrieb Jonas Hahnfeld via LilyPond user discussion: > Am Donnerstag, dem 17.03.2022 um 19:48 + schrieb Michael T Abrams: > > Hi, > > Hi, > > > Seems confusing to me that the gitlab 64 bit version of lilypond > > 2.2.2 might not work in Mac OS Monterey 12.3? > > There is no 64 bit version of LilyPond 2.22.2 for macOS. Let me clarify this: There is no *official* version of LilyPond 2.22.2 for macOS that you could download from lilypond.org or GitLab. As others have pointed out, it's of course possible to install via other methods, such as HomeBrew, MacPorts, or compiling from source. signature.asc Description: This is a digitally signed message part
Re: Mac Monterey 12.3 and Lilypond 2.2.2
You wrote: > > Seems confusing to me that the gitlab 64 bit version of lilypond > 2.2.2 might not work in Mac OS Monterey 12.3? > > Is this correct? > No. LP 2.22.2 runs fine on my M1 Macbook Air at 12.3. I am using the homebrew version built against Guile 2.2 HTH .. mark.
Re: Mac Monterey 12.3 and Lilypond 2.2.2
Hello Hans, > The latest development version works, and I gather it does not differ much > from the "stable" version fairly recent updates (the old development version > become new stable). Not sure what you're referring to here? The latest stable release, which is quite recent, is 2.22.2, which is from the 2.22 series. It has only received bug fixes compared to the previously available stable release, 2.22.1. It does not receive the current development changes. If you want to help as a beta tester for the development release, 2.23.6, or just enjoy its new features, you are of course welcome to do so, but it is what it is: an unstable release. It does differ significantly from 2.22.2. Jean > Then the last install step is instead: > sudo port install lilypond-devel > > Also see > https://ports.macports.org/port/lilypond-devel/ > https://ports.macports.org/port/lilypond/ > > >
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 17 Mar 2022, at 21:49, Hans Aikema wrote: > >> On 17 Mar 2022, at 21:04, Jonas Hahnfeld via LilyPond user discussion >> wrote: >> >> Am Donnerstag, dem 17.03.2022 um 19:48 + schrieb Michael T Abrams: >>> Hi, >> >> Hi, >> >>> Seems confusing to me that the gitlab 64 bit version of lilypond >>> 2.2.2 might not work in Mac OS Monterey 12.3? >> >> There is no 64 bit version of LilyPond 2.22.2 for macOS. > > There is of course the 64-bit macports (https://www.macports.org/install.php) > version of lilypond 2.22.2 > It has ports for the Apple silicon systems (aarch64) as well as intel systems > (x86_64): > https://ports.macports.org/port/lilypond/builds/?builder_name__name=12_arm64_name__name=12_x86_64 > > Which appears to work fine on my M1 MacBook Pro (only just started using it; > I used the intel-builds of MacPorts for Big Sur on my previous intel-based > MacBook Pro and still use those on a Mac Pro 2013 that I still need to > upgrade to Monterey some day) > > The ‘quick install’ steps would be: > - install Xcode including commandine tools (see macports install page for > details) > - Install MacPorts package (see macports install page for details) > - on the terminal: sudo port install lilypond The latest development version works, and I gather it does not differ much from the "stable" version fairly recent updates (the old development version become new stable). Then the last install step is instead: sudo port install lilypond-devel Also see https://ports.macports.org/port/lilypond-devel/ https://ports.macports.org/port/lilypond/
Re: Mac Monterey 12.3 and Lilypond 2.2.2
> On 17 Mar 2022, at 21:04, Jonas Hahnfeld via LilyPond user discussion > wrote: > > Am Donnerstag, dem 17.03.2022 um 19:48 + schrieb Michael T Abrams: >> Hi, > > Hi, > >> Seems confusing to me that the gitlab 64 bit version of lilypond >> 2.2.2 might not work in Mac OS Monterey 12.3? > > There is no 64 bit version of LilyPond 2.22.2 for macOS. There is of course the 64-bit macports (https://www.macports.org/install.php) version of lilypond 2.22.2 It has ports for the Apple silicon systems (aarch64) as well as intel systems (x86_64): https://ports.macports.org/port/lilypond/builds/?builder_name__name=12_arm64_name__name=12_x86_64 Which appears to work fine on my M1 MacBook Pro (only just started using it; I used the intel-builds of MacPorts for Big Sur on my previous intel-based MacBook Pro and still use those on a Mac Pro 2013 that I still need to upgrade to Monterey some day) The ‘quick install’ steps would be: - install Xcode including commandine tools (see macports install page for details) - Install MacPorts package (see macports install page for details) - on the terminal: sudo port install lilypond Kind regards, Hans > >> Is this correct? >> >> I have been using Lilypond 2.19.55 in Mac 32 bit ver 10.13.6 and have >> purchased an iMac with Monterey 12.3 in hopes of working with the >> latest stable 64 bit version of Lilypond 2.2.2. >> >> Perhaps someone in the community could suggest my best strategy now, >> snd with my sincere appreciation. > > You might try the latest development release 2.23.6 from > https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 > where we have lilypond-2.23.6-darwin-x86_64.tar.gz that should run on > 12.3 (natively for Intel machines, via Rosetta2 for Apple Silicon). > > Cheers > Jonas
Re: Mac Monterey 12.3 and Lilypond 2.2.2
I recently did a successful installation on Monterey via MacPorts, Homebrew version caused an ghostscript crash on my Frescobaldi. Hope that helps El jue., 17 de marzo de 2022 1:49 p. m., Michael T Abrams < string...@rogers.com> escribió: > Hi, > > Seems confusing to me that the gitlab 64 bit version of lilypond 2.2.2 > might not work in Mac OS Monterey 12.3? > > Is this correct? > > I have been using Lilypond 2.19.55 in Mac 32 bit ver 10.13.6 and have > purchased an iMac with Monterey 12.3 in hopes of working with the latest > stable 64 bit version of Lilypond 2.2.2. > > Perhaps someone in the community could suggest my best strategy now, > snd with my sincere appreciation. > > Michael > miguelabram...@gmail.com > > >
Re: Mac Monterey 12.3 and Lilypond 2.2.2
Homebrew? MacPorts? I believe that I am successfully using 64-bit Lilypond 2.22.2 on MacOS (Apple Silicon). Ken Wolcott On Thu, Mar 17, 2022 at 1:05 PM Jonas Hahnfeld via LilyPond user discussion wrote: > > Am Donnerstag, dem 17.03.2022 um 19:48 + schrieb Michael T Abrams: > > Hi, > > Hi, > > > Seems confusing to me that the gitlab 64 bit version of lilypond > > 2.2.2 might not work in Mac OS Monterey 12.3? > > There is no 64 bit version of LilyPond 2.22.2 for macOS. > > > Is this correct? > > > > I have been using Lilypond 2.19.55 in Mac 32 bit ver 10.13.6 and have > > purchased an iMac with Monterey 12.3 in hopes of working with the > > latest stable 64 bit version of Lilypond 2.2.2. > > > > Perhaps someone in the community could suggest my best strategy now, > > snd with my sincere appreciation. > > You might try the latest development release 2.23.6 from > https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 > where we have lilypond-2.23.6-darwin-x86_64.tar.gz that should run on > 12.3 (natively for Intel machines, via Rosetta2 for Apple Silicon). > > Cheers > Jonas
Re: Mac Monterey 12.3 and Lilypond 2.2.2
Am Donnerstag, dem 17.03.2022 um 19:48 + schrieb Michael T Abrams: > Hi, Hi, > Seems confusing to me that the gitlab 64 bit version of lilypond > 2.2.2 might not work in Mac OS Monterey 12.3? There is no 64 bit version of LilyPond 2.22.2 for macOS. > Is this correct? > > I have been using Lilypond 2.19.55 in Mac 32 bit ver 10.13.6 and have > purchased an iMac with Monterey 12.3 in hopes of working with the > latest stable 64 bit version of Lilypond 2.2.2. > > Perhaps someone in the community could suggest my best strategy now, > snd with my sincere appreciation. You might try the latest development release 2.23.6 from https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 where we have lilypond-2.23.6-darwin-x86_64.tar.gz that should run on 12.3 (natively for Intel machines, via Rosetta2 for Apple Silicon). Cheers Jonas signature.asc Description: This is a digitally signed message part