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 11:55:01 +1000
Cc: 'Amer Ather' <aather@xxxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0mha2bhnvd.fsf@xxxxxxxx>
References: <049e01cfa39a$33877480$9a965d80$@internode.on.net> <y0mha2bhnvd.fsf@xxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 21/07/14 04:43, Frank Ch. Eigler wrote:
> 
> Hi -
> 
> I pushed a patch to fche/pmwebd to use the pkgconfig system to extract
> a hand-built libmicrohttpd install's include/lib directories.  This
> should work even if the system's libmicrohttpd is in the way and is
> too old.

Thanks Frank.

I tried your recipe using your pcpfans tree.

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.

--- a/debian/rules
+++ b/debian/rules
@@ -212,7 +212,7 @@ binary-arch: checkroot build-stamp
        dh_perl -p $(pcp_import_sheet)
        dh_perl -p $(pcp_import_iostat)
        dh_installdeb
-       dh_shlibdeps 2>/dev/null        # qmake doesn't allow a library list
+       dh_shlibdeps --exclude=pmwebd
        dh_gencontrol 2>/dev/null       # squash the python:Versions warning
        dh_md5sums

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


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