Hi, Ken -
> [...]
> The build seems to proceed better with both the old and new libmicrohttpd
> installed, but ...
>
> 1. I still need this change or packages are not built.
>
> [...]
> - dh_shlibdeps 2>/dev/null # qmake doesn't allow a library list
> + dh_shlibdeps --exclude=pmwebd
> [...]
In this context, it seems as though you're trying to build a .deb file
whose constituents depend on the hand-built libmicrohttpd, but you
don't want that hand-build libmicrohttpd dependency represented. If
so, that sounds like a nasty hack (since people who install the .deb
without the same hand-built libmicrohttpd would get a failure to start
pmwebd).
If indeed it is impossible to update the baseos libmicrohttpd on this
platform, then perhaps a better solution would be to arrange to
include a bundled copy of libmicrohttpd along the pcp tarball, and
build/link them together. (I recall at one point, the code base -did-
have a bundled libmicrohttpd for just such reasons.)
Or else, for that platform only, disable pmwebd. (That could mean
requring a different build for old vs. new generations of
debian/ubuntu.)
> 2. When I try to install the resultant packages I see this (possibly
> unrelated) problem ...
>
> Selecting previously unselected package pcp-webapi.
> Unpacking pcp-webapi (from .../deb/pcp-webapi_3.9.7_amd64.deb) ...
> dpkg: error processing build/deb/pcp-webapi_3.9.7_amd64.deb (--install):
> trying to overwrite '/usr/share/pcp/jsdemos/GNUmakefile', which is also in
> package pcp 3.9.7
Just nuked the unused jsdemos/**/GNUmakefile's from the fche/pmwebd branch;
please let me know if that helps.
- FChE
|