Ruby 3.3.0 install fails building psych yaml.h not found #2334
|
Ruby 3.3.0 installation fails on Rocky Linux 9.3 building psych. yaml.h is not found but exists in location: /usr/include/yaml-cpp/yaml.h Installed yaml packages below. Unable to install yaml-dev package because it doesn't exist. yaml-cpp.x86_64 0.6.3-5.el9 @epel Installed. Log file shows yaml.h was not found during verification then. Fails during psych build: configuring psych *** Following extensions are not compiled: I did manually add yaml.h to global includes and yaml.h was found but then ios was missing. Can you help me? |
Replies: 5 comments 3 replies
|
Didn't list libyaml installation: |
|
|
On Rocky 9+, you have to enable sudo dnf config-manager --set-enabled crb
sudo dnf install -y libyaml-develAnd, Build and install the Ruby 3.3.x. |
|
On Ubuntu: |
|
You'll want |
Solved my issue in the follow way: