[mpich-discuss] make install issue
Dave Goodell
goodell at mcs.anl.gov
Fri Feb 19 13:06:46 CST 2010
We apparently have a non-portable invocation of "ln -sf" in "src/env/
Makefile.sm". To try to get yourself un-stuck you can change line 20
of "src/env/Makefile.in" from:
-------8<------
cd ${DESTDIR}${bindir} && ln -sf mpicxx mpic++ ; fi
-------8<------
to:
-------8<------
cd ${DESTDIR}${bindir} && ln -f -s mpicxx mpic++ ; fi
-------8<------
(be careful to maintain the hard <TAB> at the beginning of the line)
After making that change you will need to re-run "configure" and "make
install".
-Dave
On Feb 19, 2010, at 12:58 PM, Tai Huynh wrote:
> I have attached the mi.txt file you requested. I did the re-
> configure, make, then make install all over again but still get this
> error message.
>
> -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 12:51 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] make install issue
>
> I don't think you copied enough output for us to tell what happened.
>
> Please run "make install 2>&1 | tee mi.txt" and send us the generated
> mi.txt file.
>
> -Dave
>
> On Feb 19, 2010, at 11:37 AM, Tai Huynh wrote:
>
>> 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
>> _______________________________________________
>> 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
> <mi.txt>_______________________________________________
> 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