Fedora 14教育網安裝Meego開發環境

來源:互聯網
上載者:User

有用的網站和Wiki
Meego鏡像
http://repo.meego.com/
Wiki
http://wiki.meego.com/
troubleshoot
http://wiki.meego.com/SDK/Docs/1.1/Troubleshooting
qemu運行條件檢查
http://wiki.meego.com/MeeGo_SDK_Enabling_QEMU
qemu運行環境的配置和測試
http://wiki.meego.com/SDK/Docs/1.1/Configuring_QEMU_runtimes#Configuring_access_to_an_emulated_device_in_Qt_Creator
SDK的安裝和設定
http://wiki.meego.com/SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux
為自動下載安裝工具設定代理
為wget設定代理
sudo vim /etc/wgetrc
添加http_proxy = http://${ip}:${port}
為yum設定代理
sudo vim /etc/yum.conf 更新yum sudo yum update
rpm代理設定
由於rpm不知道如何設定下載代理,只好通過瀏覽器將signing key 下載到本地,http://repo.meego.com/MeeGo/sdk/host/repos/fedora/13/repodata/
然後安裝rpm --import repomd.xml.key
安裝過程
  1. 安裝meego sdk
    sudo yum install meego-sdk
    包括Hello的常式,包括項目建立,打包和發布程式,調試裝置
  2. 安裝工具鏈
    • 列出支援的工具鏈的類型
      [water@fc14-cool ~]$ sudo mad-admin list target
      fremantle-pr13 (installable)
      maemo412-1 (installable)
      meego-core-armv7l-1.1 (installable)
      meego-core-armv7l-1.1.2 (installable)
      meego-core-armv7l-trunk (installable)
      meego-core-ia32-1.1 (installable)
      meego-core-ia32-trunk (installable)
      meego-handset-ia32-1.1.2 (installed)
      meego-handset-ia32-1.1 (installable)
      meego-handset-ia32-w32-1.1 (installable)
      meego-handset-ia32-trunk (installable)
      meego-netbook-ia32-1.1.2 (installable)
      meego-netbook-ia32-1.1 (installed)
      meego-netbook-ia32-w32-1.1 (installable)
      meego-netbook-ia32-trunk (installable)
    • 建立IA32下的Netbook工具鏈
      [root@fc14-cool water]# mad-admin create -f meego-netbook-ia32-1.1
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed
      100 267M 100 267M 0 0 15493 0 5:01:12 5:01:11 0:00:01 21389Working on sysroot meego-core-ia32-madde-sysroot-1.1-fs
      .....9....8....7....6....5....4....3....2....1....0
      Creating missing links... done.

       

      Working on toolchain meego-sdk-i586-toolchain-1.1-linux_i686
      .....9....8....7....6....5....4....3....2....1....0
      Creating missing links... done.

      Working on tools qt-tools-4.7.0-linux_i686
      .....9....8....7....6....5....4....3....2....1....0
      Creating missing links... done.

      Find toolchain binaries
      Link toolchain binaries
      Link Qt tool binaries
      Target 'meego-netbook-ia32-1.1' created.

    • 建立IA32下的Handset工具鏈
      [root@fc14-cool water]# mad-admin create -f meego-handset-ia32-1.1.2
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed
      100 379M 100 379M 0 0 684k 0 0:09:27 0:09:27 --:--:-- 855k
      Working on sysroot meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs
      .....9....8....7....6....5....4....3....2....1....0
      Creating missing links... done.
      Find toolchain binaries
      Link toolchain binaries
      Link Qt tool binaries
      Target 'meego-handset-ia32-1.1.2' created.
  3. 安裝meego系統的運行環境,即用qemu類比的圖形環境
    • 列出支援的運行裝置
      [water@fc14-cool build]$ sudo mad-admin list runtimes
      qemu-n900-pr13 (installable)
      rx48-diablo (installable)
      meego-handset-ia32-qemu-1.1.2-runtime (installable)
      meego-handset-ia32-qemu-1.1.20101031.2201-sda-runtime (installable)
      meego-handset-ia32-w32-qemu-1.1.20101031.2201-sda-runtime (installable)
      meego-netbook-ia32-qemu-1.1.2-runtime (installable)
      meego-netbook-ia32-qemu-1.1.20101031.2037-sda-runtime (installable)
      meego-netbook-ia32-w32-qemu-1.1.20101031.2037-sda-runtime (installable)
    • 安裝Netbook模擬器
      [root@fc14-cool water]# mad-admin create -f -e meego-netbook-ia32-qemu-1.1.2-runtime
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed
      100 456M 100 456M 0 0 45907 0 2:53:37 2:53:37 --:--:-- 63746
      Extracting QEMU runtime meego-netbook-ia32-qemu-1.1.2-runtime
      .....9....8....7....6....5....4....3....2....1....0
      Creating missing links... done.
    • 安裝Handset模擬器
      [water@fc14-cool ~]$ sudo mad-admin create -f -e meego-handset-ia32-qemu-1.1.2-runtime
      Extracting QEMU runtime meego-handset-ia32-qemu-1.1.2-runtime
      .....9....8....7....6....5....4....3....2....1....0
      Creating missing links... done.
Troubleshooting
  • qemu模擬器啟動後沒有反應
    Starting QEMU runtime meego-handset-ia32-qemu-1.1.2-runtime
    This may take some time ...
    之後就沒反應了,網上說需要開啟BIOS的VT支援,我重啟了在BIOS的設定裡enable了VT,可是執行sudo modprobe kvm-intel的時候還是
    出錯了,dmesg | grep kvm的結果如下:
    kvm: disabled by bios
    但是明明是開啟了VT選項,為什麼啟動的時候說VT沒有被BIOS使能呢,原來是restart的問題,需要poweron/poweroff,這樣BIOS才能
    應用程式更新的設定。
    KVM相關的troubleshot可以參見http://www.linux-kvm.org/page/FAQ#.22KVM:_disabled_by_BIOS.22_error
  • 如何離線安裝
    關於代理的設定參考安裝工具鏈時的代理設定,如果有問題的話也可以自己通過瀏覽器手動下載,可以在這個
    /usr/lib/madde/linux-i686/cache/madde.conf.d檔案中看到,我的裡面顯示的url是http://download3.meego.com/,
    手動下載完成後把檔案拷貝到cache檔案夾下,重新執行上面的mad命令,就可以跳過下載直接解壓安裝了。

 

王章來自: intel部落格

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.