pcp
[Top] [All Lists]

Few build issues

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: Few build issues
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Sun, 18 Oct 2015 16:39:04 +0300
Delivered-to: pcp@xxxxxxxxxxx
Organization: Red Hat
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
Hi,

I'm seeing few build issues on RHEL 7.1 with a freshly cloned git tree:

1) configure --help says

  --srcdir=DIR  find the sources in DIR [configure dir or `..']

but configure checks for existence of ./VERSION.pcp so either the check
or --srcdir would seem to be outdated (if the point was to support the
srcdir != builddir case). Copying the file to the builddir doesn't help
as configure machinery doesn't create a makefile locally and also make
-f fails. Perhaps srcdir == builddir is expected?

2) configure --with-static-probes=no never finishes as it launches
yes(1) when doing the AC_HEADER_TIOCGWINSZ check - dropping
--with-static-probes=no or moving the check before the static probes
check makes the issue to go away. Related to this, looks like pmieconf
and pmstat are using TIOCGWINSZ conditionally but pcp-atop unconditionally.

3) make install fails without --with-systemd=no as otherwise the
following is tried (even with something like --prefix=/tmp/foo):

rm: cannot remove â/usr/lib/systemd/system/pmcd.serviceâ: Permission denied
cp: cannot create regular file â/usr/lib/systemd/system/pmcd.serviceâ:
Permission denied

Thanks,

-- 
Marko Myllynen

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