----- Original Message -----
> Recent commits have added libmicrohttpd to the build dependencies.
>
> This is not available on all platforms, e.g. SuSE 12.1, CentOS 5.9, Mac
> OS X, ... and/or not installed on my machines.
>
> The non-RPM and non-dpkg builds seem to work ... or at least the build
> completes and the package does not contain pmwebd, but does contain the
> man page for pmwebd (I have just committed a small fix for this
> inconsistency).
>
> But for the RPM and dpkg builds the dependency is apparently hard-coded
> in the package specifications, and so the build dies a horrible death.
>
> Is this fixable?
Ideally, we want to enable this on as many platforms as possible. However
if that is not feasible somewhere, for pcp.spec.in we could propogate the
configure-generated enabled-or-not macro for microhttpd in.
> I really don't want to try and build libmicrohttpd from source on half a
> dozen (so far) machines.
*nod*, wouldn't want to build it - for Red Hat systems it is accessible in
EPEL, I use the attached yum repo for RHEL6 (/etc/yum.repos.d/epel.repo).
A couple of minor tweaks should do for the 5 variants.
I expect there will be similar add-on mechanisms for SuSE - perhaps DavidD
could point us in the right direction there.
For Debian, I had no trouble finding libmicrohttpd-dev - from a quick look
onpackages.debian.org it is in all their current distros (stable, testing
and unstable).
Haven't tackled Mac OS X yet, but it needs to be done. I also have a note
to revisit NSS-enabled builds on Mac OS X too, so we have a bigger problem
there. libmicrohttpd appears to have support for MinGW (as does NSS), but
I've not looked further than just code inspection for the Windows builds.
Frank did initially embed the code inside PCP ... but I had concerns about
the amount of code it pulled in, keeping uptodate with upstream, tracking
any CVEs ourselves, having to deal with Coverity reports on it, etc - but
if others prefer that, that is certainly an option we could discuss again.
cheers.
--
Nathan
epel.repo
Description: Binary data
|