[Pacemaker] Error building Pacemaker on OS X Lion

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Jan 24 22:48:47 UTC 2012


Hi,

On Tue, Jan 24, 2012 at 05:56:14PM +0100, info at sdips.de wrote:
> configure: error: in `/Users/admin/1.1':
> configure: error: Unable to support Heartbeat: client libraries not found
> See `config.log' for more details
> 
> 
> Still haven't any solution and this topic doesn't helped me out either.
> http://oss.clusterlabs.org/pipermail/pacemaker/2011-July/011048.html
> 
> 
> What does the Pacemaker configure is missing?

Heartbeat development bits (include files and libraries)? I guess
that there is a way to specify the location (or just supply
library/include paths) in case if it's not standard.

Thanks,

Dejan

> I don't understand the configure log failures, maybe any DEVs have a
> solution what went wrong here?
> 
> Heartbeat is installed and is able to start, except the missing
> Pacemaker Plugins
> 
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(logfacility,syslog)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(coredumps,true)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(pacemaker,respawn)
> heartbeat[37281]: 2012/01/24_17:45:14 info: Pacemaker support: respawn
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: apiauth
> cib     uid=hacluster
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=hacluster, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: apiauth
> stonithd      uid=root
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=root, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: apiauth
> stonith-ng    uid=root
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=root, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: apiauth
> attrd       uid=hacluster
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=hacluster, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: apiauth
> crmd       uid=hacluster
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=hacluster, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: apiauth
> pingd       uid=root
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=root, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive:
> respawn  hacluster /usr/local/lib64/heartbeat/ccm
> heartbeat[37281]: 2012/01/24_17:45:14 info: respawn directive: 
> hacluster /usr/local/lib64/heartbeat/ccm
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive:
> respawn  hacluster /usr/local/lib64/heartbeat/cib
> heartbeat[37281]: 2012/01/24_17:45:14 info: respawn directive: 
> hacluster /usr/local/lib64/heartbeat/cib
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Client child command
> [/usr/local/lib64/heartbeat/cib] is not executable
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Directive respawn 
> hacluster /usr/local/lib64/heartbeat/cib failed
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: respawn
> root /usr/local/lib64/heartbeat/lrmd -r
> heartbeat[37281]: 2012/01/24_17:45:14 info: respawn directive: root
> /usr/local/lib64/heartbeat/lrmd -r
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive: respawn
> root /usr/local/lib64/heartbeat/stonithd
> heartbeat[37281]: 2012/01/24_17:45:14 info: respawn directive: root
> /usr/local/lib64/heartbeat/stonithd
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Client child command
> [/usr/local/lib64/heartbeat/stonithd] is not executable
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Directive respawn root
> /usr/local/lib64/heartbeat/stonithd failed
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive:
> respawn  hacluster /usr/local/lib64/heartbeat/attrd
> heartbeat[37281]: 2012/01/24_17:45:14 info: respawn directive: 
> hacluster /usr/local/lib64/heartbeat/attrd
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Client child command
> [/usr/local/lib64/heartbeat/attrd] is not executable
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Directive respawn 
> hacluster /usr/local/lib64/heartbeat/attrd failed
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Implicit directive:
> respawn  hacluster /usr/local/lib64/heartbeat/crmd
> heartbeat[37281]: 2012/01/24_17:45:14 info: respawn directive: 
> hacluster /usr/local/lib64/heartbeat/crmd
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Client child command
> [/usr/local/lib64/heartbeat/crmd] is not executable
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Directive respawn 
> hacluster /usr/local/lib64/heartbeat/crmd failed
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(udpport,1694)
> heartbeat[37281]: 2012/01/24_17:45:14 WARN: heartbeat: udp port 1694
> reserved for service "rrimwm".
> heartbeat: udpport setting must precede media
> statementsheartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(bcast,en0)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(autojoin,none)
> heartbeat[37281]: 2012/01/24_17:45:14 debug:
> add_option(node,administrators-mac.local)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(keepalive,1)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(warntime,6)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(deadtime,10)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: add_option(initdead,15)
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=hacluster, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=hacluster, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=<null>, gid=haclient
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=root, gid=<null>
> heartbeat[37281]: 2012/01/24_17:45:14 debug: uid=<null>, gid=haclient
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Heartbeat not started:
> configuration error.
> heartbeat[37281]: 2012/01/24_17:45:14 ERROR: Configuration error,
> heartbeat not started.
> heartbeat[37281]: 2012/01/24_17:45:14 debug: Exiting from pid 37281 [rc=6]
> 
> 
> 
> 
> 
> Am 24.01.12 11:58, schrieb info at sdips.de:
> > Hi all,
> >
> > after a clean install of cluster-glue and heartbeat, I have a problem to
> > build Pacemaker 1.1.6 under OS X Lion.
> >
> > With the ./configure --prefix=/usr/local
> > --with-initdir=/private/etc/mach_init.d --with-heartbeat
> > --libexecdir=/usr/libexec/ I run into the following issue:
> >
> > configure: error: in `/Users/admin/1.1':
> > configure: error: Unable to support Heartbeat: client libraries not found
> > See `config.log' for more details
> >
> >
> > the "config.log" shows this:
> >
> > configure:4363: gcc -c conftest.c -o conftest2.o >&5
> > configure:4367: $? = 0
> > configure:4373: gcc -c conftest.c -o conftest2.o >&5
> > configure:4377: $? = 0
> > configure:4388: cc -c conftest.c >&5
> > configure:4392: $? = 0
> > configure:4400: cc -c conftest.c -o conftest2.o >&5
> > configure:4404: $? = 0
> > configure:4410: cc -c conftest.c -o conftest2.o >&5
> > configure:4414: $? = 0
> > configure:4432: result: yes
> > configure:4461: checking for gcc option to accept ISO C99
> > configure:4610: gcc  -c -g -O2  conftest.c >&5
> > conftest.c:62: error: expected ';', ',' or ')' before 'text'
> > conftest.c: In function 'main':
> > conftest.c:116: error: nested functions are disabled, use
> > -fnested-functions to re-enable
> > conftest.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__'
> > before 'newvar'
> > conftest.c:116: error: 'newvar' undeclared (first use in this function)
> > conftest.c:116: error: (Each undeclared identifier is reported only once
> > conftest.c:116: error: for each function it appears in.)
> > conftest.c:126: error: 'for' loop initial declaration used outside C99 mode
> > configure:4610: $? = 1
> > configure: failed program was:
> > | /* confdefs.h */
> > | #define PACKAGE_NAME "pacemaker"
> > | #define PACKAGE_TARNAME "pacemaker"
> > | #define PACKAGE_VERSION "1.1.6"
> > | #define PACKAGE_STRING "pacemaker 1.1.6"
> > | #define PACKAGE_BUGREPORT "pacemaker at oss.clusterlabs.org"
> > | #define PACKAGE_URL ""
> > | #define PACKAGE "pacemaker"
> > | #define VERSION "1.1.6"
> > | #define PACEMAKER_VERSION "1.1.6"
> > | /* end confdefs.h.  */
> > | #include <stdarg.h>
> > | #include <stdbool.h>
> > | #include <stdlib.h>
> > | #include <wchar.h>
> >
> > .
> > .
> > .
> >
> > conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
> > configure:8048: $? = 1
> > configure: failed program was:
> > | /* confdefs.h */
> > | #define PACKAGE_NAME "pacemaker"
> > | #define PACKAGE_TARNAME "pacemaker"
> > | #define PACKAGE_VERSION "1.1.6"
> > | #define PACKAGE_STRING "pacemaker 1.1.6"
> > | #define PACKAGE_BUGREPORT "pacemaker at oss.clusterlabs.org"
> > | #define PACKAGE_URL ""
> > | #define PACKAGE "pacemaker"
> > | #define VERSION "1.1.6"
> > | #define PACEMAKER_VERSION "1.1.6"
> > | /* end confdefs.h.  */
> > | #include <ac_nonexistent.h>
> > configure:8073: result: gcc -std=gnu99 -E
> > configure:8093: gcc -std=gnu99 -E  conftest.c
> > configure:8093: $? = 0
> > configure:8107: gcc -std=gnu99 -E  conftest.c
> > conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
> > configure:8107: $? = 1
> > configure: failed program was:
> > | /* confdefs.h */
> > | #define PACKAGE_NAME "pacemaker"
> > | #define PACKAGE_TARNAME "pacemaker"
> > | #define PACKAGE_VERSION "1.1.6"
> > | #define PACKAGE_STRING "pacemaker 1.1.6"
> > | #define PACKAGE_BUGREPORT "pacemaker at oss.clusterlabs.org"
> > | #define PACKAGE_URL ""
> > | #define PACKAGE "pacemaker"
> > | #define VERSION "1.1.6"
> > | #define PACEMAKER_VERSION "1.1.6"
> > | /* end confdefs.h.  */
> > | #include <ac_nonexistent.h>
> > configure:8136: checking for ANSI C header files
> > configure:8156: gcc -std=gnu99 -c -g -O2  conftest.c >&5
> >
> > .
> > .
> > .
> >
> > conftest.c:61: error: expected expression before ')' token
> > configure:12309: $? = 1
> > configure: failed program was:
> > | /* confdefs.h */
> > | #define PACKAGE_NAME "pacemaker"
> > | #define PACKAGE_TARNAME "pacemaker"
> > | #define PACKAGE_VERSION "1.1.6"
> > | #define PACKAGE_STRING "pacemaker 1.1.6"
> > | #define PACKAGE_BUGREPORT "pacemaker at oss.clusterlabs.org"
> > | #define PACKAGE_URL ""
> > | #define PACKAGE "pacemaker"
> > | #define VERSION "1.1.6"
> > | #define PACEMAKER_VERSION "1.1.6"
> > | #define STDC_HEADERS 1
> > | #define HAVE_SYS_TYPES_H 1
> > | #define HAVE_SYS_STAT_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_STRING_H 1
> > | #define HAVE_MEMORY_H 1
> > | #define HAVE_STRINGS_H 1
> > | #define HAVE_INTTYPES_H 1
> > | #define HAVE_STDINT_H 1
> > | #define HAVE_UNISTD_H 1
> > | #define HAVE_DLFCN_H 1
> > | #define LT_OBJDIR ".libs/"
> > | #define HAVE_STRINGIZE 1
> > | /* end confdefs.h.  */
> > | #include <stdio.h>
> > | #ifdef HAVE_SYS_TYPES_H
> > | # include <sys/types.h>
> > | #endif
> > | #ifdef HAVE_SYS_STAT_H
> > | # include <sys/stat.h>
> > | #endif
> > | #ifdef STDC_HEADERS
> > | # include <stdlib.h>
> > | # include <stddef.h>
> > | #else
> > | # ifdef HAVE_STDLIB_H
> > | #  include <stdlib.h>
> >
> >
> > Does anyone have a clue?
> >
> > Thanks and regards
> > Philipp
> >
> 
> ----
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list