zoukankan      html  css  js  c++  java
  • 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.




     

  • 相关阅读:
    微软ASP.NET网站部署指南(4):配置项目属性
    iOS 设计模式之抽象工厂
    How can I move a MySQL database from one server to another?
    CentOS 7 上安装vim(默认未安装)
    How to resize slide dimensions without resizing any objects on the slide?
    CentOS 7.3 上安装docker
    美国留学访学(访问学者)必备信用卡
    西安理工大学税务登记证、银行账号信息
    Oracle联合多个子查询(inner join)
    linux tail
  • 原文地址:https://www.cnblogs.com/CoolPigs/p/2375257.html
Copyright © 2011-2022 走看看