We've seen this before - it's caused by using autotools that are too old. Please look at the HACKING file to see the required version levels.
BTW: you should not be running autogen.sh on a tarball version. You should only run configure.
On Oct 31, 2012, at 1:31 PM, David Shrader <dshrader_at_[hidden]> wrote:
> When using Open MPI from the 1.6.3 tarball, I have found that running the top-level autogen.sh breaks the romio component. Here are the steps to reproduce:
> 1) download openmpi-1.6.3.tar.bz2 from http://www.open-mpi.org/software/ompi/v1.6/
> 2) untar openmpi-1.6.3.tar.bz2
> 3) cd openmpi-1.6.3
> 4) ./autogen.sh
> 5) ./configure
> In configure's output, the following error can be seen:
> ...output snipped...
> *** Configuring ROMIO distribution
> configure: OMPI configuring in ompi/mca/io/romio/romio
> configure: running /bin/sh './configure' CFLAGS="-DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -pthread" CPPFLAGS=" -I/users/dshrader/tmp/openmpi-1.6.3/opal/mca/hwloc/hwloc132/hwloc/include -I/usr/include/infiniband -I/usr/include/infiniband" FFLAGS="" LDFLAGS=" " --enable-shared --disable-static --with-mpi=open_mpi --disable-aio --cache-file=/dev/null --srcdir=. --disable-option-checking
> Configuring with args CFLAGS=-DNDEBUG -g -O2 -finline-functions -fno-strict-aliasing -pthread CPPFLAGS= -I/users/dshrader/tmp/openmpi-1.6.3/opal/mca/hwloc/hwloc132/hwloc/include -I/usr/include/infiniband -I/usr/include/infiniband FFLAGS= LDFLAGS= --enable-shared --disable-static --with-mpi=open_mpi --disable-aio --cache-file=/dev/null --srcdir=. --disable-option-checking
> checking for Open MPI support files... in Open MPI source tree -- good
> ./configure: line 2805: PAC_PROG_MAKE: command not found
> ...output snipped...
> ./configure: line 7908: syntax error near unexpected token `newline'
> ./configure: line 7908: ` PAC_FUNC_NEEDS_DECL(#include <string.h>,strdup)'
> configure: /bin/sh './configure' *failed* for ompi/mca/io/romio/romio
> configure: WARNING: ROMIO distribution did not configure successfully
> checking if MCA component io:romio can compile... no
> ...remaining output snipped...
> None of the MPI/IO components work, including ufs, if I continue with a 'make' and 'make install'.
> Judging from the output from configure and a quick perusal of romio's configure script, it looks like some macros are not being correctly expanded in the creation of romio's configure script.
> For reference, here are the versions of my autotools:
> m4: 1.4.16
> autoconf: 2.69
> automake: 1.11.5
> libtool: 2.4.2
> I have not yet submitted this as a Trac item on svn.open-mpi.org. I wasn't sure what to put in the "Version" field as 1.6.3 wasn't listed there and I don't know if this is an issue in the 1.6 branch.
> Thank you very much for your time,
> David Shrader
> SICORP, Inc
> 1350 Central Ave
> Suite 104
> Los Alamos, NM 87544
> LANL contact information:
> LANL #: 505-664-0996
> LANL email: dshrader_at_[hidden]
> devel mailing list