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 <t.scharkow...@t-online.de> 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 <haber...@telia.com>: > > > > 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 <control>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