pcp
[Top] [All Lists]

Re: [pcp] Building on OpenSuse 11.2

To: "Hearns, John" <john.hearns@xxxxxxxxxxx>
Subject: Re: [pcp] Building on OpenSuse 11.2
From: Max Matveev <makc@xxxxxxxxx>
Date: Tue, 7 Sep 2010 23:20:02 +1000
Cc: <pcp@xxxxxxxxxxx>
In-reply-to: <68A57CCFD4005646957BD2D18E60667B11B4584B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <68A57CCFD4005646957BD2D18E60667B11B4584B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Tue, 7 Sep 2010 13:22:07 +0100, John Hearns wrote:

 JH> There is a requirement for initscripts, which is not available
 JH> for SuSE.  Forgive me if I am missing something, and there is an
 JH> equivalent package I should instal on SuSE which does the same
 JH> thing.

SuSE (Novell) calls their equivalent sysconfig - there is a line in
build/rpc/pcp.spec.in which is supposed to select it when building on
SuSE-derived systems. If it doesn't then you have three options:

1. Figure out what rpm vendor is set to and post a patch which will
   add it to that pcp.spec.in bit - use rpmbuild --showrc and grep for
   vendor.

2. Remove the selection lines and just leave the one which says
   sysconfig, i.e. replace

%if "%{_vendor}" == "suse"
Requires: sysconfig
%else
Requires: initscripts
%endif

    with

Requires: sysconfig

   This is assuming that it is still called sysconfig - rpm -qa is
   your friend here. That should give your the packages you can
   install and use until #3 becomes available.

3. Wait for someone here to install OpenSuSE and build the packages.


max

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