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.
|