My dinner plans have been delayed. So, here is the promised fix: $ diff -u autogen.pl~ autogen.pl --- autogen.pl~ 2013-12-20 18:01:21.000000000 -0800 +++ autogen.pl 2013-12-20 18:31:09.000000000 -0800 @@ -967,6 +967,9 @@ verbose "$indent_str"."Patching configure for IBM xlf libtool bug\n"; $c =~ s/(\$LD -shared \$libobjs \$deplibs \$)compiler_flags( -soname \$soname)/$1linker_flags$2/g;
+ verbose "$indent_str"."Patching configure for Libtool setting of dir variable\n"; + $c =~ s/( +)(ECHO="\$dir\/echo")/\1\2\n\1unset dir/; + open(OUT, ">configure.patched") || my_die "Can't open configure.patched"; print OUT $c; close(OUT); -Paul On Fri, Dec 20, 2013 at 6:04 PM, Paul Hargrove <phhargr...@lbl.gov> wrote: > As I indicated earlier today, the CMRed fix to push/pop "dir" in hwloc did > NOT fix the problem of configure failing after running autogen.pl on my > NetBSD-6/amd64 system. > > I've traced the problem to the following fragment from > _LT_PROG_ECHO_BACKSLASH in the NetBSD-provided libtool.m4: > lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR > for dir in $PATH /usr/ucb; do > IFS="$lt_save_ifs" > if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && > test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && > echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` > && > test "X$echo_testing_string" = "X$echo_test_string"; then > ECHO="$dir/echo" > break > fi > done > > I am hoping to generate an appropriate fix-up in autogen.pl if I can find > time. > However, I am sending this email to document my finding in case I don't > get back to this. > > -Paul > > > On Fri, Dec 20, 2013 at 6:49 AM, Jeff Squyres (jsquyres) < > jsquy...@cisco.com> wrote: > >> I just submitted a CMR to Brian to fix this: >> >> https://svn.open-mpi.org/trac/ompi/ticket/4015 >> >> >> On Dec 19, 2013, at 10:46 PM, Paul Hargrove <phhargr...@lbl.gov> wrote: >> >> > Probably nobody cares, but I'll report this for completeness. >> > In trying to understand the "make install" failure on NetBSD-6 I run >> "autogen.sh". >> > >> > The versions detected: >> > >> > Searching for autoconf >> > Found autoconf version 2.69; checking version... >> > Found version component 2 -- need 2 >> > Found version component 69 -- need 65 >> > ==> ACCEPTED >> > Searching for libtoolize >> > Found libtoolize version 2.2.6b; checking version... >> > Found version component 2 -- need 2 >> > Found version component 2 -- need 2 >> > Found version component 6b -- need 6b >> > ==> ACCEPTED >> > Searching for automake >> > Found automake version 1.13.1; checking version... >> > Found version component 1 -- need 1 >> > Found version component 13 -- need 12 >> > ==> ACCEPTED >> > >> > The problem is that when run, the generated configure script dies as >> follows: >> > >> > *** Java compiler >> > configure: WARNING: Found configure shell variable clash! >> > configure: WARNING: OPAL_VAR_SCOPE_PUSH called on "dir", >> > configure: WARNING: but it is already defined with value "/bin" >> > configure: WARNING: This usually indicates an error in configure. >> > configure: error: Cannot continue >> > >> > >> > -Paul >> > >> > -- >> > Paul H. Hargrove phhargr...@lbl.gov >> > Future Technologies Group >> > Computer and Data Sciences Department Tel: +1-510-495-2352 >> > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 >> > _______________________________________________ >> > devel mailing list >> > de...@open-mpi.org >> > http://www.open-mpi.org/mailman/listinfo.cgi/devel >> >> >> -- >> Jeff Squyres >> jsquy...@cisco.com >> For corporate legal information go to: >> http://www.cisco.com/web/about/doing_business/legal/cri/ >> >> _______________________________________________ >> devel mailing list >> de...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/devel >> > > > > -- > Paul H. Hargrove phhargr...@lbl.gov > Future Technologies Group > Computer and Data Sciences Department Tel: +1-510-495-2352 > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > -- Paul H. Hargrove phhargr...@lbl.gov Future Technologies Group Computer and Data Sciences Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900