[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Clustering.



Dear list,

Is there any way to use heartbeat/pacemaker on Debian GNU/kFreeBSD ?
I tried to compile it unsuccessfully (because of this dependencies
which I'm not able to compile; for example: cluster-glue).

I know I could use CARP but with it it's possible to have active
resources on nodeA and on ondeB at the same time even with preempt
enable... I must avoid that situation at all price.


Any advice will be welcomed.

Thank you.

Regards,
Thomas


NB: output of cluster-glue's compilation (I delete iproute and
iputils-ping from build-depends):
/bin/bash ../../libtool --tag=CC  --tag=CC   --mode=compile gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include
-I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl
-I../../libltdl  -I/usr/local/include -I/usr/include/glib-2.0
-I/usr/lib/i386-kfreebsd-gnu/glib-2.0/include   -I/usr/include/libxml2
 -g -O2 -ggdb3 -O0  -fgnu89-inline -fstack-protector-all -Wall
-Waggregate-return -Wbad-function-cast -Wcast-qual -Wcast-align
-Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2
-Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes
-Wmissing-declarations -Wmissing-format-attribute -Wnested-externs
-Wno-long-long -Wno-strict-aliasing -Wpointer-arith
-Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY
-MT ipcsocket.lo -MD -MP -MF .deps/ipcsocket.Tpo -c -o ipcsocket.lo
ipcsocket.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include
-I../../include -I../../include -I../../linux-ha -I../../linux-ha
-I../../libltdl -I../../libltdl -I/usr/local/include
-I/usr/include/glib-2.0 -I/usr/lib/i386-kfreebsd-gnu/glib-2.0/include
-I/usr/include/libxml2 -g -O2 -ggdb3 -O0 -fgnu89-inline
-fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast
-Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral
-Winline -Wmissing-prototypes -Wmissing-declarations
-Wmissing-format-attribute -Wnested-externs -Wno-long-long
-Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes
-Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -MT ipcsocket.lo -MD
-MP -MF .deps/ipcsocket.Tpo -c ipcsocket.c  -fPIC -DPIC -o
.libs/ipcsocket.o
ipcsocket.c: In function 'socket_verify_auth':
ipcsocket.c:2569:3: error: #error "No credential type found!"
ipcsocket.c:2580:14: error: 'Cred' undeclared (first use in this function)
ipcsocket.c:2580:14: note: each undeclared identifier is reported only
once for each function it appears in
ipcsocket.c:2582:2: error: expected specifier-qualifier-list before 'Cred'
ipcsocket.c:2584:11: error: expected ';' before 'cred'
ipcsocket.c:2587:3: warning: ISO C90 forbids mixed declarations and
code [-Wdeclaration-after-statement]
ipcsocket.c:2619:11: error: 'cred' undeclared (first use in this function)
ipcsocket.c:2629:1: warning: control reaches end of non-void function
[-Wreturn-type]
make[3]: *** [ipcsocket.lo] Error 1
make[3]: Leaving directory
`/root/builds/cluster-glue/cluster-glue-1.0.9+hg2665/lib/clplumbing'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/builds/cluster-glue/cluster-glue-1.0.9+hg2665/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/builds/cluster-glue/cluster-glue-1.0.9+hg2665'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: