LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1085|回复: 2

fcitx-3.2.1可以在openbsd3.9下编译使用吗?

[复制链接]
发表于 2006-6-28 15:28:22 | 显示全部楼层 |阅读模式
# 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).
发表于 2006-7-21 18:08:45 | 显示全部楼层
我也遇到同样的问题,有人回答吗?
回复 支持 反对

使用道具 举报

发表于 2006-7-23 16:31:47 | 显示全部楼层
见过这个问题的报告,但由于我没有BSD,没法判定哪儿出了问题……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表