Red Hat Bugzilla – Bug 38151
Kylix does not install on RH 7.1 because of bash2.04
Last modified: 2008-05-01 11:38:00 EDT
Kylix installer from Loki Games, crashes on RH7.1 after installing main
Because it can not successfully execute post install script main.sh on
the main.sh script (bash script) has -eq -gt operators which causes bash to
have this output :
main.sh: [: -gt: unary operator expected
main.sh: [: -eq: unary operator expected
No Problem with 6.2, 7.0 with glibc patches done. Also no problem on
nor Suse 7.1.
Please attach the script - can't figure out exactly what's going wrong without
seeing what they're trying to do.
I have passed this on to the Inprise bug tracking system; reference number is
Since -gt and -eq work perfectly in bash 2.04, I think this is related to
something else they're trying to do. It's almost certainly a case of
BLAH=`something that doesn't work and returns an empty value`
if [ $BLAH -gt 2 ]; then
Most likely, it's a hardcoded /usr/bin/cut somewhere; cut has moved to /bin.
Created attachment 16888 [details]
Kylix after install script =that has a problem
Ok, I'm now absolutely certain it's their bug and not ours. Their chklibc tool
returns an empty value.
Please report this to Borland/Inprise, we can't fix up their proprietary code.