Nokia N9 メモ4 セルフビルド環境

  • N9 セルフビルド環境

terminal or ssh で、devel-suでroot権限とっての作業になります。まず、sdkとrzrのレポジトリを使うように、オレオレ.list作成。

# cat <<EOF >> /etc/apt/sources.list.d/harmattan-sdk.list
deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free
deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_stan
dard/ ./
EOF

標準の設定だと、パッケージダウンロードエラーが起きたので 動作の怪しいレポジトリをOFFる

# vi /etc/apt/souces.list.d/aegis.ssu-keyring-263.list

1行目 downloads.maemo.nokia.com/harmattan/263
2行目 downloads.maemo.nokia.com/harmattan/apps
を行頭#をつけて、コメントアウト。本命のの build-essential インストール。ついでにtexinfoも。

# apt-get update
# apt-get install build-essential texinfo

/etc/apt/souces.list.d/aegis.ssu-keyring-263.listの2行目はインストール終わったら元に戻した。
とりあえず、helloworld はコンパイルできた。

N9単体で、debパッケージ作れるようにまでしたいけど、まずは、meegoでの作り方をお勉強しなきゃ。