Bug 2791 - Cannot build frysk-gui CVS head on RHEL4
Summary: Cannot build frysk-gui CVS head on RHEL4
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2004
  Show dependency treegraph
 
Reported: 2006-06-16 19:49 UTC by Stan Cox
Modified: 2006-07-11 16:00 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stan Cox 2006-06-16 19:49:39 UTC
(Needed to do GUADEC demo)

 gcj4 -I../../../src/frysk-gui -I. -I./../frysk-gtk/frysk-gtk.jar
-I./../frysk-core/frysk-core.jar -I./../frysk-sys/frysk-sys.jar
-I./../frysk-imports/antlr.jar -I./../frysk-imports/frysk-imports.jar
-I./../frysk-imports/jdom.jar -I./../frysk-imports/junit.jar
-I./../frysk-imports/jargs.jar -I./../frysk-gtk/tlwidgets/ftk.jar
-I/usr/share/frysk/java/gtk2.8-2.8.3.jar
-I/usr/share/frysk/java/glade2.12-2.12.2.jar
-I/usr/share/frysk/java/glib0.2-0.2.3.jar
-I/usr/share/frysk/java/cairo1.0-1.0.2.jar
-I/usr/share/frysk/java/vte0.11-0.11.11.jar -I/usr/lib -Werror -Wall -fPIC  -g
-O -MT frysk/gui/monitor/filters/Filter.o -MD -MP -MF "$depbase.Tpo" -c -o
frysk/gui/monitor/filters/Filter.o
../../../src/frysk-gui/frysk/gui/monitor/filters/Filter.java
../../../src/frysk-gui/frysk/gui/monitor/filters/Filter.java: In class
'frysk.gui.monitor.filters.Filter':
../../../src/frysk-gui/frysk/gui/monitor/filters/Filter.java: In method
'frysk.gui.monitor.filters.Filter.load(org.jdom.Element)':
../../../src/frysk-gui/frysk/gui/monitor/filters/Filter.java:93: error: Can't
find method ‘parseBoolean(Ljava/lang/String;)’ in type ‘java.lang.Boolean’.
               
this.setFilterBoolean(Boolean.parseBoolean(node.getAttributeValue("filterBoolean")));
                                                ^
1 error
Comment 1 Andrew Cagney 2006-06-16 22:22:50 UTC
CVS head requires gcc 4.1 which is being included in RHEL 4.4.
Comment 2 Stan Cox 2006-06-19 14:44:24 UTC
Does RHEL4.4 contain the 1.5 features String.contains and Boolean.parseBoolean?
Comment 3 Andrew Cagney 2006-06-19 15:40:13 UTC
(In reply to comment #2)
> Does RHEL4.4 contain the 1.5 features String.contains and Boolean.parseBoolean?

I don't know.  I think it would be safer to assume Java 1.4.x features only though.
Comment 4 Stan Cox 2006-06-19 18:37:43 UTC
<stan> are Boolean.parseBoolean and string.contains in RHEL4.4?  (they are in
FC5 but not RHEL4.3)
<tromey> seems unlikely.  we don't do many gcj updates in rhel

Comment 5 Stan Cox 2006-06-19 19:50:27 UTC
Just for the record, I tried this with  RHEL4.4's gcj4 (GCC) 4.1.0 2006041 and
it is implemented.
public class  checklibgcj {
    public static void main (String[] argv) {
        boolean b0;
        String s = "abc";
        b0 = Boolean.parseBoolean("true");
        b0 = s.contains ("xyz");
    }
}
Comment 6 Andrew Cagney 2006-07-11 16:00:12 UTC
Per schedule, Jakub updated RHEL 4's gcc4 technology preview to 4.1.