[Pacemaker] [PATCH] compile without libqb

Andrew Beekhof andrew at beekhof.net
Mon Jan 16 12:31:52 UTC 2012


On Mon, Jan 16, 2012 at 10:11 PM, Vladislav Bogdanov
<bubble at hoster-ok.com> wrote:
> Hi Andrew,
>
> pacemaker from your private repo does not compile without libqb again
> (b456827)

One second, I'll pull from ClusterLabs (the automated builder also
noticed the same problem)

>
> Following patch fixes that.
>
> --- a/lib/common/utils.c        2012-01-16 09:23:36.000000000 +0000
> +++ b/lib/common/utils.c        2012-01-16 09:23:49.681899538 +0000
> @@ -674,13 +674,13 @@
>     crm_enable_stderr(to_stderr);
>
>     logfile = getenv("HA_debugfile");
> +#if LIBQB_LOGGING
>     if(logfile) {
>         int fd = qb_log_file_open(logfile);
>         qb_log_filter_ctl(fd, QB_LOG_FILTER_ADD, QB_LOG_FILTER_FILE,
> "*", level);
>         qb_log_ctl(fd, QB_LOG_CONF_ENABLED, QB_TRUE);
>     }
>
> -#if LIBQB_LOGGING
>     /* Set the default log formats */
>     for(lpc = QB_LOG_SYSLOG; lpc < QB_LOG_TARGET_MAX; lpc++) {
>         set_format_string(lpc, crm_system_name, FALSE);
>
>
> Best,
> Vladislav
>
> _______________________________________________
> 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