|
# sh configure
# make
cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
Making all in doc
Making all in tools
Bad modifier: )
Unclosed variable specification
"Makefile", line 253: Need an operator
Fatal errors encountered -- cannot continue
*** Error code 1
Stop in /home/fcitx-3.2.1 (line 188 of Makefile).
*** Error code 1
Stop in /home/fcitx-3.2.1 (line 321 of Makefile).
-------------------------
修改 src/main.c
bIsUtf8 = (strcmp (nl_langinfo (CODESET), "UTF-8") == 0);
替换成
bIsUtf8 = (strstr (setlocale (LC_CTYPE, NULL), "utf8") != NULL);
还是出错:
# sh configure
# make
cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
Making all in doc
Making all in tools
Bad modifier: )
Unclosed variable specification
"Makefile", line 253: Need an operator
Fatal errors encountered -- cannot continue
*** Error code 1
Stop in /home/fcitx-3.2.1 (line 188 of Makefile).
*** Error code 1
Stop in /home/fcitx-3.2.1 (line 321 of Makefile). |
|