Mantis - wxwidgetsgtk2
Viewing Issue Advanced Details
3030 other minor always 2009-01-21 21:40 2013-07-28 10:34
korpela  
laurent  
normal  
closed  
fixed  
none    
none  
0003030: wx-config doesn't function if /bin/grep is first in the path

The wx-config script uses the variable EGREP to hold the path to the egrep command. In current builds this is set to "grep -E". The solaris "/bin/grep -E" doesn't function properly, so in the usual case, where /bin/grep is first in the path, the script fails
Setting the variable to "ggrep -E" fixes the problem but adds a dependency on ggrep. "egrep" also appears to work, as does "/usr/xpg4/bin/grep -E". Putting /usr/xpg4/bin in the path in the script before /bin would also solve the problem.
Issue History
2009-01-21 21:40 korpela New Issue
2009-04-01 00:57 korpela Issue Monitored: korpela
2009-12-14 09:55 maciej Note Added: 0007089
2009-12-14 09:55 maciej Assigned To => maciej
2009-12-14 09:55 maciej Status new => acknowledged
2013-06-30 18:13 laurent Status acknowledged => assigned
2013-06-30 18:13 laurent Assigned To maciej => laurent
2013-06-30 18:14 laurent Note Added: 0010451
2013-07-28 10:34 laurent Status assigned => closed
2013-07-28 10:34 laurent Resolution open => fixed

Notes
(0007089)
maciej   
2009-12-14 09:55   
http://www.opencsw.org/userguide/ [^] says the following:

""" Setting your PATH
Put /opt/csw/bin first in your path!!"""

On the other hand, using gegrep instead wouldn't hurt. I'll fix it eventually, but it won't be my first priority.
(0010451)
laurent   
2013-06-30 18:14   
This has apparently been fixed upstream, as the content in the current version (2.8.12) is this:

EGREP="egrep"

I've not noticed any issue there, so I'll just close if nothing new comes up.