[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: shtool hangs on Solaris (ITS#2134)



I found a fix for this on my own, actually.  I commented out the
following lines (lines 286 and 287 in shtool):
#   parse option alias string
#eval `echo h:help,$opt_alias |\
#      tr 'x-' 'x_' | sed -e
's/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g'`

For some reason that hung it... maybe a problem with Sun's sed as versus
GNU's.  I'll have to try the default copy with GNU sed on Solaris some
time.  For now, I hope this might be some help to others.  Thanks.  

"Kurt D. Zeilenga" wrote:
> 
> OpenLDAP Software incorporates GNU shtool 1.6.0 (which has
> been shtoolized for our needs).  As you were able to isolate
> the issue to shtool(1), the issue should be reported to the
> shtool maintainers as they are better suited to diagnose the
> problem and, if appropriate, provide a fix and/or workaround.
> Information on shtool bug reporting can be found at
> <http://www.gnu.org/software/shtool/>.
> 
> As it is not our practice to track issues in software maintained
> by others, this report will be closed.  A new issue should be
> opened if and when an updated shtool(1) is made available which
> address this problem.
> 
> Kurt
> 
> At 09:20 AM 2002-10-09, mdh@mdh.si.edu wrote:
> >Full_Name: Matt Harris
> >Version: 2.1.5
> >OS: Solaris 8
> >URL:
> >Submission from: (NULL) (160.111.223.22)
> >
> >
> >The build/shtool script hangs on Solaris 8.  Not sure why.  The ./configure
> >script
> >was hanging on me when I tried to run it, so I tracked down the problem to the
> >commands:
> >
> >TB=`$SHTOOL echo -e %B`
> >TN=`$SHTOOL echo -e %b`
> >
> >in the configure script.
> >I tried running shtool manually from the command line with those same arguments,
> >and
> >it also froze.  I then tried it on a FreeBSD system, and it worked perfectly
> >fine.
> >Thanks for any help you can render, Matt.

-- 
/*
 *
 * Matt Harris - Senior UNIX Systems Engineer
 * Smithsonian Institution, OCIO
 *
 */