|
已经安装fcitx-4.0beta1
./configure --prefix=/usr CC=gcc34
make && make install
运行很好
问题是这出错
checking for FCITX_CONFIG... configure: error: Package requirements (fcitx-config) were not met:
No package 'fcitx-config' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FCITX_CONFIG_CFLAGS
and FCITX_CONFIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
只有这样./configure才能过
./configure --prefix=/usr CC=gcc34 FCITX_CONFIG_CFLAGS=/usr/local/lib/pkgconfig FCITX_CONFIG_LIBS=/usr/local/lib/pkgconfig
不指定CC=XXXX,直接make,就“警告:赋值时将整数赋给指针,未作类型转换”
现在make出错:
gcc34: /usr/local/lib/pkgconfig:未使用链接器输入文件,因为链接尚未完成
cc1: /usr/local/lib/pkgconfig:没有那个文件或目录
乍搞? |
|