automake 実行時に "no proper invocation of AM_INIT_AUTOMAKE was found." が表示される
エラーメッセージ
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
原因と対処
typo してた。
誤:AC_INIT_AUTOMAKE
正:AM_INIT_AUTOMAKE
修正後は、aclocal コマンドからやり直す。
$ aclocal $ automake -a -c
Makefile のターゲットの一覧を表示する方法
「そんなものはない」
ので次のコマンドで代用している。
$ grep ^\w\+: Makefile
Qt Creator のサンプルが表示されない
環境
- Ubuntu 14.04
対処
次のパッケージをインストールする。 * qtbase5-examples * qtbase5-doc-html
参考文献
https://askubuntu.com/questions/450983/ubuntu-14-04-qtcreator-qt5-examples-missing
SoMachine と SoMachine Basic の違い
- SoMachine → 汎用
- SoMachine Basic → M221 専用
PREFERRED_PROVIDER
If multiple recipes provide an item, this variable determines which recipe should be given preference. You should always suffix the variable with the name of the provided item, and you should set it to the PN of the recipe to which you want to give precedence. Some examples:
複数のレシピがアイテムを提供する場合、この変数はどのレシピに優先権を与えるべきかを決定します。変数には常に提供されるアイテムのサフィックスを付ける必要があります。優先順位を付けるレシピの PN に設定する必要があります。
例
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_PROVIDER_virtual/xserver = "xserver-xf86" PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
PROVIDES
A list of aliases that a recipe also provides. These aliases are useful for satisfying dependencies of other recipes during the build (as specified by DEPENDS).
レシピが提供するエイリアスのリストです。これらのエイリアスは、ビルド中に( DEPENDS で指定された)他のレシピの依存関係を満たすのに役立ちます。
Note A recipe's own PN is implicitly already in its PROVIDES list.
注記 レシピ自身の PN は、暗黙で PROVIDES のリストに入っています。
python3 が "No module named 'encodings'" エラーで失敗する
事象
python3 の実行が次のエラーで失敗する
$ python3 Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' Aborted
翻訳:
Python の致命的なエラー: Py_Initialize: ローカルのエンコードを取得できません 取り込みエラー: 'encodings' という名前のモジュールはありません 中断しました
原因
codecs モジュールがインストールされていないため
対処
codecs モジュールをインストールする