Re: Heartbeat for Centos 5- Can't build RPMS or install prebuilt RPMS-SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 2007-06-28 at 09:52 -0500, Dave Augustus wrote:
> I am stuck. This is X86_64 platform. 
> 
> In the extras repos, there is the SRPMS for heartbeat along with the
> RPMS for it.
> 
> I have downloaded both. But I can't build the RPMS from the SRPM as it
> fails compiling something in BUILD/heartbeat-2.0.8/lib/crm/pengine
> 
> Additionally, I can't install the RPMS:
> rpm -Uvh 
> heartbeat-2.0.8-3.el5.centos.i386.rpm
> heartbeat-2.0.8-3.el5.centos.x86_64.rpm
> heartbeat-pils-2.0.8-3.el5.centos.i386.rpm
> heartbeat-2.0.8-3.el5.centos.x86_64.rpm
> heartbeat-stonith-2.0.8-3.el5.centos.i386.rpm 
> heartbeat-stonith-2.0.8-3.el5.centos.x86_64.rpm
> 
> error: Failed dependencies:
> libperl.so is needed by heartbeat-2.0.8-3.el5.centos.i386
> 
> but perl is installed.
> 
> Any ideas are greatly appreciated.
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

After:
yum install ncurses-devel 
yum install swig

I can successfully build the RPM from
heartbeat-2.0.8-3.src.rpm

AND I can then successfully install the RPMS that I built.

Then I think I realized my mistake. With x86_64, many times you install
both the i386 AND the x86_64 RPMS. So maybe I am not supposed to install
both. I un-installed the RPMS I just made. Then I installed ONLY THE
x86_64 RPMS and viola! They installed without a problem...

The end result appears to be that with heartbeat, it is an either/or
situation in regards to what RPMS are needed. ONLY install the ones
built for your architecture. In my case, x86_64.

Hopefully this info will help someone else down the road.

Dave



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux