pcp
[Top] [All Lists]

Re: [pcp] systemctl issue for QA on openSuSE 12.1

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] systemctl issue for QA on openSuSE 12.1
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 04 Sep 2014 14:01:13 +1000
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <331170978.43631950.1409792480924.JavaMail.zimbra@xxxxxxxxxx>
References: <54079C6B.9060901@xxxxxxxxxxxxxxxx> <1677609058.43609677.1409787232939.JavaMail.zimbra@xxxxxxxxxx> <5407AB2E.9080908@xxxxxxxxxxxxxxxx> <1999821436.43617708.1409788942661.JavaMail.zimbra@xxxxxxxxxx> <331170978.43631950.1409792480924.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
On 04/09/14 11:01, Nathan Scott wrote:
Hi Ken,

----- Original Message -----
[...]
Can you do a check build with "./Makepkgs --without-systemd" for
this host, and then check QA?  I'll go have a look at the configure
script to see how this became enabled with no unitdir path.

Hmm, I'm not able to trace how this happened.  We should be going
through the configure/m4 code snippet below, going via the I-have-
no-pcp_systemdunit_dir path, and arriving at enable_systemd=false,
as planned...


dnl Check for systemd services
enable_systemd=false
AS_IF([test "x$do_systemd" != "xno"], [
     enable_systemd=true

     PKG_CHECK_VAR([SYSTEMD_SYSTEMUNITDIR], [systemd], [systemdsystemunitdir],
         [pcp_systemdunit_dir=$SYSTEMD_SYSTEMUNITDIR], [enable_systemd=false])
     AC_SUBST(pcp_systemdunit_dir)
     if test -z "$pcp_systemdunit_dir"
     then
         if test "$do_systemd" = "yes"
         then
             AC_MSG_ERROR(cannot enable systemd support - no systemunitdir path)
         fi
         enable_systemd=false
     fi
])
AC_SUBST(enable_systemd)


Can you send the values of PCP_SYSTEMDUNIT_DIR (from pcp.conf) and
ENABLE_SYSTEMD (from builddefs) that we ended up with on this box?

thanks!

--
Nathan

After installing rpms from the Makepkgs --without-systemd effort.

kenj@vm02:~/src/pcp$ grep -r SYSTEMD /etc/pcp.conf /usr/include/pcp
/etc/pcp.conf:PCP_SYSTEMDUNIT_DIR=
/usr/include/pcp/builddefs:ENABLE_SYSTEMD = false
/usr/include/pcp/builddefs:SYSTEMD_CFLAGS=
/usr/include/pcp/builddefs:SYSTEMD_LIBS=
/usr/include/pcp/builddefs:PMDA_SYSTEMD=

Reverting to plain old Makepks, remaking and reinstalling and ...

kenj@vm02:~/src/pcp$ grep -r SYSTEMD /etc/pcp.conf /usr/include/pcp
/etc/pcp.conf:PCP_SYSTEMDUNIT_DIR=
/usr/include/pcp/builddefs:ENABLE_SYSTEMD = false
/usr/include/pcp/builddefs:SYSTEMD_CFLAGS=
/usr/include/pcp/builddefs:SYSTEMD_LIBS=
/usr/include/pcp/builddefs:PMDA_SYSTEMD=

As you suspected, no change and configure magic is good.

<Prev in Thread] Current Thread [Next in Thread>