Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 3 of 3
  1. #1
    TobiUlm Guest

    Default Installation / Compilation on CentOS 5.1

    Hello *,

    i try to install and compile Open-Xchange but with no success.
    I Installed everything described in the community installer guid. When i compile i get this errors

    i cannot post all results cause this forum allows not enogh text
    export ANT_OPTS="-Xmx512m"
    [root@mail open-xchange]# ant -Dlib.dir=/opt/open-xchange/lib install
    Buildfile: build.xml

    prepare:

    patchVersionJava:
    [copy] Copying 1 file to /tmp/open-xchange/src/com/openexchange/server

    compile:
    [javac] Compiling 1082 source files to /tmp/open-xchange/build
    [javac] /tmp/open-xchange/src/com/openexchange/sessiond/SessionObject.java:59: package javax.mail does not exist
    [javac] import javax.mail.MessagingException;
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/sessiond/SessionObject.java:60: package javax.mail does not exist
    [javac] import javax.mail.Session;
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/sessiond/SessionObject.java:75: package com.sun.mail.imap does not exist
    [javac] import com.sun.mail.imap.IMAPFolder;
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/sessiond/SessionObject.java:76: package com.sun.mail.imap does not exist
    [javac] import com.sun.mail.imap.Rights;
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/sessiond/SessionObject.java:124: cannot find symbol
    [javac] symbol : class Session
    [javac] location: class com.openexchange.sessiond.SessionObject
    [javac] private Session mailSession;
    [javac] ^
    ...

    /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:516: cannot find symbol
    [javac] symbol : class AddressException
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public void addBccAddress(final String addr) throws AddressException {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:520: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public void addBccAddresses(final InternetAddress[] addrs) {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:526: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public void setBcc(final Collection<InternetAddress> bcc) {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:531: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public Collection<InternetAddress> getCc() {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:535: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public InternetAddress[] getCcAsArray() {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:539: cannot find symbol
    [javac] symbol : class AddressException
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public void addCCAddress(final String addr) throws AddressException {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:543: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public void addCCAddresses(final InternetAddress[] addrs) {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:549: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public void setCc(final Collection<InternetAddress> cc) {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:554: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    [javac] public Collection<InternetAddress> getFrom() {
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/groupware/container/mail/JSONMessageObject.java:558: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class com.openexchange.groupware.container.mail.JSONMess ageObject
    ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 100 errors
    [javac] 7 warnings

    BUILD FAILED
    /tmp/open-xchange/build.xml:114: Compile failed; see the compiler error output for details.

    Total time: 26 seconds
    So my question is what did i wrong

    Does anybody know a howto for installing open xchange on CentOS 5.1

    thanx in advance

    happy easter

    Tobi

  2. #2
    Join Date
    Feb 2007
    Location
    Dortmund, Germany
    Posts
    168

    Default

    It seems, that the compiler is missing the mail.jar.
    Markus Wagner
    Open-Xchange Quality Assurance

  3. #3
    TobiUlm Guest

    Default

    Hi Markus,

    first of all thank you for your answer. The mail.jar is not missing. It was already there and i downloaded it today again and tried to compile again. Same error. The only difference between my OS Setup and the Wiki install guide is that I'm using JAVA JDK 1.6. Is this the problem? I recognized that in JDK 1.6 the activation.jar is not needed because its included in JAVA 6 SE.

    Greetings from Lower Bavaria

    Tobi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •