[Pacemaker] Trouble Building RPMs for PACEMAKER GUI on RHEL 4.5on Linux for zSeries.

Pinto, Phil (GTS) phil_pinto at ml.com
Tue May 6 13:56:43 EDT 2008


Hi 

Andrew thanks for the fast turnaround on this - but it appears that I'm still having a problem - I should have sent this in the first place. But attached please find the output from build process using the latest src rpm. 



Thanks...
 
Phil Pinto 

-----Original Message-----
From: pacemaker-bounces at clusterlabs.org [mailto:pacemaker-bounces at clusterlabs.org] On Behalf Of Andrew Beekhof
Sent: Tuesday, May 06, 2008 2:36 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] Trouble Building RPMs for PACEMAKER GUI on RHEL 4.5on Linux for zSeries.

I've committed the following change to the specfile which should  
resolve the issue for you (just download the latest src.rpm and re-run  
rpmrebuild).

Index: pygui.spec
===================================================================
--- pygui.spec     (revision 23)
+++ pygui.spec     (working copy)
@@ -145,7 +145,7 @@
  	--enable-glib-malloc 					\
  	--enable-snmp-subagent					\
  %if 0%{?mandriva_version}
-	--with-mibsdir=/usr/share/snmp/mibs			\
+	--with-mibsdir=%{_datadir}/snmp/mibs			\
  %endif
  %if %without_fatal_warnings
  	--enable-fatal-warnings=no 			        \


On May 5, 2008, at 10:06 PM, Pinto, Phil (GTS) wrote:

> Hello all,
>
> I am trying to build RPM packages for RHEL 4.5 on zLinux and am  
> having trouble creating the GUI RPM from the source RPM.  All other  
> packages were built and installed OK - I'm running Heartbeat with  
> Pacemaker - using the latest src RPMS from the opensuse repository  
> for RHEL4.
>
> The error appears that when I perform the following build action for  
> the pygui:
>
> rpmbuild --rebuild pacemaker-pygui-1.3-6.1.src.rpm
>
> The rebuild fails looking for
>
> /var/tmp/pacemaker-pygui-1.3-build/usr/share/snmp/mibs/LINUX-HA- 
> MIB.mib
>
> It does exist however in following directory
>
> /var/tmp/pacemaker-pygui-1.3-build/usr/local/share/snmp/mibs/LINUX- 
> HA-MIB.mib
>
>
> The build process works fine using the sources for RHEL5.1 on an  
> RHEL5.1 system however I need to build the RPMS for 4.5 as well
>
> I downloaded the sources for each release respectively - I support  
> Linux-HA severs on both RHEL4 and RHEL5 running on zSeries.
>
>
> Thanks...
>
> Phil Pinto
> --------------------------------------------------------
>
> This message w/attachments (message) may be privileged, confidential  
> or proprietary, and if you are not an intended recipient, please  
> notify the sender, do not use or share it and delete it. Unless  
> specifically indicated, this message is not an offer to sell or a  
> solicitation of any investment products or other financial product  
> or service, an official confirmation of any transaction, or an  
> official statement of Merrill Lynch. Subject to applicable law,  
> Merrill Lynch may monitor, review and retain e-communications (EC)  
> traveling through its networks/systems. The laws of the country of  
> each sender/recipient may impact the handling of EC, and EC may be  
> archived, supervised and produced in countries other than the  
> country in which you are located. This message cannot be guaranteed  
> to be secure or error-free. This message is subject to terms  
> available at the following link: http://www.ml.com/e-communications_terms/ 
> . By messaging with Merrill Lynch you consent to the foregoing.
> --------------------------------------------------------
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker


_______________________________________________
Pacemaker mailing list
Pacemaker at clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rebuild.tar.gz
Type: application/x-gzip
Size: 12978 bytes
Desc: rebuild.tar.gz
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20080506/92127b20/attachment-0001.bin>


More information about the Pacemaker mailing list