Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001344graphvizBuild/Installpublic2008-06-12 15:322011-04-28 04:03
ReporterMichael Bauer 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSSparc-Solaris-10OS Version
Summary0001344: graphviz-2.18/rtest/rtest.sh assumes ksh93
Description



graphviz-2.18/rtest/rtest.sh assumes that /bin/ksh is ksh93. On Solaris
10 (and, to my knowledge, any other recent version of Solaris), /bin/ksh
is ksh88.



The particular problem comes with



  typeset -A TESTTYPES



This produces the error



  typeset: bad option(s)



ksh88 does not support typeset -A; ksh93 does.



I am working around this by installing ATT's ksh93 in /usr/local/bin/ksh
and changing the #! invocation from /bin/ksh to /usr/local/bin/ksh.



There are likely other ksh93-isms in the script.



MJB
Steps To Reproduce

# cd graphviz-2.18/rtest
# ./rtest.sh
./rtest.sh[28]: typeset: bad option(s)
# head -1 rtest.sh
#! /bin/ksh
# head -28 rtest.sh | tail -1
typeset -A TESTTYPES
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1378
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (13 Jun 2008)
VERSION     2.18
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => erg


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker