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: Amer Ather <aather@xxxxxxxxxxx>
Date: Fri, 29 Aug 2014 10:56:57 -0700
Cc: "Frank Ch. Eigler" <fche@xxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OhV+scaAnI9mK5S27oZtJuXJamvklIaaX1troLuBYAQ=; b=bxQN4kigYZczwdIehLhbsYSjKbzF9iBfIw+wjYS0wRuGseEtd+D2g1F9t/Wd3UyVQJ e73J2gP2XBtLe2eqWGWBDABZNNDjwNpi3euRC81mLo6aj7aef3Gee6itOUDzHPFWLMkg tKbhx0G0OBScNpJDNCA+BQJCtfY/C8mUsegts=
In-reply-to: <53CEE6B6.2030507@xxxxxxxxxxxxxxxx>
References: <049e01cfa39a$33877480$9a965d80$@internode.on.net> <y0mha2bhnvd.fsf@xxxxxxxx> <53CDC475.3070407@xxxxxxxxxxxxxxxx> <20140722020437.GA20079@xxxxxxxxxx> <53CE056F.5070903@xxxxxxxxxxxxxxxx> <20140722113237.GB20079@xxxxxxxxxx> <53CEE6B6.2030507@xxxxxxxxxxxxxxxx>
Hi Ken and Frank,

Thanks for all your support during my absence. I came back from vacation this week. ÂToday, I attempted to build PCP package on Ubuntu Precise. As communicated in this email thread, I followed the steps below:

- Built and installed libmicrohttpd-0.9.34 from the source and then installed all the needed packages to build PCP:

# apt-get install -y gawk pkg-config debhelper libreadline-dev chrpath python-all python-all-dev libnspr4-dev libnss3-dev libsasl2-dev libmicrohttpd-dev libavahi-common-dev libqt4-dev autotools-dev

Downloaded PCP source from fche/pmwebd branch

# git clone git://sourceware.org/git/pcpfans.git origin/fche/pmwebd
# git branch -r
# git checkout fche/pmwebd
# ./configure
# makeÂ

configure found the required version of libmicrohttpd and pcp built Âfinished successfully. I see in the debian directory all these debian control and install, postinst .... files were generated.Â

I want to know how I can convert them into deb packages and what is needed to install these packages on a fresh precise system. I might have missed something in the instructions.Â

Appreciate for all your help.

Thanks,
Amer.


On Tue, Jul 22, 2014 at 3:33 PM, Ken McDonell <kenj@xxxxxxxxxxxxxxxx> wrote:
On 22/07/14 21:32, Frank Ch. Eigler wrote:
> Hi, Ken -
>
>> [...]
>> I think it is this commit that's not in your tree.
>
> That commit was actually in the branch (and I re-cherry-picked it
> as the only way to be sure, from orbit).

Hmm not that commit it would appear ... 8^)>

But this one 172e26d351295a65fe44e0616a4ea35defb7333c in the fche/pmwebd branch adds

usr/share/pcp/jsdemos

to the file debian/pcp-webapi.dirs and that causes the problem because the pcp package is already providing that directory ...

kenj@vm00:~/src/pcpfans/debian$ dpkg -S /usr/share/pcp/jsdemos
pcp: /usr/share/pcp/jsdemos

kenj@vm00:~/src/pcpfans/debian$ dpkg -l pcp
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name     ÂVersion    Description
+++-==============-==============-============================================
ii pcp      3.9.7     System level performance monitoring and perf




--
Thanks,

Amer Ather
Cloud Performance Engineering
<Prev in Thread] Current Thread [Next in Thread>