[mpich-discuss] make install issue

Tai Huynh thuynh at vni.com
Fri Feb 19 11:37:19 CST 2010


That resolved the error for the install-sh but I'm getting another one:
*** Error code 1
make: Fatal error: Command failed for target `install-postamble'
Current working directory /build/FNL7/tai/mpich2-1.2.1/src/env
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /build/FNL7/tai/mpich2-1.2.1/src/env
*** Error code 1
make: Fatal error: Command failed for target `install'


-Tai



-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dave Goodell
Sent: Friday, February 19, 2010 11:25 AM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] make install issue

It doesn't look like the problem is coming from MKDIR_P (although  
reading that macro I think I just spotted a separate bug there too).   
The problem is that our makefile is using "INSTALL_DATA=confdb/install- 
sh" as determined by AC_PROG_INSTALL [1] in a subdirectory.  Because  
this is a relative path, when the make process changes directories it  
can no longer find the program.  Even worse than this being a relative  
path, it's a relative path with an implicit current directory (there  
is no explicit "." at the start).

I suspect this happens because your machine doesn't have a proper  
"install" program written in C, so it falls back to using the included  
"install-sh".  We do all of our testing on platforms with working  
"install" programs, so we never see this case.

The short term workaround for you is to re-configure and pass  
"INSTALL=MPICH2_SOURCE_DIR/confdb/install-sh", replacing  
"MPICH2_SOURCE_DIR" with a real path to the MPICH2 source  
distribution.  I'll file a new ticket to remind us to fix this up  
somehow.

-Dave

[1] http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fPROG_005fINSTALL-262

On Feb 19, 2010, at 8:48 AM, Tai Huynh wrote:

> When I do a make install and it fails because confdb/install-sh is  
> not found.
>
> My mpich2-1.2.1 already have the fix of r5801 (AC_PROG_MKDIR_P is  
> broken; it's using a version check on
> mkdir to figure out whether to use "mkdir -p", instead of something
> else. Also added a comment explaining this issue.).
> https://trac.mcs.anl.gov/projects/mpich2/ticket/939
>
> I am running on a:
> SunOS stratego 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-V240
> f95: Sun Fortran 95 8.3 SunOS_sparc Patch 127000-01 2007/07/18
>
> Thank you for you help,
>
> Tai Huynh
> <install.txt>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list