Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default [SOLUTION] Unable to compile open-xchange-admin-gui-ee (since mid-january)

    Hi Folks,

    there were a lot of postings regarding the compilation issue of the admin gui servlets. Those issues were triggered by Import statements refering to code which is not shipped via the public cvs. Sorry for that, and we are already aware of this issue so i guess it will work again in soon future. As long this issue occurs you may use the following workaround:

    Instead of checking out bf_6_4, please check out a previous date (i tested 15.12.2007 and it works for me):

    Code:
    cvs -Q -d:pserver:anonymous@www.open-xchange.com:/cvsroot co -D 12/15/2007 open-xchange-admin-gui-ee
    If you are using the community edition installer, please keep in mind that the install script cleans up some stuff at /tmp (default build directory) before checking out the sources. For the debian/ubuntu installers you'll need the following modifications:

    1. Remove the cvs entry for "open-xchange-admin-gui-ee" (the whole line at the top of the script).
    Code:
    REPOSITORY=("open-xchange"
    	    "open-xchange-admin"
    	    "open-xchange-admin-console-ee"
    	    "open-xchange-admin-plugin-imap"
    	    "open-xchange-admin-plugin-mail"
    	    "open-xchange-admin-plugin-mailfilter"
    	    "open-xchange-admin-plugin-context_light"
    	    "open-xchange-admin-plugin-ca_mgmt_simple"
    	    "open-xchange-admin-plugin-osconfig"
    	    "open-xchange-admin-plugin-services"
    	    "open-xchange-admin-plugin-sw-update"
    	    "open-xchange-admin-plugin-backup"
    	    "-r HEAD json-jdk15"
    	    "-r bf_6_4_2 open-xchange-gui"
    	    "open-xchange-admin-gui-ee"        <-------------- Remove this line
    	    "open-xchange-admin-gui-ee-ajax"
    	    "open-xchange-admin-gui-ee-templates")
    2. Uncomment the "cleanup" commands at line 174 and 297
    Code:
    rm -rf $SRC_DIR/open-xchange*
    3. Checkout the code manually to /tmp - just like shown above
    Code:
    cd /tmp
    cvs -Q -d:pserver:anonymous@www.open-xchange.com:/cvsroot co -D 12/15/2007 open-xchange-admin-gui-ee
    4. Run the installer - but note that removing the cleanup stuff will cause problems when updating, you'll have to clean the /tmp/open-xchange* directories manually before executing a re-installation or a update.

    Greetings.



    btw. I'll not change anything to the installer, this is clearly a issue at the sourcecode and not at the installation method. Hopefully it will be fixed soon.
    Last edited by Martin Heiland; 01-30-2008 at 01:48 AM.

  2. #2
    sedeke Guest

    Thumbs up

    Yep it work.

    Thanks

  3. #3
    woodart Guest

    Default

    Hello, I found this solution to be a bit confusing.
    First, the cleanup commands weren't commented in my script.
    Second, why not just comment line 32 (open-xchange-admin-gui-ee)
    Code:
    REPOSITORY=("open-xchange"
    	    "open-xchange-admin"
    	    "open-xchange-admin-console-ee"
    	    "open-xchange-admin-plugin-imap"
    	    "open-xchange-admin-plugin-mail"
    	    "open-xchange-admin-plugin-mailfilter"
    	    "open-xchange-admin-plugin-context_light"
    	    "open-xchange-admin-plugin-ca_mgmt_simple"
    	    "open-xchange-admin-plugin-osconfig"
    	    "open-xchange-admin-plugin-services"
    	    "open-xchange-admin-plugin-sw-update"
    	    "open-xchange-admin-plugin-backup"
    	    "-r HEAD json-jdk15"
    	    "-r bf_6_4_2 open-xchange-gui"
    	    #"open-xchange-admin-gui-ee" <--- comment this
    	    "open-xchange-admin-gui-ee-ajax"
    	    "open-xchange-admin-gui-ee-templates")
    and later on insert the cvs line (after line 117)?
    Code:
    for((i=0;i<${#REPOSITORY[*]};i++));
        do
          echo -n " +" ${REPOSITORY[$i]} "..."
          cvs -Q -d:$CVS_URL co -r $BRANCH ${REPOSITORY[$i]}
          echo " done."
        done
        #add these lines for manual cvs checkout
        echo -n " + open-xchange-admin-gui-ee..."
    	cvs -Q -d:pserver:anonymous@www.open-xchange.com:/cvsroot co -D 12/15/2007 open-xchange-admin-gui-ee
    	echo " done."
        #end-mod
    (based on hyperion-debian_etch.sh)

    I was trying to do that before but I didn't know which branch to checkout... After these modifications, the installer worked like a charm...

    Thanks for the info, though.

    Cheers,
    Nicolas.

  4. #4
    jmsonics Guest

    Default

    Hello,

    My system is based on hyperion-debian_etch.sh and after these modifications, the installer worked like very well for the branch stable...

    Thanks for the info, though.

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

    Default

    Hi all,

    this issue has been fixed by adding three new repositories to the public CVS server, the installation manual page at the wiki and the debian/ubuntu installers have been updated accordingly. Using the workaround described here is no longer required.

    Please note the additional repositories and installation steps provided at the wiki:
    http://www.open-xchange.com/wiki/ind...n_Installation

    Greetings
    Last edited by Martin Heiland; 02-29-2008 at 10:37 AM.

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
  •