[MacPorts] #69604: ruby-build fails with fatal error: 'yaml.h' file not found

MacPorts noreply at macports.org
Wed Mar 27 19:21:00 UTC 2024


#69604: ruby-build fails with fatal error: 'yaml.h' file not found
-------------------------+----------------------
  Reporter:  breun       |      Owner:  mojca
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  ruby-build  |
-------------------------+----------------------

Comment (by breun):

 Via https://github.com/rbenv/ruby-build/pull/1929#issuecomment-1245427464
 I found that `RUBY_CONFIGURE_OPTS=--with-libyaml-dir=/opt/local rbenv
 install 3.3.0` works.

 Maybe `libyaml` needs to be added as a dependency to the `ruby-build`
 port, and maybe it can set the libyaml directory automatically?

-- 
Ticket URL: <https://trac.macports.org/ticket/69604#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list