From: Ben Kao <bkao@eecs.uic.edu>
Newsgroups: comp.parallel.mpi
Subject: Re: prob compiling mpich on RH6.0
Date: Fri, 16 Jul 1999 14:53:57 -0500
Organization: University of Illinois at Chicago
Message-Id: <378F8DD4.FD3CD641@eecs.uic.edu>
References: <378F60E8.55BB1548@eecs.uic.edu>
    <Pine.SOL.3.96.990716141339.7411A-100000@herald.cc.purdue.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:5346


yes, I do the following:

./configure -prefix=/usr/local/mpi  ; make ; make install

and it dies in the first few lines of the  make install.

I have had no problems earlier w/ redhat 5.2.  I'm thinking maybe it's b/c of
the egcs compiler. Before I had always used good old, tried and true
gcc2.whatever and I never had any problems.

- ben


Josh Guffin wrote:

> Did you do a ./configure and a make first?
>
> > bkao@laslo:/tmp/mpich# make install
> > ./util/mpiinstall -prefix=/usr/local/mpi
> > Attempting to build ch_p4 secure server
> > cc -I../include -I../../../../include    -DHAVE_NETINET_IN_H=1
> > -DHAVE_ARPA_INET_H=1 -DHAVE_SYS_SOCKETVAR_H=1 -DHAVE_STDLIB_H=1
> > -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1
> > -DHAVE_TERMIO_H=1 -DHAVE_TERMIOS_H=1 -DBOTH_STRING_INCS=1 -DUSE_STDARG=1
> > -DHAVE_SIGACTION=1 -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1 -DNO_ECHO=1
> > -DHAVE_XDRMEM_CREATE=1    -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1
> > -DHAVE_SYS_SOCKETVAR_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
> > -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIO_H=1
> > -DHAVE_TERMIOS_H=1 -DBOTH_STRING_INCS=1 -DUSE_STDARG=1
> > -DHAVE_SIGACTION=1 -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1 -DNO_ECHO=1
> > -DHAVE_XDRMEM_CREATE=1 -c serv_p4.c
> > serv_p4.c:136: initializer element is not constant
> > serv_p4.c:138: initializer element is not constant
> > serv_p4.c:140: initializer element is not constant
> > make[1]: *** [serv_p4.o] Error 1
> > **File mpid/ch_p4/p4/bin/serv_p4 does not exist (or is not a regular
> > file)!
> > make: *** [install] Error 1

