I'm trying to get a native M1 MacOS build of Lilypond going.

I've installed all of the packages listed at
https://lilypond.org/doc/v2.25/Documentation/contributor/requirements-for-running-lilypond

https://lilypond.org/doc/v2.25/Documentation/contributor/other

and

https://lilypond.org/doc/v2.25/Documentation/contributor/requirements-for-building-documentation

I cloned the gitab repository and followed the instructions for an
out-of-tree build

I ran .autogen.sh, and then ran configure.

During the configure run I got this output:

WARNING: Please consider installing optional programs or files:  dblatex


ERROR: Please install required programs:  guile-devel >= 2.2


I'm not worried about dblatex, but I need guile-devel >= 2.2


I've been installing all of the other packages with MacPorts, but there is
no guile-devel port:


carl@Carls-MBP-2 build % sudo port install guile-devel

Password:

Error: Port guile-devel not found


I also tried using HomeBrew (since there is no port for guile3, either).


brew install guile got me a guile 3.0, which I was able to symlink to my
MacPorts tree, and when I run guile from the prompt, I get guile3.


In the HomeBrew tree there is an include directory:

/opt/homebrew/Cellar/guile/3.0.9/include/guile/3.0


that contains the following:

libguile libguile.h readline.h


and libguile has a whole bunch of headers in it.


I tried symlinking this directory to my MacPorts tree under

/opt/local/include/guile/3.0


(which parallels an installation under 2.2)


I got this:

carl@carls-mbp-2 include % ls -lsa /opt/local/include/guile/3.0

0 lrwxr-xr-x  1 root  admin  50 Jan 17 11:54 /opt/local/include/guile/3.0
-> /opt/homebrew/Cellar/guile/3.0.9/include/guile/3.0


But after all this work, I still get the ../configure message saying I need
guile-devel >= 2.2 (and I'd like it for 3.0).


Anybody have any ideas how to solve this?

THanks,


Carl

Reply via email to