Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: OCS build issue. openldap-2.4.21.7z.tgz missing.

  1. #1
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default OCS build issue. on Going build issues.

    I am trying to get a build of Zimbra from source on an unsupported platform(Gentoo).

    So far its been fun, although I've now got an issue that I don't know how to solve.
    I don't understand where openldap-2.4.21.7z.tgz comes from?

    I am getting the following error:-

    Code:
    Total time: 2 minutes 26 seconds
    mkdir /home/public/p4/GNR-606/ZimbraBuild/storebuild/opt/zimbra/jetty-6.1.22.z6/webapps/service
    (cd /home/public/p4/GNR-606/ZimbraBuild/storebuild/opt/zimbra/jetty-6.1.22.z6/webapps/service; jar xf /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/build/dist/jetty/webapps/service.war)
    mkdir -p /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/db
    cp -R /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/src/db/mysql/db.sql /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/db
    cp -R /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/src/db/mysql/create_database.sql /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/db
    cp -R /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/build/versions-init.sql /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/db
    mkdir -p /home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra
    *** Creating openldap
    (cd /home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra; tar xzf /home/public/p4/GNR-606/ZimbraBuild/../ThirdPartyBuilds/Gentoo-BSR1_64/openldap/openldap-2.4.21.7z.tgz;)
    tar: /home/public/p4/GNR-606/ZimbraBuild/../ThirdPartyBuilds/Gentoo-BSR1_64/openldap/openldap-2.4.21.7z.tgz: 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: *** [/home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra/openldap-2.4.21.7z] Error 2

    I understand I am using an unsupported platform and I am more then happy to support it myself. I just can't understand where the zimbra build get its version of openldap.
    Last edited by undersys; 06-16-2010 at 10:42 PM.

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

    Default what kind of build are u attempting ?

    Hi Friend ,

    are u building for deploying and using OR for making changes to the
    software ?

  3. #3
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    Building for deployment. I'll move into development after I have a working server
    Using the following Wiki guide.

    What else do you need to know?

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

    Default bulding in gentoo

    Hi,
    I do not have gentoo. But it looks like you have not done the
    third party build. have a look at
    GNR on Debian Lenny - Zimbra :: Wiki

    ignore the debian specific parts and install the dependencies
    using your platforms' packaging system. then run

    ./buildZCS.sh -t

  5. #5
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    If only it was that simple
    BTW, Debian and Gentoo a nothing like each other, but thanks
    The error is given after I run "./buildZCS.sh -t" quite a while into the build process.

    I think i may of found the issue, testing now.
    It looks like Gentoo can not make a gziped tarball of :-
    /home/public/p4/GNR-606/ThirdParty/openldap/openldap-2.4.21.7z/

    So I've manually created it and I'll see what happens..

  6. #6
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    nope!
    Still fails.
    I've tried to manually create the tar and the extra directories.
    What I don't understand is I've removed 'openldap" from the third party builds.. so why is it still trying to build it?
    I'd rather use gentoo's openldap.

    Note, even if i do add openldap back into the third party build it fails at the same lines.

    >_<

    Code:
    *** Creating openldap
    (cd /home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra; tar xzf /home/public/p4/GNR-606/ZimbraBuild/../ThirdPartyBuilds/Gentoo-BSR1_64/openldap/openldap-2.4.21.7z.tgz;)
    cp /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/conf/ldap/DB_CONFIG \
    		/home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra/openldap-2.4.21.7z/var/openldap-data
    cp /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/conf/ldap/DB_CONFIG.accesslog \
    		/home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra/openldap-2.4.21.7z/var/openldap-data
    cp /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/conf/ldap/syncprov-master.ldif \
    		/home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra/openldap-2.4.21.7z/etc/openldap
    cp: cannot create regular file `/home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra/openldap-2.4.21.7z/etc/openldap': No such file or directory
    make: *** [/home/public/p4/GNR-606/ZimbraBuild/ldapbuild/opt/zimbra/openldap-2.4.21.7z] Error 1

  7. #7
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    Hit what looks like to be a new error. I think I've solved the openldap error.

    Its looking for perlbin.tgz no mention of this in the 3rd party makefile.. so I wonder where it comes from.

    mkdir -p /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/contrib
    cp -R /home/public/p4/GNR-606/ZimbraBuild/../ZimbraServer/src/contrib/* /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/contrib
    mkdir -p /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/zimbramon/bin
    (cd /home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/zimbramon/bin; \
    tar xzf /home/public/p4/GNR-606/ZimbraBuild/../ThirdPartyBuilds/Gentoo-BSR1_64/perl/perlbin.tgz)
    tar: /home/public/p4/GNR-606/ZimbraBuild/../ThirdPartyBuilds/Gentoo-BSR1_64/perl/perlbin.tgz: 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: *** [/home/public/p4/GNR-606/ZimbraBuild/corebuild/opt/zimbra/zimbramon/bin] Error 2

  8. #8
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    Is there anyone in Zimbra Dev land that can help?

    I was thinking maybe do a recheck out, but the GNR-606 branch should not of changed. I really can not see why its failing.
    I can see where the build pulls down the perlbin.tgz source!

  9. #9
    Join Date
    Jun 2010
    Posts
    30
    Rep Power
    5

    Default

    No matter what I try it fails at the same point.
    I think it has something to do with this in the Perl Makefile :-
    Code:
    tarball:
            @echo -n "Creating $(PERL_TGZ_DEST)..."; \
            (cd $(DEST_LIB_DIR); rm -f i386-linux-thread-multi/goferperf.pl; \
            tar czf $(PERL_TGZ_DEST) .); \
            if [ $$? -ne 0 ]; then  echo "FAILED.";  else  echo "done.";  fi
            @echo -n "Creating $(PERL_BIN_TGZ_DEST)..."; \
            (cd $(DEST_BIN_DIR); \
            tar cfz $(PERL_BIN_TGZ_DEST) sa-compile sa-learn sa-update
    spamassassin spamc spamd); \
            if [ $$? -ne 0 ]; then  echo "FAILED.";  else  echo "done.";  fi
            chmod -R a+w $(PERL_TGZ_DEST_DIR)/*
    I may try a re checkout of the branch. Although this really should not be needed as the branch should not change.
    A little disappointed with the lack of Zimbra Dev involvement with the FOSS build....

  10. #10
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    If your system can't create gziped tarballs, there's somethign seriously wrong with it. This works on all of the supported platforms just fine. I suggest you examine the log to see what errors it wrote to it.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Similar Threads

  1. [SOLVED] upgrading to latest 4.5 release
    By ak2009 in forum Installation
    Replies: 6
    Last Post: 01-17-2009, 08:08 AM
  2. Replies: 6
    Last Post: 10-02-2008, 03:51 AM
  3. Zimbra OSS 4.5.11 Re-install
    By newmember in forum Installation
    Replies: 0
    Last Post: 09-09-2008, 10:26 PM
  4. 4.5.11 to 5.06 Migration Suggestion
    By newmember in forum Migration
    Replies: 15
    Last Post: 09-02-2008, 06:59 PM
  5. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 10:13 AM

Posting Permissions

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