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.
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.
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.
Uusally you would run:
make -f Makefile ajaxtar sourcetar all
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
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.
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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
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
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..
Yeah, building on CentOS means you'll have to do some work by hand.
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
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(%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
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
There are currently 1 users browsing this thread. (0 members and 1 guests)