pcp
[Top] [All Lists]

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

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: PCP build on Ubuntu Precise (kernel 3.2) - [solved]
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 22 Jul 2014 16:32:15 +1000
Cc: 'Amer Ather' <aather@xxxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20140722020437.GA20079@xxxxxxxxxx>
References: <049e01cfa39a$33877480$9a965d80$@internode.on.net> <y0mha2bhnvd.fsf@xxxxxxxx> <53CDC475.3070407@xxxxxxxxxxxxxxxx> <20140722020437.GA20079@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
G'day Frank.

On 22/07/14 12:04, Frank Ch. Eigler wrote:
> ...
> 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).

I agree ... I am not sure what Amer's goal is, so I think we should wait for 
his input.  Whatever the goal, I suspect it will be a local "special" for them, 
and not intended for general consumption.

> ...
> Or else, for that platform only, disable pmwebd.  (That could mean
> requring a different build for old vs. new generations of
> debian/ubuntu.)

It does not need to be special ... the existing configure magic takes care of 
this ... which is why I had not seen build failures on this platform before 
playing with hand built libmicrohttpd.

> 
>> 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.

No that's not the problem.

I think it is this commit that's not in your tree.

commit fe9e3170eda4d45906999d916b4117a300a01d0f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 27 08:24:33 2014 +1100

    debian packaging - minor dirs control issue
    
    pcp-webapi.dirs contained the wrong directory list ... seems to have
    been copied from pcp-manager.dirs .. fix to match pcp-webapi package.



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