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