pcp
[Top] [All Lists]

Re: [pcp] Some illumos build fixes for pmwebd

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Some illumos build fixes for pmwebd
From: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx>
Date: Thu, 11 Dec 2014 16:38:26 -0500
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20141211174931.GD1300@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20141211174931.GD1300@xxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
fche was kind enough to make the necessary changes to autodetect the
presence of fts.h.  I bundled those with my patch and pushed them to my repo:

You can pull the change via:

$ git pull git://repo.or.cz/pcp/jeffpc.git illumos


Thanks,

Jeff.


Josef 'Jeff' Sipek (1):
      pmwebd: buildability fixes for illumos-based distros

 configure                   |   12 ++++++++++++
 configure.ac                |    1 +
 src/include/pcp/config.h.in |    1 +
 src/pmwebapi/pmgraphite.cxx |   21 +++++++++++++++++----
 src/pmwebapi/pmresapi.cxx   |    2 +-
 src/pmwebapi/util.cxx       |    2 +-
 6 files changed, 33 insertions(+), 6 deletions(-)


On Thu, Dec 11, 2014 at 12:49:31PM -0500, Josef 'Jeff' Sipek wrote:
> I tried to compile pmwebd on my OpenIndiana (an illumos distro) laptop.  I
> ran into a couple of problems.  Attached is a patch to get it closer to
> building.  The remaining compile-time issue is the lack of fts (both fts.h
> and the functions).  Illumos does have ftw & nftw, but given that it'd be
> more than just a little bit of work, I decided to ignore that for now.
> 
> Jeff.
> 
> -- 
> A CRAY is the only computer that runs an endless loop in just 4 hours...

-- 
Evolution, n.:
  A hypothetical process whereby infinitely improbable events occur with
  alarming frequency, order arises from chaos, and no one is given credit.

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