2
我想添加一个包含.pc文件的目录到PKG_CONFIG_PATH变量,这是在Ubuntu上运行某个程序所需的。我试图从谷歌找出一个解决方案,但它并没有真正的工作。如何在ubuntu中的PKG_CONFIG_PATH变量中设置一个目录
我在这里粘贴日志。请帮忙。
[email protected]:~/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**
你尝试什么解决方案没有奏效? – 2011-11-23 13:12:34