Re: LilyPond 2.23.3 installer on MacOS 11

2021-11-02 Thread Hans Åberg



> On 2 Nov 2021, at 08:52, Thomas Scharkowski  wrote:
> 
> 
>>> 
>>> Am 31.10.2021 um 18:36 schrieb Hans Åberg :
 
 
> On 31 Oct 2021, at 11:43, Thomas Scharkowski  
> wrote:
> 
> Hi, I have installed this version on a fresh MacOS 12  and get this error 
> message:
 
 I have made an installer using MacPorts directly on MacOS 12; see separate 
 post.
 
 
>>> I get the same error with this one.
>>> 
>>> On my other machine (MacBook Pro) I had installed LilyPond with MacPorts, 
>>> Frescobaldi are exactly the same on both machines (I once had different 
>>> versions of Frescobaldi 3.1.3.).
>>> I wanted to avoid installing MacPorts on my iMac, but perhaps I will try 
>>> this way.
>> 
>> I have installed LilyPond via MacPorts now (it took several hours for all 
>> this stuff) - now it works!
>> :-)
> 
> macOS 12.0.1
> iMac 14,2
> Xcode 13.1
> MacPorts 2.7.1
> 
> The Frescobaldi version is this one, no bug here:

It is actually a feature, not a bug, I think: LilyPond is set to call some 
packages by name and not absolute paths, which is a carried over to the 
MacPorts version. So if one does not set PATH, there will be an error. When 
installing MacPorts, it used to add this to PATH, but there is a different 
addition for the installer.





Re: LilyPond 2.23.3 installer on MacOS 11

2021-11-02 Thread Thomas Scharkowski


>> 
>> Am 31.10.2021 um 18:36 schrieb Hans Åberg :
>>> 
>>> 
 On 31 Oct 2021, at 11:43, Thomas Scharkowski  
 wrote:
 
 Hi, I have installed this version on a fresh MacOS 12  and get this error 
 message:
>>> 
>>> I have made an installer using MacPorts directly on MacOS 12; see separate 
>>> post.
>>> 
>>> 
>> I get the same error with this one.
>> 
>> On my other machine (MacBook Pro) I had installed LilyPond with MacPorts, 
>> Frescobaldi are exactly the same on both machines (I once had different 
>> versions of Frescobaldi 3.1.3.).
>> I wanted to avoid installing MacPorts on my iMac, but perhaps I will try 
>> this way.
> 
> I have installed LilyPond via MacPorts now (it took several hours for all 
> this stuff) - now it works!
> :-)

macOS 12.0.1
iMac 14,2
Xcode 13.1
MacPorts 2.7.1

The Frescobaldi version is this one, no bug here:

Frescobaldi: 3.1.3
Extension API: 0.9.0
Python: 3.9.1
python-ly: 0.9.7
Qt: 5.11.3
PyQt: 5.15.2
sip: 4.19.24
poppler: 20.12.1
python-poppler-qt: 0.75.0
OS: macOS-10.16-x86_64-i386-64bit
installation kind: standalone .app bundle


Re: LilyPond 2.23.3 installer on MacOS 11

2021-11-02 Thread Thomas Scharkowski



> 
> Am 31.10.2021 um 18:36 schrieb Hans Åberg :
>> 
>> 
>>> On 31 Oct 2021, at 11:43, Thomas Scharkowski  
>>> wrote:
>>> 
>>> Hi, I have installed this version on a fresh MacOS 12  and get this error 
>>> message:
>> 
>> I have made an installer using MacPorts directly on MacOS 12; see separate 
>> post.
>> 
>> 
> I get the same error with this one.
> 
> On my other machine (MacBook Pro) I had installed LilyPond with MacPorts, 
> Frescobaldi are exactly the same on both machines (I once had different 
> versions of Frescobaldi 3.1.3.).
> I wanted to avoid installing MacPorts on my iMac, but perhaps I will try this 
> way.

I have installed LilyPond via MacPorts now (it took several hours for all this 
stuff) - now it works!
:-)


Re: LilyPond 2.23.3 installer on MacOS 11

2021-11-01 Thread Hans Åberg


> On 1 Nov 2021, at 11:33, Thomas Scharkowski  wrote:
> 
> Am 31.10.2021 um 18:36 schrieb Hans Åberg :
>> 
>> 
>>> On 31 Oct 2021, at 11:43, Thomas Scharkowski  
>>> wrote:
>>> 
>>> Hi, I have installed this version on a fresh MacOS 12  and get this error 
>>> message:
>> 
>> I have made an installer using MacPorts directly on MacOS 12; see separate 
>> post.
>> 
>> 
> I get the same error with this one.

I can reproduce the error, both with the installer version and the regular 
MacPorts version, if the environment variable PATH is not properly set.

For the installer, it works with:
export 
PATH=/opt/lilypond/bin:/opt/lilypond/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin

And for the MacPorts version, it works with:
export 
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin 

The trailing directories are what comes with the MacOS installation.

To see the error in both variants, installer and MacPorts, it suffices to set 
to use the system searchpaths only:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin





Re: LilyPond 2.23.3 installer on MacOS 11

2021-11-01 Thread Hans Åberg


> On 1 Nov 2021, at 11:33, Thomas Scharkowski  wrote:
> 
> Am 31.10.2021 um 18:36 schrieb Hans Åberg :
>> 
>> 
>>> On 31 Oct 2021, at 11:43, Thomas Scharkowski  
>>> wrote:
>>> 
>>> Hi, I have installed this version on a fresh MacOS 12  and get this error 
>>> message:
>> 
>> I have made an installer using MacPorts directly on MacOS 12; see separate 
>> post.
>> 
>> 
> I get the same error with this one.

When I made the first installer, I compiled a small snippet with it and it 
worked. A suggestion in this thread is that the error has to do with the 
searchpaths PATH.

> On my other machine (MacBook Pro) I had installed LilyPond with MacPorts, 
> Frescobaldi are exactly the same on both machines (I once had different 
> versions of Frescobaldi 3.1.3.).
> I wanted to avoid installing MacPorts on my iMac, but perhaps I will try this 
> way.

Then you also get the updates when they appear.





Re: LilyPond 2.23.3 installer on MacOS 11

2021-11-01 Thread Thomas Scharkowski
Am 31.10.2021 um 18:36 schrieb Hans Åberg :
> 
> 
>> On 31 Oct 2021, at 11:43, Thomas Scharkowski  
>> wrote:
>> 
>> Hi, I have installed this version on a fresh MacOS 12  and get this error 
>> message:
> 
> I have made an installer using MacPorts directly on MacOS 12; see separate 
> post.
> 
> 
I get the same error with this one.

On my other machine (MacBook Pro) I had installed LilyPond with MacPorts, 
Frescobaldi are exactly the same on both machines (I once had different 
versions of Frescobaldi 3.1.3.).
I wanted to avoid installing MacPorts on my iMac, but perhaps I will try this 
way.


Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Hans Åberg


> On 31 Oct 2021, at 11:43, Thomas Scharkowski  
> wrote:
> 
> Hi, I have installed this version on a fresh MacOS 12  and get this error 
> message:

I have made an installer using MacPorts directly on MacOS 12; see separate post.





Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Ernie Braganza
I am using Frescobaldi. I will be lost without it. Are there any issues
using an earlier version rather than 3.1.3?

On Sun, Oct 31, 2021, 10:30 AM Jefferson Felix  wrote:

> Ernie,
>
> Are you running lilypond inside frescobaldi or direct from terminal?
>
> There is a known issue when running macports or homebrew lilypond via
> frescobaldi interface:
> https://github.com/frescobaldi/frescobaldi/issues/1356
>
> Em dom., 31 de out. de 2021 11:08, Ernie Braganza <
> ernie.braga...@gmail.com> escreveu:
>
>> I used the command brew install lilypond to install GNU LilyPond 2.22.1
>> (running Guile 2.2) on MacOS 11.6.1 and I get the same error message:
>>
>> Drawing systems...
>> Converting to `test.pdf'...
>> warning: g_spawn_sync failed (0): gs: Failed to execute child process
>> “gs” (No such file or directory)
>> fatal error: cannot rename `test-tmp-9254638.285353.pdf' to `test.pdf'
>> Exited with return code 1.
>>
>> The path to ghostscript is /usr/local/bin/gs and that is in my paths
>> (using bash). I do not know how to work around this error.
>>
>> On Sun, Oct 31, 2021 at 8:09 AM Jefferson Felix 
>> wrote:
>>
>>> I noticed that ghostscript is inside /opt/lilypond/bin in this package.
>>>
>>> So, add /opt/lilypond/bin to your classpath. If using zsh:
>>>
>>> echo 'export PATH="/opt/lilypond/bin:$PATH"' >> ~/.zshrc
>>>
>>>
>>>
>>> Em dom., 31 de out. de 2021 às 07:44, Thomas Scharkowski
>>>  escreveu:
>>> >
>>> > Hi, I have installed this version on a fresh MacOS 12  and get this
>>> error message:
>>> >
>>> > --
>>> > Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs«
>>> konnte nicht ausgeführt werden (No such file or directory)
>>> > schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to
>>> `maite2-2015.pdf’
>>> > —
>>> >
>>> > The tmp file seems to be a ps file - if I understand correctly gs is
>>> missing so no pdf can be produced.
>>> > Can I solve this?
>>> >
>>> > Thank you,
>>> > Thomas
>>> > > Am 25.10.2021 um 17:57 schrieb Hans Åberg :
>>> > >
>>> > > This is a LilyPond 2.23.3 installer, latest unstable release, for
>>> use on MacOS 11, made from MacPorts lilypond-devel, available on the link
>>> below [1].
>>> > >
>>> > > Does not work on earlier MacOS versions. Might possibly work on
>>> MacOS 12 if installed on MacOS 11 before updating.
>>> > >
>>> > > It installs in /opt/lilypond/, with the program in
>>> /opt/lilypond/bin/lilypond, and /opt/lilypond/bin/ contains other LilyPond
>>> programs.
>>> > >
>>> > > If you have already something installed in this directory, it may be
>>> prudent to remove it first. This can be done by the command
>>> > > sudo rm -rf /opt/lilypond
>>> > >
>>> > > 1. https://web2.storegate.com/share/nI5ql1K
>>> > >
>>> > >
>>> > > It may be the case that 'lilypond' is best to be run from a script
>>> that sets LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is
>>> LC_CTYPE=UTF-8). It can be created and installed as follows:
>>> > >
>>> > > In Terminal write (^D is D):
>>> > > % cat > lilypond
>>> > > export LC_CTYPE=en_US.UTF-8
>>> > > export LANG=en_US.UTF-8
>>> > > exec /opt/lilypond/bin/lilypond "$@“
>>> > > ^D
>>> > >
>>> > > % chmod a+x lilypond
>>> > > % sudo -s cp lilypond /usr/local/bin/lilypond
>>> > >
>>> > > The program can then be called by 'lilypond' in Terminal, as
>>> /usr/local/bin/ is in the system searchpath.
>>> > >
>>> > > And do 'rm lilypond' if you do not want to keep the local copy of
>>> the script.
>>> > >
>>> > >
>>> > >
>>> >
>>> >
>>>
>>>
>>> --
>>> ---
>>> Jefferson dos Santos Felix
>>>
>>>


Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Jefferson Felix
Yes, it is a bug from frescobaldi, they already fixed, but it will be
available in a future release.

If you wish to fix now, try this:

cd /Applications/Frescobaldi.app/Contents/Resources/lib/python3.9

curl
https://patch-diff.githubusercontent.com/raw/frescobaldi/frescobaldi/pull/1397.patch
| patch -s -p1


Em dom., 31 de out. de 2021 12:48, Thomas Scharkowski <
t.scharkow...@t-online.de> escreveu:

> Thank you,
>
> /opt/lilypond/bin already was in my search path; I now noticed that the
> error only occurs when I run lilypond from Frescobaldi (3.1.3) - would be
> nice if it worked from there also.
>
>
> > Am 31.10.2021 um 13:08 schrieb Jefferson Felix :
> >
> > I noticed that ghostscript is inside /opt/lilypond/bin in this package.
> >
> > So, add /opt/lilypond/bin to your classpath. If using zsh:
> >
> > echo 'export PATH="/opt/lilypond/bin:$PATH"' >> ~/.zshrc
> >
> >
> >
> > Em dom., 31 de out. de 2021 às 07:44, Thomas Scharkowski
> >  escreveu:
> >>
> >> Hi, I have installed this version on a fresh MacOS 12  and get this
> error message:
> >>
> >> --
> >> Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs«
> konnte nicht ausgeführt werden (No such file or directory)
> >> schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to
> `maite2-2015.pdf’
> >> —
> >>
> >> The tmp file seems to be a ps file - if I understand correctly gs is
> missing so no pdf can be produced.
> >> Can I solve this?
> >>
> >> Thank you,
> >> Thomas
>
>


Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Thomas Scharkowski
Thank you,

/opt/lilypond/bin already was in my search path; I now noticed that the error 
only occurs when I run lilypond from Frescobaldi (3.1.3) - would be nice if it 
worked from there also.
 

> Am 31.10.2021 um 13:08 schrieb Jefferson Felix :
> 
> I noticed that ghostscript is inside /opt/lilypond/bin in this package.
> 
> So, add /opt/lilypond/bin to your classpath. If using zsh:
> 
> echo 'export PATH="/opt/lilypond/bin:$PATH"' >> ~/.zshrc
> 
> 
> 
> Em dom., 31 de out. de 2021 às 07:44, Thomas Scharkowski
>  escreveu:
>> 
>> Hi, I have installed this version on a fresh MacOS 12  and get this error 
>> message:
>> 
>> --
>> Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs« konnte 
>> nicht ausgeführt werden (No such file or directory)
>> schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to 
>> `maite2-2015.pdf’
>> —
>> 
>> The tmp file seems to be a ps file - if I understand correctly gs is missing 
>> so no pdf can be produced.
>> Can I solve this?
>> 
>> Thank you,
>> Thomas




Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Jefferson Felix
Ernie,

Are you running lilypond inside frescobaldi or direct from terminal?

There is a known issue when running macports or homebrew lilypond via
frescobaldi interface:
https://github.com/frescobaldi/frescobaldi/issues/1356

Em dom., 31 de out. de 2021 11:08, Ernie Braganza 
escreveu:

> I used the command brew install lilypond to install GNU LilyPond 2.22.1
> (running Guile 2.2) on MacOS 11.6.1 and I get the same error message:
>
> Drawing systems...
> Converting to `test.pdf'...
> warning: g_spawn_sync failed (0): gs: Failed to execute child process “gs”
> (No such file or directory)
> fatal error: cannot rename `test-tmp-9254638.285353.pdf' to `test.pdf'
> Exited with return code 1.
>
> The path to ghostscript is /usr/local/bin/gs and that is in my paths
> (using bash). I do not know how to work around this error.
>
> On Sun, Oct 31, 2021 at 8:09 AM Jefferson Felix  wrote:
>
>> I noticed that ghostscript is inside /opt/lilypond/bin in this package.
>>
>> So, add /opt/lilypond/bin to your classpath. If using zsh:
>>
>> echo 'export PATH="/opt/lilypond/bin:$PATH"' >> ~/.zshrc
>>
>>
>>
>> Em dom., 31 de out. de 2021 às 07:44, Thomas Scharkowski
>>  escreveu:
>> >
>> > Hi, I have installed this version on a fresh MacOS 12  and get this
>> error message:
>> >
>> > --
>> > Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs«
>> konnte nicht ausgeführt werden (No such file or directory)
>> > schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to
>> `maite2-2015.pdf’
>> > —
>> >
>> > The tmp file seems to be a ps file - if I understand correctly gs is
>> missing so no pdf can be produced.
>> > Can I solve this?
>> >
>> > Thank you,
>> > Thomas
>> > > Am 25.10.2021 um 17:57 schrieb Hans Åberg :
>> > >
>> > > This is a LilyPond 2.23.3 installer, latest unstable release, for use
>> on MacOS 11, made from MacPorts lilypond-devel, available on the link below
>> [1].
>> > >
>> > > Does not work on earlier MacOS versions. Might possibly work on MacOS
>> 12 if installed on MacOS 11 before updating.
>> > >
>> > > It installs in /opt/lilypond/, with the program in
>> /opt/lilypond/bin/lilypond, and /opt/lilypond/bin/ contains other LilyPond
>> programs.
>> > >
>> > > If you have already something installed in this directory, it may be
>> prudent to remove it first. This can be done by the command
>> > > sudo rm -rf /opt/lilypond
>> > >
>> > > 1. https://web2.storegate.com/share/nI5ql1K
>> > >
>> > >
>> > > It may be the case that 'lilypond' is best to be run from a script
>> that sets LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is
>> LC_CTYPE=UTF-8). It can be created and installed as follows:
>> > >
>> > > In Terminal write (^D is D):
>> > > % cat > lilypond
>> > > export LC_CTYPE=en_US.UTF-8
>> > > export LANG=en_US.UTF-8
>> > > exec /opt/lilypond/bin/lilypond "$@“
>> > > ^D
>> > >
>> > > % chmod a+x lilypond
>> > > % sudo -s cp lilypond /usr/local/bin/lilypond
>> > >
>> > > The program can then be called by 'lilypond' in Terminal, as
>> /usr/local/bin/ is in the system searchpath.
>> > >
>> > > And do 'rm lilypond' if you do not want to keep the local copy of the
>> script.
>> > >
>> > >
>> > >
>> >
>> >
>>
>>
>> --
>> ---
>> Jefferson dos Santos Felix
>>
>>


Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Ernie Braganza
I used the command brew install lilypond to install GNU LilyPond 2.22.1
(running Guile 2.2) on MacOS 11.6.1 and I get the same error message:

Drawing systems...
Converting to `test.pdf'...
warning: g_spawn_sync failed (0): gs: Failed to execute child process “gs”
(No such file or directory)
fatal error: cannot rename `test-tmp-9254638.285353.pdf' to `test.pdf'
Exited with return code 1.

The path to ghostscript is /usr/local/bin/gs and that is in my paths (using
bash). I do not know how to work around this error.

On Sun, Oct 31, 2021 at 8:09 AM Jefferson Felix  wrote:

> I noticed that ghostscript is inside /opt/lilypond/bin in this package.
>
> So, add /opt/lilypond/bin to your classpath. If using zsh:
>
> echo 'export PATH="/opt/lilypond/bin:$PATH"' >> ~/.zshrc
>
>
>
> Em dom., 31 de out. de 2021 às 07:44, Thomas Scharkowski
>  escreveu:
> >
> > Hi, I have installed this version on a fresh MacOS 12  and get this
> error message:
> >
> > --
> > Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs« konnte
> nicht ausgeführt werden (No such file or directory)
> > schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to
> `maite2-2015.pdf’
> > —
> >
> > The tmp file seems to be a ps file - if I understand correctly gs is
> missing so no pdf can be produced.
> > Can I solve this?
> >
> > Thank you,
> > Thomas
> > > Am 25.10.2021 um 17:57 schrieb Hans Åberg :
> > >
> > > This is a LilyPond 2.23.3 installer, latest unstable release, for use
> on MacOS 11, made from MacPorts lilypond-devel, available on the link below
> [1].
> > >
> > > Does not work on earlier MacOS versions. Might possibly work on MacOS
> 12 if installed on MacOS 11 before updating.
> > >
> > > It installs in /opt/lilypond/, with the program in
> /opt/lilypond/bin/lilypond, and /opt/lilypond/bin/ contains other LilyPond
> programs.
> > >
> > > If you have already something installed in this directory, it may be
> prudent to remove it first. This can be done by the command
> > > sudo rm -rf /opt/lilypond
> > >
> > > 1. https://web2.storegate.com/share/nI5ql1K
> > >
> > >
> > > It may be the case that 'lilypond' is best to be run from a script
> that sets LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is
> LC_CTYPE=UTF-8). It can be created and installed as follows:
> > >
> > > In Terminal write (^D is D):
> > > % cat > lilypond
> > > export LC_CTYPE=en_US.UTF-8
> > > export LANG=en_US.UTF-8
> > > exec /opt/lilypond/bin/lilypond "$@“
> > > ^D
> > >
> > > % chmod a+x lilypond
> > > % sudo -s cp lilypond /usr/local/bin/lilypond
> > >
> > > The program can then be called by 'lilypond' in Terminal, as
> /usr/local/bin/ is in the system searchpath.
> > >
> > > And do 'rm lilypond' if you do not want to keep the local copy of the
> script.
> > >
> > >
> > >
> >
> >
>
>
> --
> ---
> Jefferson dos Santos Felix
>
>


Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Hans Åberg
It is available on MacPorts MacOS 12, but I made this installer version for 
MacOS 11 to make sure there is at least one available.

To install on MacPorts, I use for latest unstable release:
  sudo port install lilypond-devel
The stable release is also available by
  sudo port install lilypond
The binaries end up in /opt/local/bin on these.



> On 31 Oct 2021, at 13:19, Jefferson Felix  wrote:
> 
> As an alternative, you can use homebrew to install last development version:
> brew install --HEAD lilypond
> 
> Pros:
> - the latest current development version with latest features;
> - trusted sources (homebrew and official lilypond development repository);
> - install all dependencies automatically
> 
> Cons:
> - it compiles from source code (could be take a while);
> - it installs the current development version (2.23.5) and can have
> unknown bugs;
> - It uses guile 2.2 (a little bit more slower to startup);
> - it install texlive (3.6 GB), but you can remove texlive after installation
> 




Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Jefferson Felix
As an alternative, you can use homebrew to install last development version:
brew install --HEAD lilypond

Pros:
- the latest current development version with latest features;
- trusted sources (homebrew and official lilypond development repository);
- install all dependencies automatically

Cons:
- it compiles from source code (could be take a while);
- it installs the current development version (2.23.5) and can have
unknown bugs;
- It uses guile 2.2 (a little bit more slower to startup);
- it install texlive (3.6 GB), but you can remove texlive after installation

Em dom., 31 de out. de 2021 às 09:08, Jefferson Felix
 escreveu:
>
> I noticed that ghostscript is inside /opt/lilypond/bin in this package.
>
> So, add /opt/lilypond/bin to your classpath. If using zsh:
>
> echo 'export PATH="/opt/lilypond/bin:$PATH"' >> ~/.zshrc
>
>
>
> Em dom., 31 de out. de 2021 às 07:44, Thomas Scharkowski
>  escreveu:
> >
> > Hi, I have installed this version on a fresh MacOS 12  and get this error 
> > message:
> >
> > --
> > Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs« konnte 
> > nicht ausgeführt werden (No such file or directory)
> > schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to 
> > `maite2-2015.pdf’
> > —
> >
> > The tmp file seems to be a ps file - if I understand correctly gs is 
> > missing so no pdf can be produced.
> > Can I solve this?
> >
> > Thank you,
> > Thomas
> > > Am 25.10.2021 um 17:57 schrieb Hans Åberg :
> > >
> > > This is a LilyPond 2.23.3 installer, latest unstable release, for use on 
> > > MacOS 11, made from MacPorts lilypond-devel, available on the link below 
> > > [1].
> > >
> > > Does not work on earlier MacOS versions. Might possibly work on MacOS 12 
> > > if installed on MacOS 11 before updating.
> > >
> > > It installs in /opt/lilypond/, with the program in 
> > > /opt/lilypond/bin/lilypond, and /opt/lilypond/bin/ contains other 
> > > LilyPond programs.
> > >
> > > If you have already something installed in this directory, it may be 
> > > prudent to remove it first. This can be done by the command
> > > sudo rm -rf /opt/lilypond
> > >
> > > 1. https://web2.storegate.com/share/nI5ql1K
> > >
> > >
> > > It may be the case that 'lilypond' is best to be run from a script that 
> > > sets LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is LC_CTYPE=UTF-8). 
> > > It can be created and installed as follows:
> > >
> > > In Terminal write (^D is D):
> > > % cat > lilypond
> > > export LC_CTYPE=en_US.UTF-8
> > > export LANG=en_US.UTF-8
> > > exec /opt/lilypond/bin/lilypond "$@“
> > > ^D
> > >
> > > % chmod a+x lilypond
> > > % sudo -s cp lilypond /usr/local/bin/lilypond
> > >
> > > The program can then be called by 'lilypond' in Terminal, as 
> > > /usr/local/bin/ is in the system searchpath.
> > >
> > > And do 'rm lilypond' if you do not want to keep the local copy of the 
> > > script.
> > >
> > >
> > >
> >
> >
>
>
> --
> ---
> Jefferson dos Santos Felix



-- 
---
Jefferson dos Santos Felix



Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Jefferson Felix
I noticed that ghostscript is inside /opt/lilypond/bin in this package.

So, add /opt/lilypond/bin to your classpath. If using zsh:

echo 'export PATH="/opt/lilypond/bin:$PATH"' >> ~/.zshrc



Em dom., 31 de out. de 2021 às 07:44, Thomas Scharkowski
 escreveu:
>
> Hi, I have installed this version on a fresh MacOS 12  and get this error 
> message:
>
> --
> Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs« konnte 
> nicht ausgeführt werden (No such file or directory)
> schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to 
> `maite2-2015.pdf’
> —
>
> The tmp file seems to be a ps file - if I understand correctly gs is missing 
> so no pdf can be produced.
> Can I solve this?
>
> Thank you,
> Thomas
> > Am 25.10.2021 um 17:57 schrieb Hans Åberg :
> >
> > This is a LilyPond 2.23.3 installer, latest unstable release, for use on 
> > MacOS 11, made from MacPorts lilypond-devel, available on the link below 
> > [1].
> >
> > Does not work on earlier MacOS versions. Might possibly work on MacOS 12 if 
> > installed on MacOS 11 before updating.
> >
> > It installs in /opt/lilypond/, with the program in 
> > /opt/lilypond/bin/lilypond, and /opt/lilypond/bin/ contains other LilyPond 
> > programs.
> >
> > If you have already something installed in this directory, it may be 
> > prudent to remove it first. This can be done by the command
> > sudo rm -rf /opt/lilypond
> >
> > 1. https://web2.storegate.com/share/nI5ql1K
> >
> >
> > It may be the case that 'lilypond' is best to be run from a script that 
> > sets LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is LC_CTYPE=UTF-8). It 
> > can be created and installed as follows:
> >
> > In Terminal write (^D is D):
> > % cat > lilypond
> > export LC_CTYPE=en_US.UTF-8
> > export LANG=en_US.UTF-8
> > exec /opt/lilypond/bin/lilypond "$@“
> > ^D
> >
> > % chmod a+x lilypond
> > % sudo -s cp lilypond /usr/local/bin/lilypond
> >
> > The program can then be called by 'lilypond' in Terminal, as 
> > /usr/local/bin/ is in the system searchpath.
> >
> > And do 'rm lilypond' if you do not want to keep the local copy of the 
> > script.
> >
> >
> >
>
>


-- 
---
Jefferson dos Santos Felix



Re: LilyPond 2.23.3 installer on MacOS 11

2021-10-31 Thread Thomas Scharkowski
Hi, I have installed this version on a fresh MacOS 12  and get this error 
message:

--
Warnung: g_spawn_sync nicht erfolgreich (0): gs: Kindprozess »gs« konnte nicht 
ausgeführt werden (No such file or directory)
schwerer Fehler: cannot rename `maite2-2015-tmp-1684011.101657.pdf' to 
`maite2-2015.pdf’
—

The tmp file seems to be a ps file - if I understand correctly gs is missing so 
no pdf can be produced.
Can I solve this?

Thank you,
Thomas
> Am 25.10.2021 um 17:57 schrieb Hans Åberg :
> 
> This is a LilyPond 2.23.3 installer, latest unstable release, for use on 
> MacOS 11, made from MacPorts lilypond-devel, available on the link below [1].
> 
> Does not work on earlier MacOS versions. Might possibly work on MacOS 12 if 
> installed on MacOS 11 before updating.
> 
> It installs in /opt/lilypond/, with the program in 
> /opt/lilypond/bin/lilypond, and /opt/lilypond/bin/ contains other LilyPond 
> programs.
> 
> If you have already something installed in this directory, it may be prudent 
> to remove it first. This can be done by the command
> sudo rm -rf /opt/lilypond
> 
> 1. https://web2.storegate.com/share/nI5ql1K
> 
> 
> It may be the case that 'lilypond' is best to be run from a script that sets 
> LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is LC_CTYPE=UTF-8). It can be 
> created and installed as follows:
> 
> In Terminal write (^D is D):
> % cat > lilypond
> export LC_CTYPE=en_US.UTF-8
> export LANG=en_US.UTF-8
> exec /opt/lilypond/bin/lilypond "$@“
> ^D
> 
> % chmod a+x lilypond
> % sudo -s cp lilypond /usr/local/bin/lilypond
> 
> The program can then be called by 'lilypond' in Terminal, as /usr/local/bin/ 
> is in the system searchpath.
> 
> And do 'rm lilypond' if you do not want to keep the local copy of the script.
> 
> 
> 




LilyPond 2.23.3 installer on MacOS 11

2021-10-25 Thread Hans Åberg
This is a LilyPond 2.23.3 installer, latest unstable release, for use on MacOS 
11, made from MacPorts lilypond-devel, available on the link below [1].

Does not work on earlier MacOS versions. Might possibly work on MacOS 12 if 
installed on MacOS 11 before updating.

It installs in /opt/lilypond/, with the program in /opt/lilypond/bin/lilypond, 
and /opt/lilypond/bin/ contains other LilyPond programs.

If you have already something installed in this directory, it may be prudent to 
remove it first. This can be done by the command
sudo rm -rf /opt/lilypond

1. https://web2.storegate.com/share/nI5ql1K


It may be the case that 'lilypond' is best to be run from a script that sets 
LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is LC_CTYPE=UTF-8). It can be 
created and installed as follows:

In Terminal write (^D is D):
% cat > lilypond
export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8
exec /opt/lilypond/bin/lilypond "$@“
^D

% chmod a+x lilypond
% sudo -s cp lilypond /usr/local/bin/lilypond

The program can then be called by 'lilypond' in Terminal, as /usr/local/bin/ is 
in the system searchpath.

And do 'rm lilypond' if you do not want to keep the local copy of the script.