錯誤試行

PCや生活の試行錯誤の成果を報告するブログ

emacs-mozc(mozc.el)が落ちる不具合への対処(Ubuntu10.04)

Ubuntu10.04でUbuntu11.10のときのようにするが以下となりコンパイルが通らなかった。(libibus-1.0-devは代わりにlibibus-devを入れておく)

Package pthread-stubs was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
Package pthread-stubs was not found in the pkg-config search path.
Perhaps you should add the directory containing `pthread-stubs.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pthread-stubs', required by 'XCB', not found

これらのファイルのあるパスを環境変数PKG_CONFIG_PATHに追加するとコンパイルが通った。

 export PKG_CONFIG_PATH="/usr/lib/pkgconfig":"/usr/share/pkgconfig"

解決に要した時間:1時間