Reuti,

My gcc is also in /usr/bin as gcc:

cloverm:~:[5]>which gcc
/usr/bin/gcc
cloverm:~:[6]>gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] [^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona -- with-tune=generic --program-prefix= --host=i686-apple-darwin8 -- target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)

I thought the " DISPLAY known" might have been some result of my .tcshrc file, so I started up sh in a terminal window before running configure and make, but I still get the same error

Michael Clover
mclo...@san.rr.com



On Oct 8, 2007, at 9:00 , users-requ...@open-mpi.org wrote:


Message: 2
Date: Mon, 8 Oct 2007 17:19:57 +0200
From: Reuti <re...@staff.uni-marburg.de>
Subject: Re: [OMPI users] ompi-1.2.4 fails to make on iMac (10.4.10)
To: Open MPI Users <us...@open-mpi.org>
Message-ID:
        <897b6169-808d-4581-a19b-4cb8da2e3...@staff.uni-marburg.de>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Am 07.10.2007 um 01:16 schrieb Michael Clover:

I was just trying to install openmpi-1.2.4 on a brand new iMac (2.4
GHZ Intel Core 2 Duo, 1GB RAM, OSX 10.4.10), having just loaded the
xtools environnment.  I am able to successfully run the configure,
but make dies instantly:

configure -prefix=/usr/local/openmpi --disable-mpi-cxx --disable-
mpi-f90 --without-xgrid FC=gfortran | tee config.out
...
config.status: executing depfiles commands
config.status: executing libtool commands
cloverm:~/bin/openmpi-1.2.4:[22]>make -j 4 |& tee make.out
Makefile:602: *** missing separator.  Stop.
cloverm:~/bin/openmpi-1.2.4:[23]>ls *.out
config.out      make.out
cloverm:~/bin/openmpi-1.2.4:[24]>tar -zcvf ompi-output.tar.gz *.log
*.out
config.log
config.out
make.out
cloverm:~/bin/openmpi-1.2.4:[25]>ld -v
Apple Computer, Inc. version cctools-622.5.obj~13

I have copied lines 599-609 from Makefile, so you can see that Make
is trying to run gcc, in a way that doesn't look correct

OMPI_AS_GLOBAL =
OMPI_AS_LABEL_SUFFIX =
OMPI_CC_ABSOLUTE =  DISPLAY known
/usr/bin/gcc

The "DISPLAY known" shouldn't be there. What is a plain:

which gcc

giving? Just /usr/bin/gcc as for me or something more?

-- Reuti


OMPI_CONFIGURE_DATE = Sat Oct  6 16:05:59 PDT 2007
OMPI_CONFIGURE_HOST = michael-clovers-computer.local
OMPI_CONFIGURE_USER = mrc
OMPI_CXX_ABSOLUTE =  DISPLAY known
/usr/bin/g++
OMPI_F77_ABSOLUTE = none
OMPI_F90_ABSOLUTE = none


Reply via email to