pcp
[Top] [All Lists]

Re: [pcp] Build Errors on CentOS 4.8

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Build Errors on CentOS 4.8
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Tue, 13 Nov 2012 09:17:18 +1100
In-reply-to: <mailman.1.1352743202.242744.pcp@xxxxxxxxxxx>
References: <mailman.1.1352743202.242744.pcp@xxxxxxxxxxx>
Reply-to: chandana@xxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
Nathan,

I had to do a little bit more than that.

I had to comment out the whole PYTHON section, not just those few lines. Also the python bit in /rpm/pcp.spec.in

Thanks
On 13/11/12 05:00, pcp-request@xxxxxxxxxxx wrote:
I think this is a result of these lines from src/include/builddefs
(autogenerated from builddefs.in) -


ifeq "$(TARGET_OS)" "linux"
PYTHON_INSTALL = \
         $(AWK) '{print} /.pyc$$/ {sub(/.pyc$$/,".pyo"); print}' \
                 < $(TOPDIR)/python-pcp.list > $(TOPDIR)/python-pcp.list.rpm
else
...


If you comment that out, does the build proceed to completion?  If so,
we'll need to tighten up that "if linux" guard to be "if linux and not
rpm before a certain version".

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