[Linux-HA] building srpm on rhel4 and pils

Michael Harrison mrpquter at yahoo.com
Sat Sep 22 08:49:19 MDT 2007


Hi,

I downloaded heartbeat-2.1.2-2.src.rpm and
libnet-1.1.2.1-1.rh.el.um.1.src.rpm. Built libnet rpm with no problems.

Trying to build the hearbeat rpm gives errors:

raexeclsb.c:47:29: libxml/entities.h: No such file or directory
raexeclsb.c: In function `get_resource_meta':
raexeclsb.c:522: warning: implicit declaration of function
`xmlEncodeEntitiesReentrant'
raexeclsb.c:522: error: `BAD_CAST' undeclared (first use in this
function)
raexeclsb.c:522: error: (Each undeclared identifier is reported only
once
raexeclsb.c:522: error: for each function it appears in.)
raexeclsb.c:522: error: syntax error before "buffer"
raexeclsb.c:523: error: syntax error before "buffer"
raexeclsb.c:524: error: syntax error before "buffer"
raexeclsb.c:525: error: syntax error before "buffer"
raexeclsb.c:526: error: syntax error before "buffer"
raexeclsb.c:527: error: syntax error before "buffer"
raexeclsb.c:528: error: syntax error before "buffer"
raexeclsb.c:529: error: syntax error before "buffer"
raexeclsb.c:554: warning: implicit declaration of function `BAD_CAST'
raexeclsb.c:554: warning: cast does not match function type
raexeclsb.c:579: warning: implicit declaration of function `xmlFree'
gmake[3]: *** [raexeclsb.lo] Error 1
gmake[3]: Leaving directory
`/home/rpmbuilder/rpmbuild/BUILD/heartbeat-2.1.2/lib/plugins/lrm'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/rpmbuilder/rpmbuild/BUILD/heartbeat-2.1.2/lib/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/rpmbuilder/rpmbuild/BUILD/heartbeat-2.1.2/lib'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.41443 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.41443 (%build)


Any pointers? It looks to choke up at plugins, so do I need pils ? I
don't see that for download anywhere.

Thanks!
-Mike





       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/



More information about the Linux-HA mailing list