[Linux-ha-dev] Compiling Heartbeat on rhel 5 64-bit Server

Vanderdray, Jacob JVanderdray at aarp.org
Tue Mar 20 12:29:25 MDT 2007


Alan,

	Thanks a million.  I've now been able to get 2.0.8 to build.
Just in case someone else hits this, there seem to be problems with the
64 bit libraries from RedHat.  In some cases the rpms are missing
certain components and in others the rpms with the 64 bit libraries just
don't show up in the default channel listing.  In the end I had to
download and manually install these packages from the 64bit RHEL 5
Workstation channel:

e2fsprogs-devel-1.39-8.el5.x86_64.rpm
glib2-devel-2.12.3-2.fc6.x86_64.rpm
gnutls-devel-1.4.1-2.x86_64.rpm
ncurses-devel-5.5-24.20060715.x86_64.rpm
pam-devel-0.99.6.2-3.14.el5.x86_64.rpm
python-devel-2.4.3-19.el5.x86_64.rpm

	I also had to download/compile/install libnet.  The problems I
thought I was seeing with native.c were just figments of a brain tired
from fighting with missing libraries and not used to looking at this
code (the compile errors must have been related to the missing
libraries).

Thanks,
Jake.

-----Original Message-----
From: linux-ha-dev-bounces at lists.linux-ha.org
[mailto:linux-ha-dev-bounces at lists.linux-ha.org] On Behalf Of Alan
Robertson
Sent: Tuesday, March 20, 2007 12:34 PM
To: High-Availability Linux Development List
Subject: Re: [Linux-ha-dev] Compiling Heartbeat on rhel 5 64-bit Server

Vanderdray, Jacob wrote:
> 	I'd prefer not to use the dev code for production, so I went
> back and grabbed the source tarball for 2.0.6.  When I compile now I'm
> getting the following error:
> 
> cc1: warnings being treated as errors
> crm_mon.c: In function 'main':
> crm_mon.c:217: warning: implicit declaration of function 'initscr'
> crm_mon.c:218: warning: implicit declaration of function 'cbreak'
> crm_mon.c:219: warning: implicit declaration of function 'noecho'
> crm_mon.c:242: warning: implicit declaration of function 'echo'
> crm_mon.c:243: warning: implicit declaration of function 'nocbreak'
> crm_mon.c:244: warning: implicit declaration of function 'endwin'
> gmake[2]: *** [crm_mon-crm_mon.o] Error 1


2.0.8 would be the preferred version.  I'd guess you're missing the
ncurses-dev package...

-- 
    Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


More information about the Linux-HA-Dev mailing list