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
Any ideas?
Thanks,
Jake.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Beekhof
Sent: Tuesday, March 20, 2007 3:40 AM
To: High-Availability Linux Development List
Subject: Re: [Linux-ha-dev] Compiling Heartbeat on rhel 5 64-bit Server
On 3/19/07, Vanderdray, Jacob <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Just to follow-up: I eventually realized that I still had the
> PKG_CONFIG_PATH set to the dir for 32-bit packages. Once I unset that
I was
> able to get past that error. Now I'm getting a slew of errors about
> lib/crm/pengine/native.c. In looking at it I realize that it has all
sorts
> of problems (line breaks where they shouldn't be, semicolons where
they
> shouldn't be).
huh?
> I'm trying to compile heartbeat-2.0.8.tar.gz as I got it
> from http://linux-ha.org/download/index.html. Should I be
> working with a different version?
http://hg.linux-ha.org/dev is always a good option
>
>
>
> Thanks,
>
> Jake.
>
>
>
> ________________________________
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Vanderdray, Jacob
> Sent: Monday, March 19, 2007 3:52 PM
> To: [email protected]
> Subject: [Linux-ha-dev] Compiling Heartbeat on rhel 5 64-bit Server
>
>
>
>
> I've been having trouble getting heartbeat to compile
under
> RedHat Enterprise Linux Server (64-bit). To start with I had to
install a
> number of dependencies and I went through the RedHat network to do
that, but
> ConfigureMe configure was still failing on glib2 (despite the fact
that I'd
> installed the glib2-devel package). Doing a little investigating I
found
> that doing "export PKG_CONFIG_PATH=/usr/lib/pkgconfig" made
> the configure script happy, but when I tried to run ConfigureMe make
it
> skipped all the glib2 libraries saying that they were incompatible.
>
>
>
> More digging showed that the glib2-devel package from
RedHat
> lacked /usr/lib64/pkgconfig/glib-2.0.pc along with
> /usr/lib64/glib-2.0/include/ and some other stuff. On a hunch I
checked the
> glib2-devel rpm for rhel 5 workstation and sure enough it had
everything, so
> I manually downloaded and installed that and was able to get
further...
>
>
>
> Now I'm getting what I believe is a problem between 64-bit
vs
> 32-bit. The error is:
>
>
>
> ipcsocket.c: In function 'socket_verify_auth':
>
> ipcsocket.c:2329: warning: cast to pointer from integer of different
size
>
> ipcsocket.c:2333: warning: cast to pointer from integer of different
size
>
>
>
> I've found some references to problems compiling older
versions
> of ipcsocket.c on a 64 bit platform, but none of those seem relevant.
I'd
> REALLY appreciate any pointers and hopefully I've been verbose enough
that
> the next person who does a Google search about this won't have to
email the
> list.
>
>
>
> Thanks,
>
> Jake.
> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
>
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/