Hi,

On Mon, Mar 31, 2008 at 11:57:58AM -0400, Eric J. Bowser wrote:
> Hello all,
> 
> I have a fully patched Fedora 4 system, and am trying to build 
> heartbeat-2.1.3.
> 
> I first installed dependencies through yum:
> yum install python-devel pam-devel gnutls-devel swig libnet-devel \
> glib2-devel e2fsprogs-devel
> 
> 
> The unpacked the tar, ran configure as follows:
> ./ConfigureMe configure --enable-pretty
> 
> make generates the following error:
> Compiling raexeclsb.c:                                                
> [ERROR]
>   gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../../include 
> -I../../../include -I../../../include -I../../../include 
> -I../../../linux-ha -I../../../linux-ha -I../../../libltdl 
> -I../../../libltdl -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
> -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -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 
> -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -MT 
> raexeclsb.lo -MD -MP -MF .deps/raexeclsb.Tpo -c raexeclsb.c -fPIC -DPIC -o 
> .libs/raexeclsb.o
>   raexeclsb.c:47:29: error: libxml/entities.h: No such file or directory
>   cc1: warnings being treated as errors
>   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 from function call of type 'int' to 
> non-matching type 'char *'
>   raexeclsb.c:579: warning: implicit declaration of function 'xmlFree'
> gmake[3]: *** [raexeclsb.lo] Error 1
> gmake[2]: *** [all-recursive] Error 1
> gmake[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> Any pointers?

You need libxml2 development installed. I'm not sure which
package is that for your platform.

Thanks,

Dejan



> Thanks,
> Eric
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-- 
Dejan
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to