[ClusterLabs] building from source

Aaron Cody aaron at aaroncody.com
Tue Nov 28 20:23:30 CET 2017


I'm trying to build all of the pacemaker/corosync components from
source instead of using the redhat rpms - I have a few questions.

I'm building on redhat 7.2 and so far I have been able to build:

libqb 1.0.2
pacemaker 1.1.18
corosync 2.4.3
resource-agents 4.0.1

however I have not been able to build pcs yet, i'm getting ruby errors:

sudo make install_pcsd
which: no python3 in (/sbin:/bin:/usr/sbin:/usr/bin)
make -C pcsd build_gems
make[1]: Entering directory `/home/whacuser/pcs/pcsd'
bundle package
`ruby_22` is not a valid platform. The available options are: [:ruby,
:ruby_18, :ruby_19, :ruby_20, :ruby_21, :mri, :mri_18, :mri_19, :mri_20,
:mri_21, :rbx, :jruby,
:jruby_18, :jruby_19, :mswin, :mingw, :mingw_18, :mingw_19, :mingw_20,
:mingw_21, :x64_mingw, :x64_mingw_20, :x64_mingw_21]
make[1]: *** [get_gems] Error 4
make[1]: Leaving directory `/home/whacuser/pcs/pcsd'
make: *** [install_pcsd] Error 2


Q1: Is this the complete set of components I need to build?
Q2: do I need cluster-glue?
Q3: any idea how I can get past the build error with pcsd?
Q4: if I use the pcs rpm instead of building pcs from source, I see an
error when my cluster starts up 'unable to get cib'. This didn't happen
when I was using the redhat rpms, so i'm wondering what i'm missing...

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20171128/699d1eb0/attachment.html>


More information about the Users mailing list