<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#3333FF" bgcolor="#FFFFFF">
<font face="FreeMono">Klaus/Ken.<br>
<br>
Thx. for you reply.<br>
<br>
The issue is ...<br>
<br>
- I downloaded the source from GIT.<br>
- Downloaded the OS required packages.<br>
- Unzipped the source.<br>
- ./autogen.sh + ./configure ---> OK<br>
- Then, indeed, I tried: make rpm <br>
  But I got thousands of errors:<br>
<br>
$ make rpm<br>
fatal: Not a git repository (or any of the parent directories): .git<br>
fatal: Not a git repository (or any of the parent directories): .git<br>
fatal: Not a git repository (or any of the parent directories): .git<br>
fatal: Not a git repository (or any of the parent directories): .git<br>
fatal: Not a git repository (or any of the parent directories): .git<br>
fatal: Not a git repository (or any of the parent directories): .git<br>
/bin/sh: -c: line 0: syntax error near unexpected token `Pacemaker-*'<br>
/bin/sh: -c: line 0: `case  in Pacemaker-*) echo '' | cut -c11-;; *) git log --pretty=format:%h -n 1 '';; esac'<br>
...<br>
...<br>
<br>
What made me think, that downloading the source to the box I'm testing could not be the<br>
best, so I decided to ask the experts.<br>
<br>
Best Regards<br>
</font><br>
<div class="moz-cite-prefix">
<div style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
<tbody>
<tr style="font-size:0;">
<td align="left" style="vertical-align:top;">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:0;">
<tbody>
<tr style="font-size:0;">
<td align="left" style="padding:15px 0 30px;vertical-align:top;">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:0;">
<tbody>
<tr style="font-size:0;">
<td align="left" style="padding:0;vertical-align:top;">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:0;">
<tbody>
<tr style="font-size:0;">
<td align="left" style="vertical-align:top;">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#3B3739;font-style:normal;font-weight:700;white-space:nowrap;">
<tbody>
<tr style="font-size:14.67px;">
<td align="left" style="vertical-align:top;font-family:Arial;">Francisco Javier<span style="font-family:remialcxesans;font-size:1px;color:#FFFFFF;">​</span></td>
<td align="left" style="vertical-align:top;font-family:Arial;font-weight:400;"> </td>
<td align="left" style="vertical-align:top;font-family:Arial;">Lopez</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="font-size:0;">
<td align="left" style="vertical-align:top;">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#3B3739;font-style:normal;font-weight:400;white-space:nowrap;">
<tbody>
<tr style="font-size:13.33px;">
<td align="left" style="vertical-align:top;font-family:Arial;">IT System Engineer</td>
<td align="left" style="vertical-align:top;color:#F27E20;font-family:Arial;"> | </td>
<td align="left" style="vertical-align:top;font-family:Arial;">Global IT</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="font-size:0;">
<td align="left" style="vertical-align:top;">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#F27E20;font-style:normal;font-weight:400;white-space:nowrap;">
<tbody>
<tr style="font-size:13.33px;">
<td align="left" style="vertical-align:top;color:#3B3739;font-family:Arial;">O: <a href="tel:+34%20619%20728%20249" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#3B3739;"><strong style="font-weight:400;">+34 619 728 249</strong></a></td>
<td align="left" style="vertical-align:top;font-family:Arial;"> | </td>
<td align="left" style="vertical-align:top;color:#3B3739;font-family:Arial;">M: <a href="tel:+34%20619%20728%20249" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#3B3739;"><strong style="font-weight:400;">+34 619 728 249</strong></a></td>
<td align="left" style="vertical-align:top;font-family:Arial;"> | <br>
</td>
<td align="left" style="vertical-align:top;color:#0B4CB4;font-family:Lato;"><a href="mailto:franciscojavier.lopez@solera.com" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#0B4CB4;"><strong style="font-weight:400;">franciscojavier.lopez@solera.com</strong></a></td>
<td align="left" style="vertical-align:top;font-family:Arial;"> | </td>
<td align="left" style="vertical-align:top;color:#0B4CB4;font-family:Arial;">Solera.com</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="font-size:0;">
<td align="left" style="vertical-align:top;">
<table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#3B3739;font-style:normal;font-weight:400;white-space:nowrap;">
<tbody>
<tr style="font-size:13.33px;">
<td align="left" style="vertical-align:top;font-family:Arial;">Audatex Datos, S.A.</td>
<td align="left" style="vertical-align:top;color:#F27E20;font-family:Arial;"> | </td>
<td align="left" style="vertical-align:top;font-family:Arial;">Avda. de Bruselas, 36, Salida 16, A‑1 (Diversia)</td>
<td align="left" style="vertical-align:top;font-family:Arial;">, </td>
<td align="left" style="vertical-align:top;font-family:Arial;">Alcobendas</td>
<td align="left" style="vertical-align:top;font-family:Arial;">, </td>
<td align="left" style="vertical-align:top;font-family:Arial;">Madrid</td>
<td align="left" style="vertical-align:top;font-family:Arial;">, </td>
<td align="left" style="vertical-align:top;font-family:Arial;">28108</td>
<td align="left" style="vertical-align:top;font-family:Arial;">, </td>
<td align="left" style="vertical-align:top;font-family:Arial;">Spain</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="font-size:0;line-height:normal;">
<td align="left" style="padding:10px 0;vertical-align:top;"><img src="cid:image824429.png@9010732B.855BF16B" border="0" alt="" style="font-size:0;"></td>
</tr>
<tr style="font-size:0;">
<td style="padding:0;"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
On 15/10/18 16:27, Ken Gaillot wrote:<br>
</div>
<blockquote type="cite" cite="mid:1539613623.4993.1.camel@redhat.com">
<pre wrap="">On Mon, 2018-10-15 at 14:39 +0200, Klaus Wenninger wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 10/15/2018 01:52 PM, Lopez, Francisco Javier [Global IT] wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello guys !

We are planning to use Pacemaker as a base HA Software in our
Company.

Our requirements will be:

- Centos-7
- PostgreSql-10

We did several tests with Pacemaker release 1.1.8 and fixed the
problems found with
the RA. We finally created new RPMs from source (4.x).

Now we want to test Pacemaker release 2.x but, as we will have to
create some clusters,
we want to create new RPMs for this release instead of doing manual
installation on
each new box. As per what I see the RPMs for our Centos have not
been created yet.

We could run 'autogen' + 'configure' but I do not find the way to
generate the RPMs.
Anyone could share with me the correct paths to do this please ?
</pre>
</blockquote>
<pre wrap=""> 
The spec-file found in the pacemaker-github-repo should work straight
forward
using mock to build against the repos of your Centos-Version.
Just check that you are on current corosync, libqb, knet, ...
Pacemaker 2 seems to build well against the packages coming with
Centos 7.5.
Maybe others can comment on how advisable it is running that combo
though.

Klaus
</pre>
</blockquote>
<pre wrap="">
Also, there is a convenient target for building RPMs from the spec
file, you can just run "make rpm" (after autogen.sh + configure).

</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Perhaps there are some steps written somewhere and I did not find
them out ...

Appreciate your help.

Regards
Javier
        Francisco Javier      Lopez     IT System E
ngineer  |    Global IT    O: +34 619 728 249  
 |    M: +34 619 728 249       | 
<a class="moz-txt-link-abbreviated" href="mailto:franciscojavier.lopez@solera.com">franciscojavier.lopez@solera.com</a>  |    Solera.com      
  Audatex Datos, S.A.        |    Avda. de Bruselas, 36, Sali
da 16, A‑1 (Diversia)  ,  Alcobendas      ,  
Madrid  ,  28108   ,  Spain           
 

"This e-mail, any associated files and the information contained in
them are confidential and is intended for the addressee(s) only. If
you have received this message in error please notify the
originator and delete the email immediately. The unauthorised use,
disclosure, copying or alteration of this message is strictly
forbidden. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business
practices. Any opinions expressed are those of the individual and
do not necessarily represent the views of the company. The company
does not conclude contracts by email and all negotiations are
subject to contract. We make every effort to maintain our network
free from computer viruses but accept no responsibility for any
viruses which might be transferred by this e-mail."


_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.clusterlabs.org%2Fmailman%2Flistinfo%2Fusers&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=W%2FtkThOis%2FEkM5maP7dVWggwYg8cOR3%2FAJjAn1Jxaf0%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.clusterlabs.org%2Fmailman%2Flistinfo%2Fusers&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=W%2FtkThOis%2FEkM5maP7dVWggwYg8cOR3%2FAJjAn1Jxaf0%3D&amp;reserved=0</a>

Project Home: <a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=X6bGa81egPcfwyAZvo6Ce4cH2PfQXvvQlNo6KPWXxvg%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=X6bGa81egPcfwyAZvo6Ce4cH2PfQXvvQlNo6KPWXxvg%3D&amp;reserved=0</a>
Getting started: <a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org%2Fdoc%2FCluster_from_Scratc&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=7Rjj%2FpYnNeBsqkJPk8PedMzitQhs3SNcgwMqK153FNg%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org%2Fdoc%2FCluster_from_Scratc&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=7Rjj%2FpYnNeBsqkJPk8PedMzitQhs3SNcgwMqK153FNg%3D&amp;reserved=0</a>
h.pdf
Bugs: <a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugs.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=cPXKVOVwEHlL5tgpcwr1vBKJBYHS4lBLovygWuKwROY%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugs.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=cPXKVOVwEHlL5tgpcwr1vBKJBYHS4lBLovygWuKwROY%3D&amp;reserved=0</a>
</pre>
</blockquote>
<pre wrap=""> 
_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.clusterlabs.org%2Fmailman%2Flistinfo%2Fusers&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=W%2FtkThOis%2FEkM5maP7dVWggwYg8cOR3%2FAJjAn1Jxaf0%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.clusterlabs.org%2Fmailman%2Flistinfo%2Fusers&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=W%2FtkThOis%2FEkM5maP7dVWggwYg8cOR3%2FAJjAn1Jxaf0%3D&amp;reserved=0</a>

Project Home: <a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=X6bGa81egPcfwyAZvo6Ce4cH2PfQXvvQlNo6KPWXxvg%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=X6bGa81egPcfwyAZvo6Ce4cH2PfQXvvQlNo6KPWXxvg%3D&amp;reserved=0</a>
Getting started: <a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org%2Fdoc%2FCluster_from_Scratch&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=HGgOSmqGoR2KpRWV2ziN97GtfZwzUln%2BdQnUm%2BD%2FRaM%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.clusterlabs.org%2Fdoc%2FCluster_from_Scratch&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=HGgOSmqGoR2KpRWV2ziN97GtfZwzUln%2BdQnUm%2BD%2FRaM%3D&amp;reserved=0</a>.
pdf
Bugs: <a class="moz-txt-link-freetext" href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugs.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=cPXKVOVwEHlL5tgpcwr1vBKJBYHS4lBLovygWuKwROY%3D&amp;reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugs.clusterlabs.org&amp;data=01%7C01%7C%7C83b5c8abd9ff48080f2008d632aa4a43%7Cc45b48f313bb448b9356ba7b863c2189%7C1&amp;sdata=cPXKVOVwEHlL5tgpcwr1vBKJBYHS4lBLovygWuKwROY%3D&amp;reserved=0</a>
</pre>
</blockquote>
</blockquote>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
"This e-mail, any associated files and the information contained in them are confidential and is intended for the addressee(s) only. If you have received this message in error please notify the originator and delete the email immediately. The unauthorised use,
 disclosure, copying or alteration of this message is strictly forbidden. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any opinions expressed are those of the individual and do not necessarily
 represent the views of the company. The company does not conclude contracts by email and all negotiations are subject to contract. We make every effort to maintain our network free from computer viruses but accept no responsibility for any viruses which might
 be transferred by this e-mail."<br>
</font>
</body>
</html>