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

    Default OX on SLES10 - no sasl2-bin???

    Hi I'm new at OX. Comming from SCALIX. But now I will change to OX.
    I have install an SLES10 SP1. Work well. (Ubuntu will not work on our brand new server, no idea why - no matter)
    Have work through the installation manual, but now I have a problem.
    The ist standing to install
    # sasl2-bin
    # libpam-mysql
    # libnss-mysql-bg
    but I can't find these packages.

    Can someone help??

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    those packages are not provided by SuSE/Novell as far as i know. You'll have to compile them yourself or use packages of another compatible rpm based distribution.

    welcome at open-xchange

  3. #3
    Gertjan Guest

    Default

    On OpenSUSE 10.3 it is not necessary to compile those packages. Maybe you can take a look at the OpenSUSE installer to find out which packages are used instead.

  4. #4
    sedeke Guest

    Default

    Hi and thanks for the fast replay.
    I have cyrus-sasl. Is this the same as sasl2-bin?
    If not whitch package can I use to compile?
    And where can I find libpam-mysql and libnss-mysql-bg which are able to compile on SLES10.
    I search for with google but didn't find realy one.

    Thanks for helping.

    Oh I forgot to say, I use the SLES10 SP1 64bit
    Last edited by sedeke; 01-13-2008 at 06:18 PM.

  5. #5
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

  6. #6
    sedeke Guest

    Default done

    Yes I found it. Also the nss-mysql. I look at the opensuse installer 10.3.
    Have compile nss-mysql against the lib64 of mysql. This seem to work.
    Ant i have installed directly from the apache ant page, Version 1.7. Work also well.
    sasl2-bin seem to replaced by cyrus-sasl. OK
    libnss-mysql-bg is not used in the openSuse installer. Seem not to be important.
    All necessary jar files I have also collected. Files which was not able to get in the right version I simply rename.
    Now donwload the OX from cvs and try to compile it. But get some errors.
    Code:
    # ant -Dlib.dir=/opt/open-xchange/lib install
    Buildfile: build.xml
    
    prepare:
    
    patchVersionJava:
         [copy] Copying 1 file to /source/open-xchange/src/com/openexchange/server
    
    compile:
        [javac] Compiling 843 source files to /source/open-xchange/build
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:123: warning: sun.net.ConnectionResetException is Sun proprietary API and may be removed in a future release
        [javac] import sun.net.ConnectionResetException;
        [javac]               ^
        [javac] /source/open-xchange/src/com/openexchange/groupware/ldap/LdapUtility.java:75: warning: com.sun.jndi.ldap.LdapName is Sun proprietary API and may be removed in a future release
        [javac] import com.sun.jndi.ldap.LdapName;
        [javac]                         ^
        [javac] /source/open-xchange/src/com/openexchange/monitoring/AbstractAgent.java:77: warning: com.sun.jmx.snmp.daemon.SnmpAdaptorServer is Sun proprietary API and may be removed in a future release
        [javac] import com.sun.jmx.snmp.daemon.SnmpAdaptorServer;
        [javac]                               ^
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:1802: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]                             final int[] matchSeqNums = imapFolder.getProtocol().search(searchTerm);
        [javac]                                                                  ^
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:3307: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]                                                     originalMsgFolder.getProtocol().uidexpunge(
        [javac]                                                                      ^
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:4380: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]                                     imapCon.getImapFolder().getProtocol().uidexpunge(IMAPUtils.toUIDSet(uids));
        [javac]                                                            ^
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:4430: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]                                             imapCon.getImapFolder().getProtocol().uidexpunge(IMAPUtils.toUIDSet(msgUIDs));
        [javac]                                                                    ^
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:4539: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]                                     imapCon.getImapFolder().getProtocol().uidexpunge(IMAPUtils.toUIDSet(msgUIDs));
        [javac]                                                            ^
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:5756: warning: sun.net.ConnectionResetException is Sun proprietary API and may be removed in a future release
        [javac]                     } else if (e.getNextException() instanceof ConnectionResetException) {
        [javac]                                                                ^
        [javac] /source/open-xchange/src/com/openexchange/groupware/ldap/LdapUtility.java:193: warning: com.sun.jndi.ldap.LdapName is Sun proprietary API and may be removed in a future release
        [javac]             return new LdapName(tmp);
        [javac]                        ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:208: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = fld.getProtocol();
        [javac]                                       ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:751: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = imapFolder.getProtocol();
        [javac]                                              ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:762: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = ((IMAPFolder) store.getDefaultFolder()).getProtocol();
        [javac]                                                                           ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:1102: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = imapFolder.getProtocol();
        [javac]                                              ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:1155: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = imapFolder.getProtocol();
        [javac]                                              ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:1210: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = imapFolder.getProtocol();
        [javac]                                              ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:1263: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = imapFolder.getProtocol();
        [javac]                                              ^
        [javac] /source/open-xchange/src/com/openexchange/imap/IMAPUtils.java:1340: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]             final IMAPProtocol p = imapFolder.getProtocol();
        [javac]                                              ^
        [javac] /source/open-xchange/src/com/openexchange/imap/command/FetchIMAPCommand.java:901: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]                     if (imapFolder.getProtocol().isREV1()) {
        [javac]                                   ^
        [javac] /source/open-xchange/src/com/openexchange/imap/command/FetchIMAPCommand.java:917: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
        [javac]                             command.append(craftHeaderCmd(imapFolder.getProtocol(), hdrs));
        [javac]                                                                     ^
        [javac] /source/open-xchange/src/com/openexchange/monitoring/AbstractAgent.java:314: warning: com.sun.jmx.snmp.daemon.SnmpAdaptorServer is Sun proprietary API and may be removed in a future release
        [javac]             final SnmpAdaptorServer adapter = new SnmpAdaptorServer();
        [javac]                   ^
        [javac] /source/open-xchange/src/com/openexchange/monitoring/AbstractAgent.java:314: warning: com.sun.jmx.snmp.daemon.SnmpAdaptorServer is Sun proprietary API and may be removed in a future release
        [javac]             final SnmpAdaptorServer adapter = new SnmpAdaptorServer();
        [javac]                                                   ^
        [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] 15 errors
        [javac] 7 warnings
    
    BUILD FAILED
    /source/open-xchange/build.xml:114: Compile failed; see the compiler error output for details.
    Any ideas what to do??

  7. #7
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi, are you sure you're using the correct version of javamail (1.4)? I heard some rumors that the most recent one (1.4.1) does produce such issues.

  8. #8
    sedeke Guest

    Default

    Thanks. You was right.
    Now I have only warnings.
    Shoud be this a problem?

    Code:
    # ant -Dlib.dir=/opt/open-xchange/lib install
    Buildfile: build.xml
    
    prepare:
    
    patchVersionJava:
         [copy] Copying 1 file to /source/open-xchange/src/com/openexchange/server
    
    compile:
        [javac] Compiling 823 source files to /source/open-xchange/build
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:123: warning: sun.net.ConnectionResetException is Sun proprietary API and may be removed in a future release
        [javac] import sun.net.ConnectionResetException;
        [javac]               ^
        [javac] /source/open-xchange/src/com/openexchange/groupware/ldap/LdapUtility.java:75: warning: com.sun.jndi.ldap.LdapName is Sun proprietary API and may be removed in a future release
        [javac] import com.sun.jndi.ldap.LdapName;
        [javac]                         ^
        [javac] /source/open-xchange/src/com/openexchange/monitoring/AbstractAgent.java:77: warning: com.sun.jmx.snmp.daemon.SnmpAdaptorServer is Sun proprietary API and may be removed in a future release
        [javac] import com.sun.jmx.snmp.daemon.SnmpAdaptorServer;
        [javac]                               ^
        [javac] /source/open-xchange/src/com/openexchange/api2/MailInterfaceImpl.java:5756: warning: sun.net.ConnectionResetException is Sun proprietary API and may be removed in a future release
        [javac]                     } else if (e.getNextException() instanceof ConnectionResetException) {
        [javac]                                                                ^
        [javac] /source/open-xchange/src/com/openexchange/groupware/ldap/LdapUtility.java:193: warning: com.sun.jndi.ldap.LdapName is Sun proprietary API and may be removed in a future release
        [javac]             return new LdapName(tmp);
        [javac]                        ^
        [javac] /source/open-xchange/src/com/openexchange/monitoring/AbstractAgent.java:314: warning: com.sun.jmx.snmp.daemon.SnmpAdaptorServer is Sun proprietary API and may be removed in a future release
        [javac]             final SnmpAdaptorServer adapter = new SnmpAdaptorServer();
        [javac]                   ^
        [javac] /source/open-xchange/src/com/openexchange/monitoring/AbstractAgent.java:314: warning: com.sun.jmx.snmp.daemon.SnmpAdaptorServer is Sun proprietary API and may be removed in a future release
        [javac]             final SnmpAdaptorServer adapter = new SnmpAdaptorServer();
        [javac]                                                   ^
        [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] 7 warnings
         [copy] Copying 2 files to /source/open-xchange/build
    
    jar:
          [jar] Building jar: /opt/open-xchange/lib/ox_server.jar
    
    check-msgfmt-executable:
    
    show-missing-msgfmt:
    
    create-lang-jar:
         [exec] Note: /tmp/msgdIJgNr/com/openexchange/groupware/i18n/ServerMessages_de_DE.java uses unchecked or unsafe operations.
         [exec] Note: Recompile with -Xlint:unchecked for details.
         [exec] Note: /tmp/msgFf3mTY/com/openexchange/groupware/i18n/ServerMessages_de.java uses unchecked or unsafe operations.
         [exec] Note: Recompile with -Xlint:unchecked for details.
         [exec] Note: /tmp/msgvifGeB/com/openexchange/groupware/i18n/ServerMessages_fr_FR.java uses unchecked or unsafe operations.
         [exec] Note: Recompile with -Xlint:unchecked for details.
         [exec] Note: /tmp/msgBcTo6b/com/openexchange/groupware/i18n/ServerMessages_fr.java uses unchecked or unsafe operations.
         [exec] Note: Recompile with -Xlint:unchecked for details.
          [jar] Building jar: /opt/open-xchange/lib/ox_languages.jar
    Thanks a lot for your help.

  9. #9
    Gertjan Guest

    Default

    On my OpenSUSE boxes I have the same warnings. For now it is doesn't seem to be a problem, just a warning. But in future releases of OX or OpenSUSE I think it will be.

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
  •