pcp
[Top] [All Lists]

Re: PCP build on Ubuntu Precise (kernel 3.2) - [solved]

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: PCP build on Ubuntu Precise (kernel 3.2) - [solved]
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Mon, 21 Jul 2014 22:04:37 -0400
Cc: "'Amer Ather'" <aather@xxxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <53CDC475.3070407@xxxxxxxxxxxxxxxx>
References: <049e01cfa39a$33877480$9a965d80$@internode.on.net> <y0mha2bhnvd.fsf@xxxxxxxx> <53CDC475.3070407@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.4.2.2i
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

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