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

Thread: $ cd ~/zcs-src/ZimbraBuild make dev-install in ZimbraBuild seems out-dated

  1. #1
    syhliu is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    6

    Default $ cd ~/zcs-src/ZimbraBuild make dev-install in ZimbraBuild seems out-dated

    It seems the Makefile and the target make dev-install in ZimbraBuild of FRANKLIN branch are out-dated. It fails at various places. What is the build script I should use when build Thirdparty is done? Thanks.

  2. #2
    syhliu is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    6

    Default

    I encountered more problems with build. In ZimbraBuild direcotry:
    [root@localhost ZimbraBuild]# make
    ....

    cp -f /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/../ZimbraServer/conf/postfix_sasl_smtpd.conf /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/cyrus-sasl-2.1.22.3z/lib/sasl2/smtpd.conf
    make: *** No rule to make target `/root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/lib/ext/zimbra_cert_manager/zimbra_cert_manager.jar', needed by `core_stage'. Stop.

  3. #3
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,262
    Rep Power
    10

    Default

    Uusally you would run:
    make -f Makefile ajaxtar sourcetar all
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  4. #4
    syhliu is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    6

    Default

    still getting this error:
    make: *** No rule to make target `/root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/lib/ext/zimbra_cert_manager/zimbra_cert_manager.jar', needed by `core_stage'. Stop.

  5. #5
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,262
    Rep Power
    10

    Default

    Hm, I find this target in the storetargets.def file:

    $(CORE_DEST_DIR)/lib/ext/com_zimbra_cert_manager/com_zimbra_cert_manager.jar: $(CORE_DEST_DIR)/lib/ext/com_zimbra_cert_manager $(ADMIN_EXT_DIR)/build/com_zimbra_cert_manager.jar
    cp -f $(ADMIN_EXT_DIR)/build/com_zimbra_cert_manager.jar $@

    The CORE_COMPONENTS to build are defined either in components.def or <OS>_components.def (like RHEL5_64_components.def)

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  6. #6
    syhliu is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    6

    Default

    Hi Quanah,
    I saw the same line in storetargets.def file, however, now I still got this error message when I build:
    [root@localhost ZimbraBuild]# make -f Makefile ajaxtar sourcetar all
    ....
    mkdir -p /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/conf/attrs
    cp -f /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/../ZimbraServer/build/dist/conf/attrs/* /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/conf/attrs
    make: *** No rule to make target `/root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/lib/ext/zimbra_cert_manager/zimbra_cert_manager.jar', needed by `core_stage'. Stop.
    Thanks in advance

  7. #7
    syhliu is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    6

    Default

    Acutally, I figured out the problem... in our CentOS5_64_components.def
    file, the CORE_COMPONENTS list is not up to date. Now that problem is fixed. I am seeing some other problems now..

  8. #8
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,262
    Rep Power
    10

    Default

    Yeah, building on CentOS means you'll have to do some work by hand.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  9. #9
    syhliu is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    6

    Default

    Hi Quanah,
    I have this problem, do you know which script contains "Building for target i386" notion? I searched around but couldn't find it yet.. I am working on Centos 64.Thanks
    cp -f /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/../ZimbraServer/build/dist/conf/attrs/* /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/conf/attrs
    (cd /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild; \
    rpmbuild --target i386 --quiet --define '_rpmdir /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild' --buildroot=/root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild -bb /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/zimbracore.spec )
    Building target platforms: i386
    Building for target i386
    Executing(&#37;prep): /bin/sh -e /var/tmp/rpm-tmp.95039
    + umask 022
    + cd /usr/src/redhat/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + $'\r'
    : command not found039: line 25:
    error: Bad exit status from /var/tmp/rpm-tmp.95039 (%prep)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.95039 (%prep)
    make: *** [core] Error 1

  10. #10
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,262
    Rep Power
    10

    Default

    Quote Originally Posted by syhliu View Post
    Hi Quanah,
    I have this problem, do you know which script contains "Building for target i386" notion?
    What does the get platform tag script show for your system? It should report CentOS5_64 (or CentOS4_64), etc. In any case, you'll have to add logic to defs/globals.def for CentOS?_64 to change the ARCH type.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 09-27-2007, 11:49 AM
  2. Zimbra Osx Dev Install?
    By kbaker in forum Developers
    Replies: 2
    Last Post: 09-14-2007, 03:31 PM
  3. got error during make in ZimbraBuild.
    By jamesjr555 in forum Developers
    Replies: 1
    Last Post: 09-18-2006, 12:04 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
  •