Hi, On Mon, Dec 03, 2007 at 10:34:43PM +0100, Spindler Michael wrote: > Hi all, > > I hope it is not a too stupid question. > > I want to use heartbeat 2.1.2-24 on RedHas AS 4 because in 2.1.2-3 (I > got centos-packages for this version), the lrmd is eating up all my > cpu-time. I saw some fixes to this deamon in the changelog, so I > downloaded the source-bz2 and tried to build rpms. > > I used "ConfigureMe rpm", but I got the following error while compiling: > > [...] > gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include > -I../../../include -I../../../include -I../../../libltdl > -I../../../libltdl -I../../../ > linux-ha -I../../../linux-ha -I../../.. -I../../.. -D_BSD_SOURCE > -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H > -I/usr/include/glib-2.0 -I/usr/lib/gli > b-2.0/include -I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes > -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement > -Wpointer- > arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast > -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security > -Wformat-nonliteral -W > no-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -g -O2 > -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes > -Wdeclaratio > n-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual > -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute > -Wformat=2 -Wformat-sec > urity -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror > -ggdb3 -funsigned-char -MT xml.lo -MD -MP -MF .deps/xml.Tpo -c xml.c > -fPIC -DPIC -o > .libs/xml.o > xml.c: In function `write_xml_file': > xml.c:618: warning: unused variable `in' > gmake[3]: *** [xml.lo] Error 1 > gmake[3]: Leaving directory `/tmp/CRM-Devel-obs-2.1.2-24/lib/crm/common' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/tmp/CRM-Devel-obs-2.1.2-24/lib/crm' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/tmp/CRM-Devel-obs-2.1.2-24/lib' > > > Any ides what is going wrong here?
Exactly what it says, though only on a preprocessed file. If you install bzip2 you should be fine. Thanks, Dejan > I also tried to use 2.1.2-15, but in > this version, I get errors complaining about libnet-devel (and another > package), which I do not have on RedHat AS 4. > > I have attached the complete output of the command to this mail. Perhaps > someone is able to help. > > > Best regards, > Michael > > BTW: I had to change the .spec-File (thanks to Serge for his fixes on > linux-ha-dev). > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
