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時間