Results 1 to 1 of 1

Thread: help with buliding / compiling for a zimbra developer environment

  1. #1
    Join Date
    May 2010
    Posts
    7
    Rep Power
    5

    Default problem in buliding / compiling zimbra for development in clean DEBIAN , lenny

    Hi,

    I am willing to work on certain parts of ZimbraServer and need to
    have a development environment setup. My OS is Debian Linux Lenny.
    Firstly i have already gone through the following resources

    1. GNR on Debian Lenny - Zimbra :: Wiki
    2. "ZimbraWebClient/WebRoot/help/en_US/admin/txt/readme_source.txt"
    and searched through the wiki & forum.

    the problem is (2) does not seems to be uptodate. I have followed
    the instructions in it but facing problem.

    I downloaded zcs-6.0.4_GA_2040-src.tgz from sourceforge and extracted.
    then i wen to ZimbraBuild and did

    $ make dev-install

    it loudly complaints the below:

    *** Installing mysql

    (cd /opt/zimbra; tar xzf /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ThirdPartyBuilds/DEBIAN5/mysql/mysql-standard-5.0.87-pc-linux-gnu-i686-glibc23.tar.gz; )
    tar: /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ThirdPartyBuilds/DEBIAN5/mysql/mysql-standard-5.0.87-pc-linux-gnu-i686-glibc23.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    make: *** [/opt/zimbra/mysql-standard-5.0.87-pc-linux-gnu-i686-glibc23] Error 2


    Ok! it complaining of ThirdPartyBuilds , but even after doing that(takes
    > 2hrs on my slow cpu ) . It gives another error relating to absence of
    zimbra schema file.


    My question is does a working document exists ? I am even ready to update
    the seemingly outdated docs if anyone can help me out with getting
    the initial setup done.

    regds
    Rajesh Kumar Mallah.


    *** UPDATE ******
    make dev-install gives the below error:

    $ make dev-install
    *** Installing mysql
    (cd /opt/zimbra; tar xzf /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ThirdPartyBuilds/DEBIAN5/mysql/mysql-standard-5.0.87-pc-linux-gnu-i686-glibc23.tar.gz; )
    *** Installing openldap
    (cd /opt/zimbra; tar xzf /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ThirdPartyBuilds/DEBIAN5/openldap/openldap-2.4.20.4z.tgz; )
    cp -f /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/DB_CONFIG /opt/zimbra/openldap-2.4.20.4z/var/openldap-data
    cp -f /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/DB_CONFIG.accesslog /opt/zimbra/openldap-2.4.20.4z/var/openldap-data
    cp -f /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/slapd.conf.production /opt/zimbra/openldap-2.4.20.4z/etc/openldap/slapd.conf
    cp -f /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/master-accesslog.conf /opt/zimbra/openldap-2.4.20.4z/etc/openldap
    cp -f /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/master-accesslog-overlay.conf /opt/zimbra/openldap-2.4.20.4z/etc/openldap
    cp -f /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/amavisd.schema /opt/zimbra/openldap-2.4.20.4z/etc/openldap/schema
    cp -f /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/zimbra.schema /opt/zimbra/openldap-2.4.20.4z/etc/openldap/schema
    cp: cannot stat `/mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ZimbraServer/conf/ldap/zimbra.schema': No such file or directory
    make: *** [/opt/zimbra/openldap-2.4.20.4z] Error 1



    **** UPDATE 2 *******
    After managing to put zimbra.schema and zimbra_schema.ldif ,
    the build process runs for couple of minutes but failes again at below

    *** Installing tomcat
    (cd /opt/zimbra; tar xzf /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ThirdParty/jakarta-tomcat/apache-tomcat-5.5.15.tar.gz; )
    tar: /mnt/disk2/opt/public/zcs-src/zcs-6.0.4_GA_2040-src/GNR-604/ZimbraBuild/../ThirdParty/jakarta-tomcat/apache-tomcat-5.5.15.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    make: *** [/opt/zimbra/apache-tomcat-5.5.15] Error 2

    *************END OF UPDATE 2 *********************


    *** UPDATE 3 *********
    In subsequent run of make dev-install the permission of below
    /opt/zimbra/openldap-2.4.20.4z/etc/openldap/zimbra_mimehandlers.ldif
    had to be changed to 644 from 444 , in order to reach the error mentioned
    in UPDATE 2
    *********** END OF UPDATE 3 *******************


    **** update 4 *************

    looks like devtargets.def insists on tomcat with no signs of jetty but
    ThirdParty/* is inclined towards jetty with nosign of tomcat.

    ****** end of update 4 **********

    Am i totally in a wrong direction
    Last edited by mallah_rajesh; 06-10-2010 at 09:26 PM.

Similar Threads

  1. Upgrade to ZCS 5.10
    By blozancic in forum Installation
    Replies: 0
    Last Post: 10-21-2008, 09:03 AM
  2. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  3. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  4. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 04:48 PM
  5. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM

Posting Permissions

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