Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] autogen error
From: Leonardo Fialho (lfialho_at_[hidden])
Date: 2008-06-19 11:51:09


Hi Ralf,

$ aclocal -I config
/usr/local/bin/m4:config/mca_no_configure_components.m4:9: ERROR: end of
file in string
autom4te: /usr/local/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
$

My line 9 have some characters more (I'm not m4, expert...):
m4_define(mca_backtrace_m4_config_component_list, [^[[00m^[[Kexecinfo,
^[[00m^[[Kprintstack, ^[[00m^[[Kdarwin, ^[[00m^[[Knone])

Actually most of then... but line 55 seems "good":
m4_define(mca_orte_framework_list, [errmgr, ess, filem, grpcomm, iof,
odls, oob, plm, ras, rmaps, rml, routed, snapc])

If I remove these strange characters from line 9 it works, and don't
need the [ ] (brackets?) around "mca_orte_framework_list".

Anybody knows why I have these characters in this file?

$ m4 --version
m4 (GNU M4) 1.4.11
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Rene' Seindal.

Leonardo

Ralf Wildenhues escribió:
> Hello Leonardo,
>
> * Leonardo Fialho wrote on Thu, Jun 19, 2008 at 04:29:30PM CEST:
>
>> [Running] aclocal -I config
>> /usr/local/bin/m4:config/mca_no_configure_components.m4:9: ERROR: end of
>> file in string
>> autom4te: /usr/local/bin/m4 failed with exit status: 1
>> aclocal: autom4te failed with exit status: 1
>>
>
> Go to the toplevel source directory.
> Run
> aclocal -I config
>
> to confirm that it's this one that is failing.
> Edit config/mca_no_configure_components.m4, changing line 9,
> m4_define(mca_backtrace_m4_config_component_list, [execinfo, printstack, darwin, none])
>
> into
> m4_define([mca_backtrace_m4_config_component_list], [execinfo, printstack, darwin, none])
>
> then rerun
> aclocal -I config
>
> to confirm that it's failing at line 10 or later only, now.
>
> I assume the file is being read by m4 twice, and that exposes the
> underquotation in it: it should be
> m4_define([name], [value])
>
> because otherwise, the second time, 'name' will be expanded before
> m4_define is called. Jeff, please fix this in autogen.sh.
>
> If I'm wrong, then I'd like to know
> /usr/local/bin/m4 --version
>
> Cheers,
> Ralf
>

-- 
Leonardo Fialho
Computer Architecture and Operating Systems Department - CAOS
Universidad Autonoma de Barcelona - UAB
ETSE, Edifcio Q, QC/3088
http://www.caos.uab.es
Phone: +34-93-581-2888
Fax: +34-93-581-2478