On 09/27/2011 04:10 PM, Dejan Muhamedagic wrote:
> Hi Andreas,
> 
> On Sun, Sep 04, 2011 at 11:22:39PM +0200, Andreas Mock wrote:
>> Hi all,
>>
>> I downloaded the current resource agent file with
>> git clone --depth=1 https://github.com/ClusterLabs/resource-agents/
>> After 
>> ./configure   --prefix=/usr/local --localstatedir=/var/local
>> make
>> make install
>>
>> I get the error 
>> /usr/local/etc/ha.d/shellfuncs: Zeile 96: 
>> /usr/lib/ocf/lib//heartbeat/ocf-shellfuncs: file or directory not found
>>
>> After manually corecting the path to
>> /usr/local /usr/lib/ocf/lib//heartbeat/ocf-shellfuncs
>> I get the error
>> /usr/local//usr/lib/ocf/lib//heartbeat/ocf-shellfuncs: Zeile 56: 
>> /usr/lib/ocf/lib/heartbeat/ocf-binaries: file or directory not
> 
> /usr/local//usr/lib/ocf looks wrong to me.
> 
> It seems like configure.ac has a problem in two places. Not
> sure, though. Fabio, can you please take a look at the attached
> patch. Not sure why do we need OCF_RA_DIR_PREFIX and
> OCF_LIB_DIR_PREFIX.

The patch in attachment is wrong, so please don't apply it.

we need both to make sure we can run fully automated build test suite.

make dist-check calls make test and so on. Not there yet but it was
planned at some point.

The issue with ocfroot (/usr/lib/ocf) it's the way it was/is hardcoded
everywhere and that needs a lot of special handling everywhere.

I am not even sure we want to allow anything else than /usr/lib/ocf
since other paths are not recognized at all.

Anyway I'll see if i can allow it, but the most important questions is
if it does make any sense...

Fabio
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to