Bug 38151 - Kylix does not install on RH 7.1 because of bash2.04
Summary: Kylix does not install on RH 7.1 because of bash2.04
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash
Version: 7.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL: www.borland.com/kylix
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-28 03:08 UTC by Hakan TERZIOGLU
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-04-30 20:10:07 UTC
Embargoed:


Attachments (Terms of Use)
Kylix after install script =that has a problem (15.56 KB, text/plain)
2001-04-30 20:10 UTC, Hakan TERZIOGLU
no flags Details

Description Hakan TERZIOGLU 2001-04-28 03:08:11 UTC
Kylix installer from Loki Games, crashes on RH7.1 after installing main
package RPM.
Because it can not successfully execute post install script main.sh on
/CD_ROOT/setup.data/
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
linux-Mandrake 8.0
nor Suse 7.1.

Comment 1 Bernhard Rosenkraenzer 2001-04-30 16:55:29 UTC
Please attach the script - can't figure out exactly what's going wrong without 
seeing what they're trying to do.


Comment 2 Bernhard Rosenkraenzer 2001-04-30 17:15:44 UTC
I have passed this on to the Inprise bug tracking system; reference number is 
463612.

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
	something
fi

Most likely, it's a hardcoded /usr/bin/cut somewhere; cut has moved to /bin.



Comment 3 Hakan TERZIOGLU 2001-04-30 20:10:03 UTC
Created attachment 16888 [details]
Kylix after install script =that has a problem

Comment 4 Bernhard Rosenkraenzer 2001-04-30 20:32:13 UTC
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.




Note You need to log in before you can comment on or make changes to this bug.