If this is an updated system (i.e., you updated the OS to Mavericks), did
you remember to re-install Xcode? Mavericks requires an updated version of
Xcode, and you have to reinstall the cmd line tools as well.



On Mon, Aug 11, 2014 at 1:11 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com
> wrote:

> Something is not right in your Xcode setup -- perhaps you need to install
> the Xcode command line tools?
>
> Here's the relevant config.log output:
>
> -----
> configure:5967: gcc -o conftest    conftest.c  >&5
> conftest.c:10:19: fatal error: stdio.h: No such file or directory
>  #include <stdio.h>
>                    ^
> compilation terminated.
> -----
>
> It can't even compile a trivial C program with <stdio.h> -- which means
> something is very borked with your local compiler installation.
>
>
>
> On Aug 11, 2014, at 4:04 PM, Yang, David <xy...@lanl.gov> wrote:
>
> > Jeff, Doug,
> >
> > I do have Xcode installed. Attached is the log file. Here again is the
> screen dump:
> >
> > [9]:yangmp:xyang:% ./configure --prefix=/opt/openmpi-1.8.1
> >
> >
> ============================================================================
> > == Configuring Open MPI
> >
> ============================================================================
> >
> > *** Startup tests
> > checking build system type... x86_64-apple-darwin13.3.0
> > checking host system type... x86_64-apple-darwin13.3.0
> > checking target system type... x86_64-apple-darwin13.3.0
> > 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... configure: error: in
> `/Users/xyang/programs/openmpi-1.8.1':
> > configure: error: cannot run C compiled programs.
> > If you meant to cross compile, use `--host'.
> > See `config.log' for more details
> >
> > Your help is really appreciated!
> >
> >
> > David
> >
> > Correspondence/TSPA
> >
> >
> >
> >
> >
> > On Aug 11, 2014, at 7:32 AM, Jeff Squyres (jsquyres) <jsquy...@cisco.com>
> wrote:
> >
> > > This usually indicates an error with the compiler on your machine.
> > >
> > > As Ralph implied, this may indicate that you don't have Xcode
> installed (and therefore don't have a compiler).
> > >
> > > You can look in config.log to be sure, or send it here (compress
> first, please), and we'll let you know.
> > >
> > >
> > > On Aug 10, 2014, at 12:20 PM, Yang, David <xy...@lanl.gov> wrote:
> > >
> > >> Hi,
> > >>
> > >> I have encountered a problem compiling openmpi 1.8.1 on a Mac running
> Mavericks. When I ran ./configure, I got the following error.
> > >>
> > >>
> ============================================================================
> > >> == Configuring Open MPI
> > >>
> ============================================================================
> > >>
> > >> *** Startup tests
> > >> checking build system type... x86_64-apple-darwin13.3.0
> > >> checking host system type... x86_64-apple-darwin13.3.0
> > >> checking target system type... x86_64-apple-darwin13.3.0
> > >> 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... configure: error: in
> `/Users/xyang/programs/openmpi-1.8.1':
> > >> configure: error: cannot run C compiled programs.
> > >> If you meant to cross compile, use `--host'.
> > >> See `config.log' for more details
> > >>
> > >> Could someone please help? Thanks!
> > >>
> > >>
> > >> David
> > >>
> > >> Correspondence/TSPA
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> users mailing list
> > >> us...@open-mpi.org
> > >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> > >> Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/08/24954.php
> > >
> > >
> > > --
> > > Jeff Squyres
> > > jsquy...@cisco.com
> > > For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
> > >
> > > _______________________________________________
> > > users mailing list
> > > us...@open-mpi.org
> > > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> > > Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/08/24970.php
> >
> > <config.log.bz2>_______________________________________________
> > users mailing list
> > us...@open-mpi.org
> > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> > Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/08/24981.php
>
>
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/08/24982.php
>

Reply via email to