[ClusterLabs Developers] Gem bundler error while building PCSD

Anup Halarnkar anuph at us.ibm.com
Thu Jun 23 10:03:05 EDT 2016

Hi Jan,

Thanks for your response. I installed ruby-devel and issue is resolved now.


From:	Jan Pokorný <jpokorny at redhat.com>
To:	developers at clusterlabs.org
Date:	06/22/2016 11:39 PM
Subject:	Re: [ClusterLabs Developers] Gem bundler error while building

On 22/06/16 21:30 +0530, Anup Halarnkar wrote:
> OS: RHEL 7.2
> Arch: PPC64LE
> uname -a : Linux xxxxxxxxx 3.10.0-229.ael7b.ppc64le #1 SMP Fri Jan 30
> 12:03:50 EST 2015 ppc64le ppc64le ppc64le GNU/Linux
> Versions of installed ruby packages:
> libruby2_1-2_1.ppc64le 2.1.3-4.1
> ruby.ppc64le
> ruby-irb.noarch
> ruby-libs.ppc64le
> rubygem-bigdecimal.ppc64le 1.2.0-25.el7_1
> rubygem-bundler.noarch 1.7.8-3.el7
> rubygem-io-console.ppc64le 0.4.2-25.el7_1
> rubygem-json.ppc64le 1.7.7-25.el7_1
> rubygem-net-http-persistent.noarch
> rubygem-rdoc.noarch 4.0.0-25.el7_1
> rubygem-thor.noarch 0.19.1-1.el7
> rubygems.noarch 2.0.14-25.el7_1
> After successful build of PCS, I followed instructions on README to build
> PCSD. But, I got below error.
> //******************************************************************************************************************

> $ make get_gems
> bundle package
> Fetching gem metadata from https://rubygems.org/
> Fetching version metadata from https://rubygems.org/
> Resolving dependencies...
> Rubygems 2.0.14 is not threadsafe, so your gems will be installed one at
> time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem
> installation.
> Using backports 3.6.8
> Installing eventmachine with native extensions
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
> extension.
> /usr/bin/ruby extconf.rb
> mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h

1/ that's really strange place to look for the header files
   (/usr/include/ tree is pretty standard for system-wide headers)

2/ perhaps you are after /usr/include/ruby.h from ruby-devel package

3/ if you look at that README carefully, you may notice the pcs
   maintainers are mentioning Fedora distribution in particular,
   so things may be a bit more complicated elsewhere

Jan (Poki)
[attachment "att8du52.dat" deleted by Anup Halarnkar/Austin/Contr/IBM]
Developers mailing list
Developers at clusterlabs.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/developers/attachments/20160623/00a8e266/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/developers/attachments/20160623/00a8e266/attachment-0003.gif>

More information about the Developers mailing list