• Meego SDK 安装过程中的出现问题


    最近由于业务需要,研究meego,在安装sdk过程中,碰到了一些问题,在此分享如下:

    1.在linux中安装meego

    在安装到34%的时候需要输入一个sudo 密码,可以随意输入

    错误如下:

    Error during installation process(com.meego.sdk.targets.components.toolchains.ia32.1_2):
    Execution failed ( + set -e
    + echo SINGLE_TARGET_DIR:
    + '[' '' == true ']'
    ++ dirname /home/baidu/.config/meego.com/sdk/pm/pm
    + CUR=/home/baidu/.config/meego.com/sdk/pm
    ++ /home/baidu/.config/meego.com/sdk/pm/get_sudo
    + SUDO=
    + source /home/baidu/.config/meego.com/sdk/pm/check_os
    ++ USE_STATIC_REPO=TRUE
    ++ DIST=Invalid
    ++ '[' -f /etc/lsb-release ']'
    +++ awk '{print $3}'
    +++ lsb_release -i
    ++ OS=Ubuntu
    +++ awk '{print $2}'
    +++ lsb_release -r
    ++ VERSION=11.10
    ++ '[' -f /etc/redhat-release ']'
    ++ '[' Ubuntu == Ubuntu ']'
    +++ expr match 11.10 9.10
    ++ '[' 0 -ge 4 ']'
    +++ expr match 11.10 10.04
    ++ '[' 0 -ge 5 ']'
    +++ expr match 11.10 10.10
    ++ '[' 0 -ge 5 ']'
    +++ expr match 11.10 11.04
    ++ '[' 0 -ge 5 ']'
    ++ PKG_EXT=deb
    ++ '[' Ubuntu == Fedora ']'
    ++ '[' Ubuntu == '' ']'
    + source /home/baidu/.config/meego.com/sdk/pm/set_proxy
    ++ '[' '' '!=' '' ']'
    ++ '[' '' = '' ']'
    ++ echo 'Detecting http_proxy'
    ++ GCONF_TOOL='dbus-launch gconftool-2'
    +++ dbus-launch gconftool-2 --get /system/http_proxy/use_http_proxy
    ++ '[' false = true ']'
    ++ echo http_proxy:
    + COMMOND=install
    + PKG_INSTALL_DIRS=/opt/meego/meego-1.2-sdk-ia32-toolchain/,/usr/lib/madde/
    + shift
    + grep /
    + echo /opt/meego/meego-1.2-sdk-ia32-toolchain/,/usr/lib/madde/
    + length=1
    + packages=meego-1.2-sdk-ia32-toolchain
    ++ tr , '\n'
    ++ echo /opt/meego/meego-1.2-sdk-ia32-toolchain/,/usr/lib/madde/
    + for PKG_INSTALL_DIR in '$(echo $PKG_INSTALL_DIRS | tr "," "\n")'
    ++ dirname /opt/meego/meego-1.2-sdk-ia32-toolchain/
    ++ basename /opt/meego/meego-1.2-sdk-ia32-toolchain/
    + PKG_INSTALL_DIR=/opt/meego/meego-1.2-sdk-ia32-toolchain
    + '[' /opt/meego/meego-1.2-sdk-ia32-toolchain '!=' '' -a install == install ']'
    + '[' -h /opt/meego/meego-1.2-sdk-ia32-toolchain -a '!' -e /opt/meego/meego-1.2-sdk-ia32-toolchain ']'
    + for PKG_INSTALL_DIR in '$(echo $PKG_INSTALL_DIRS | tr "," "\n")'
    ++ dirname /usr/lib/madde/
    ++ basename /usr/lib/madde/
    + PKG_INSTALL_DIR=/usr/lib/madde
    + '[' /usr/lib/madde '!=' '' -a install == install ']'
    + '[' -h /usr/lib/madde -a '!' -e /usr/lib/madde ']'
    + '[' install == uninstall ']'
    + '[' Ubuntu == Ubuntu ']'
    + '[' install == install ']'
    + COMMOND=install
    + PKM=' apt-get install -y --force-yes'
    + run_pkm meego-1.2-sdk-ia32-toolchain
    + exec /home/baidu/.config/meego.com/sdk/pm/to_stdout apt-get install -y --force-yes meego-1.2-sdk-ia32-toolchain
    ): "/home/baidu/.config/meego.com/sdk/pm/pm install meego-1.2-sdk-ia32-toolchain /opt/meego/meego-1.2-sdk-ia32-toolchain/,/usr/lib/madde/"

    解决方案:把我的ubuntu11.10 32bit换成ubuntu10.04 32bit

    建议:一定要遵守 http://developer.meego.com/meego-sdk 的系统版本要求那,血淋淋的例子摆在这里那。。。。。。

    2.在win7 32 bit中安装meego

    在中间过程中会出现retry,ignore,cancel对话框,尽量retry,多次retry不行的情况下,再ignore。特别是在装到100%的时候,需要ignore

    meego官方建议如下

    Troubleshooting installation issues

    The installer simplifies many tasks. One of the primary tasks is downloading files such as toolchains, build libraries, and virtual machine images. During installation if there are errors on the network these file transfers may fail. The installer attempts to recover but if it can not it may display an error message with [Retry] [Ignore] [Cancel] options. Clicking "Retry" will most often result in a successful continuation. "Ignore" will skip the file but the SDK will not be complete.




     

  • 相关阅读:
    WinForm简单进度条
    金庸群侠传 3小时爆机
    One Day
    css组件化
    PHP判断端口是否打开的代码
    PHP下像JQUery下查找修改HYML元素的类PHP Simple HTML DOM Parser
    兼容IE和FF的添加收藏和设为主页代码
    注册成功啦,终于在博客园注册成功了,以后要更加努力的学习技术啊!
    ppz css栅格框架
    使用live writer 发布一下日志
  • 原文地址:https://www.cnblogs.com/CoolPigs/p/2375257.html
Copyright © 2020-2023  润新知