This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 110296 - 'bin/netbeans' fails on solaris 10
Summary: 'bin/netbeans' fails on solaris 10
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All Solaris
: P2 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-19 14:21 UTC by ehucka
Modified: 2007-07-24 10:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2007-07-19 14:21:03 UTC
I found out command:

/usr/sbin/prtconf | grep Memory | /usr/xpg4/bin/tr -dc '[:digit:]'

has no output on some solaris 10 machines (sparc and x86).
Netbeans executed by bin/netbeans scripts ends by:
expr: syntax error
./netbeans: test: argument expected
Comment 1 pzajac 2007-07-19 15:02:07 UTC
Radim, can you look at it?
Comment 2 _ rkubacki 2007-07-23 06:37:00 UTC
Seems to be related to 106912. What machine? Is there /usr/sbin/prtconf? Is it executable? Does it report available memory?
Comment 3 ehucka 2007-07-23 07:42:38 UTC
e.g. on qa-t4u-sol2, qa-t4u-sol4
Command '/usr/sbin/prtconf | grep Memory' returns:
Memory size: 512 Megabytes

on these machines. /usr/xpg4/bin/tr exists there too.
Comment 4 _ rkubacki 2007-07-23 13:05:31 UTC
ide/launcher/unix/netbeans, 1.50

Locale sensitive tr is not producing expected results if no LANG or LC_* can be found. 
Comment 5 _ rkubacki 2007-07-23 13:07:54 UTC
This can affect localized environment
Comment 6 ehucka 2007-07-24 10:05:03 UTC
verified