Re: coreutils-5.96 doesn't build (out of the box)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   Date: Tue, 30 May 2006 07:24:31 +0200
   From: Ralf Wildenhues <Ralf.Wildenhues@xxxxxx>

   * Sam Sirlin wrote on Mon, May 29, 2006 at 10:41:03PM CEST:
   >    From: Ralf Wildenhues <Ralf.Wildenhues@xxxxxx>

   >      /bin/bash --version
   >      echo $PATH
   >      type mkdir expr dirname basename
   > 
   > dirname is apparently the issue. I had an old dirname shell script
   > lying around from 1989 in my path (version 1.5). It worked well enough
   > for the old  2.59 configure, but not for the new one which seems to
   > use a new construction "dirname -- ..."

   Is your script home-grown or does it have some wider usage?  What does
   it output upon
     dirname -- /

It's old code from SVr2, so it may be lurking around on old systems. I
probably grabbed it someday before sun had added it in (sun4?). 

kalessin{sam} > old_dirname -- /
.

sun solaris 9 has apparently a shell script  v 1.7  (SVr4) that
behaves more like gnu:

kalessin{sam} > /usr/bin/dirname -- /
/

I've tried this and it works with the new configure.

   ?  I'm asking because maybe we can easily rule that out as non-working,
   maybe even just by
      if (as_d=`dirname -- /` && test "$as_d" = /) >/dev/null 2>&1; then
        echo good
      else
        echo bad
      fi

Sam Sirlin
Email: sam@xxxxxxxxxxxxxxxxxxxxx





_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux