[Linux-cluster] Problems building fence-agents from source
alanoe at linux.vnet.ibm.com
Thu Oct 23 15:55:21 UTC 2014
On 10/23/2014 01:45 PM, Benjamin Coddington wrote:
> On Thu, 23 Oct 2014, Alan Evangelista wrote:
>> On 10/23/2014 12:46 PM, Benjamin Coddington wrote:
>>> Hi Alan,
>>> I don't know how well the upstream fence-agents will work or build on
>>> CentOS 6.5, but I can tell you that the way to resolve this particular
>>> problem would be to find the m4 for AC_PYTHON_MODULE and drop it in
>>> build's m4/ directory..
>> I already see the m4 file in make/ac_python_module.m4. Copying/moving
>> file to m4 directory didnt solve the problem.
>> FYI this macro was introduced in a patch today (commit
>> Maybe the macro is broken?
>> AC_MSG_CHECKING(python module: $1)
>> python -c "import $1" 2>/dev/null
>> if test $? -eq 0;
>> eval AS_TR_CPP(HAVE_PYMOD_$1)=yes
>> eval AS_TR_CPP(HAVE_PYMOD_$1)=no
>> if test -n "$2"
>> AC_MSG_ERROR(failed to find required module $1)
>> exit 1
>> ] )
> Ah, looking at the second portion of your original error report now.. it
> looks like you have AC rules in your configure script. That indicates
> that configure wasn't correctly created.. delete your configure script
> and run autogen.sh again now that you have ac_python_module.m4 in the
> AC_CONFIG_MACRO_DIR (which is m4/).
That worked. I didn't know I had to run ./autogen.sh again after moving
file to the correct directory. I'll send an email in fence-agents-devel
incorrect directory of the new m4 file added today.
Thanks for the help!
More information about the Linux-cluster