Announcement

Collapse
No announcement yet.

build under RHEL/Centos

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • build under RHEL/Centos

    I have grabbed the src.rpm's for SP4 Beta1.
    When I try building the server package I get the following compiler errors.

    compile:
    [javac] Compiling 1247 source files to /usr/src/redhat/BUILD/open-xchange-server-6.5.0/build
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/org/w3c/tidy/Lexer.java:1280: warning: unmappable character for encoding US-ASCII
    [javac] if (doctype != null)// #473490 - fix by Bjšrn Hšhrmann 10 Oct 01
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/org/w3c/tidy/Lexer.java:1280: warning: unmappable character for encoding US-ASCII
    [javac] if (doctype != null)// #473490 - fix by Bjšrn Hšhrmann 10 Oct 01
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/org/w3c/tidy/Lexer.java:1280: warning: unmappable character for encoding US-ASCII
    [javac] if (doctype != null)// #473490 - fix by Bjšrn Hšhrmann 10 Oct 01
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/org/w3c/tidy/Lexer.java:1280: warning: unmappable character for encoding US-ASCII
    [javac] if (doctype != null)// #473490 - fix by Bjšrn Hšhrmann 10 Oct 01
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/com/openexchange/groupware/container/CalendarObject.java:139: cannot find symbol
    [javac] symbol : class String
    [javac] location: class com.openexchange.groupware.container.CalendarObjec t
    [javac] protected String title = null;
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/com/openexchange/groupware/container/CalendarObject.java:140: cannot find symbol
    [javac] symbol : class Date
    [javac] location: class com.openexchange.groupware.container.CalendarObjec t
    [javac] protected Date start_date = null;
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/com/openexchange/groupware/container/CalendarObject.java:141: cannot find symbol
    [javac] symbol : class Date
    [javac] location: class com.openexchange.groupware.container.CalendarObjec t
    [javac] protected Date end_date = null;
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/com/openexchange/groupware/container/CalendarObject.java:142: cannot find symbol
    [javac] symbol : class String
    [javac] location: class com.openexchange.groupware.container.CalendarObjec t
    [javac] protected String note = null;
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/com/openexchange/groupware/container/CalendarObject.java:145: cannot find symbol
    [javac] symbol : class Date
    [javac] location: class com.openexchange.groupware.container.CalendarObjec t
    [javac] protected Date recurrence_date_position = null;
    [javac] ^
    [javac] /usr/src/redhat/BUILD/open-xchange-server-6.5.0/src/com/openexchange/groupware/container/CalendarObject.java:147: cannot find symbol
    [javac] symbol : class Date
    [javac] location: class com.openexchange.groupware.container.CalendarObjec t
    [javac] protected Date[] change_exceptions = null;

    any suggestioins would be greatly appreciated.

  • #2
    problem solved

    It turned out to be a lack of memory problem with the compiler.
    export ANT_OPTS="-Xmx512m"
    fixed it.

    Comment

    Working...
    X