MCSclimate / MCT

Model Coupling Tookit
Other
43 stars 18 forks source link

mpi-serial configure.in and autoconf 2.69 #6

Open rljacob opened 9 years ago

rljacob commented 9 years ago

After generating a configure from mpi-serial/configure.in with autoconf 2.69, an error occurs:

checking for ranlib... ranlib configure: error: cannot run /bin/sh ./../config.sub configure: error: ./configure failed for mpi-serial

autoconf 2.68 works fine.

rloy commented 9 years ago

rob,

it looks like "config.sub" is something in the top-level MCT autoconf setup... if you're invoking it from the top-level MCT, i didn't yet look into disconnecting it there...

for autoconf and configure of the new mpi-serial, just go into the mpi-serial subdir and do it there... autoconf; configure; make

ray

On Dec 5, 2014, at 6:01 PM, Robert Jacob notifications@github.com wrote:

After generating a configure from mpi-serial/configure.in with autoconf 2.69, an error occurs:

checking for ranlib... ranlib configure: error: cannot run /bin/sh ./../config.sub configure: error: ./configure failed for mpi-serial

autoconf 2.68 works fine.

— Reply to this email directly or view it on GitHub.

rljacob commented 9 years ago

The only place I have autoconf 2.69 is my mac laptop. That might be the problem but I got the same error.

CSI0350919:mpi-serial jacob$ autoconf -V autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.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 David J. MacKenzie and Akim Demaille.

CSI0350919:mpi-serial jacob$ autoconf configure.in > configure

CSI0350919:mpi-serial jacob$ ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking for ranlib... ranlib configure: error: cannot run /bin/sh ./../config.sub

rloy commented 9 years ago

this may be the problem:

https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html

On Dec 5, 2014, at 6:31 PM, Robert Jacob notifications@github.com wrote:

The only place I have autoconf 2.69 is my mac laptop. That might be the problem but I got the same error.

CSI0350919:mpi-serial jacob$ autoconf -V autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.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 David J. MacKenzie and Akim Demaille.

CSI0350919:mpi-serial jacob$ autoconf configure.in > configure

CSI0350919:mpi-serial jacob$ ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking for ranlib... ranlib configure: error: cannot run /bin/sh ./../config.sub

— Reply to this email directly or view it on GitHub.