[ovirt-users] 答复: An error occurring in the OVirt_Engine_Development_Environment

Xie, Chao xiec.fnst at cn.fujitsu.com
Sun Sep 14 07:59:19 UTC 2014


Hi,all
         I found the root cause of error: I upload the file from windows environment and should use dos2unix to format the file!

发件人: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] 代表 Xie, Chao
发送时间: 2014年9月14日 15:33
收件人: users at ovirt.org
主题: [ovirt-users] An error occurring in the OVirt_Engine_Development_Environment

Hi,all
         I tried to bulid a OVirt_Engine_Development_Environment following the http://wiki.ovirt.org/OVirt_Engine_Development_Environment.
         When I prepared the source code and environment , I execute “make install-dev PREFIX="$HOME/ovirt-engine" and an error was prompted as below.

================
if [ "1" != 0 ]; then \
                   build/shell-check.sh && \
                   build/python-check.sh && \
                   build/dbscripts-duplicate_upgrade_scripts.sh; \
         fi
packaging/bin/pki-common.sh: 33: Syntax error: end of file unexpected (expecting "then")
: No such file or directory57: /bin/sh
packaging/bin/engine-prolog.sh: 19: Syntax error: word unexpected (expecting "do")
: No such file or directory57: /bin/sh
: No such file or directory57: /bin/sh
: No such file or directory57: /bin/sh
: No such file or directory57: /bin/sh
: No such file or directory57: /bin/sh
make[1]: *** [validations] Error 1
make[1]: Leaving directory `/home/onlyellow/ovirt-engine'
make: *** [all-dev] Error 2

======================

I check the “packaging/bin/pki-common.sh” and find it seems well (the attendment). Does anybody have the same problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140914/b4f236e3/attachment-0001.html>


More information about the Users mailing list