bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Sam Sirlin
Subject: Re: coreutils-5.96 doesn't build (out of the box)
Date: Tue, 30 May 2006 16:11:49 -0700 (PDT)

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

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

   >      /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: address@hidden







reply via email to

[Prev in Thread] Current Thread [Next in Thread]