2

特定のプログラムを 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**
4

1 に答える 1

0

パスはおそらく少し赤いニシンだと思います。

同様の問題がありました(別のパッケージのインストール中)。プロジェクトの Web サイト (この場合は linkparser) から最新のプロジェクト tar をダウンロードし、含まれている指示に従ってインストールすることで、その特定の問題を解決しました。

このスレッドは、正しい方向に私を助けてくれました:

http://www.linuxforums.org/forum/suse-linux/87624-adjusting-pkg_config_path-environment-variable.html

于 2011-01-24T15:43:19.713 に答える