Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libyaml dependency not in CentOS repo #96

Open
murphyke opened this issue Sep 12, 2013 · 2 comments · May be fixed by #99
Open

libyaml dependency not in CentOS repo #96

murphyke opened this issue Sep 12, 2013 · 2 comments · May be fixed by #99

Comments

@murphyke
Copy link

CentOS 6.3 user here. centos.pp tries to install the libyaml-devel package, but this doesn't exist. Should there be an EPEL prerequisite added for this?

@jvogt
Copy link

jvogt commented Sep 17, 2013

I have had success using stahnma/epel. I am a big fan of using many smaller packages to do common things and stop collisions.

Also in my specific case there was a caveat where I needed to include libyaml-devel before libyaml due to a multilib problem with yum. I also forked blt04/puppet-rvm and changed all the deps to use ensure_packages() from stdlib, then in my node definition I included the following:

ensure_resource('package','libyaml-devel', {
ensure => 'present',
before => Class['rvm']
})

@MrReasonable
Copy link

This also effects Centos5. I had to add a prerequisite to use repoforge (http://repoforge.org/) in order to install libyaml. Annoyingly this doesn't help anyway because it seems that even with libyaml installed on CentOS5, the gem command still complains about an issue with psych. Repoforge installs libyaml into /usr/lib64, which RVM doesn't seem to link correctly when it configures the ruby build, so I needed to pass some build option flags when installing ruby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants