特定のプログラムを Ubuntu で実行するために必要な、.pc ファイルを含むディレクトリを PKG_CONFIG_PATH 変数に追加したいと考えています。Google から解決策を見つけようとしましたが、実際にはうまくいきませんでした。
ここにログを貼り付けます。助けてください。
tasbeer@tasbeer-desktop:~/Android/pocketsphinx/swig$ make
cc -g -Wall -DPIC -fPIC -I/usr/lib/jvm/default-java/include `pkg-config
--cflags sphinxbase pocketsphinx` -c -o pocketsphinx_wrap.o
pocketsphinx_wrap.c
**Package sphinxbase was not found in the pkg-config search path.
Perhaps you should add the directory containing `sphinxbase.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sphinxbase' found
Package pocketsphinx was not found in the pkg-config search path.
Perhaps you should add the directory containing `pocketsphinx.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pocketsphinx' found**