avidyalalala / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

FreeBSD 上的安装问题 #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
可以在 FreeBSD 上安装吗?FreeBSD 上已经安装好了 ibus 
框架,ibus-pinyin 也能
正常使用。 但是安装 ibus-sunpinyin-2.0_rc4 的时候,执行 
configure 会报错:
config.status: linking ./src/config/.h to src/host_os.h config.status:
error: ./src/config/.h: file not found

见 http://code.google.com/p/ibus-sunpinyin/wiki/installation

Original issue reported on code.google.com by tchai...@gmail.com on 1 Mar 2010 at 11:32

GoogleCodeExporter commented 9 years ago
应该是configure.ac里的host detecting的问题吧 ...

 47 case "${host_os}" in
 48 *linux*)            my_host_os=linux;;
 49 *solaris*)          my_host_os=solaris;;
 50 *darwin*)           my_host_os=mac;;
 51 *beos*|*haiku*)     my_host_os=beos;;                                                           
 52 esac                      

可以把 *bsd*) 
my_host_os=linux;;加进去试一试,这个检测将来应该要废弃掉 ...

Original comment by find...@gmail.com on 2 Mar 2010 at 12:32

GoogleCodeExporter commented 9 years ago
我现在用的ibus-sunpinyin,直接用linux应该有问题,比如那个TICo
nvSrcPtr在BSD里是const
char*,以及没有log2等。
现在是把beos.h直接拷成.h,然后稍微改改,就能用了……

Original comment by Henry.Hu...@gmail.com on 18 Mar 2010 at 11:21

GoogleCodeExporter commented 9 years ago
能把你改好的 beos.h 贴上来么?我把它放到 git 上去。

Original comment by tchai...@gmail.com on 18 Mar 2010 at 11:50

GoogleCodeExporter commented 9 years ago
我把 *bsd*) my_host_os=linux;; 加入了还是一样,configure 
无法通过。
我不知道 FreeBSD 
对应的host_os是什么,也不懂配置文件的语法,直接赋值 
my_host_os=linux;; 也没有
效果,只好作罢

Original comment by haiyi....@gmail.com on 30 Mar 2010 at 4:55

GoogleCodeExporter commented 9 years ago
我机器的host_os是freebsd8.0,所以匹配*bsd*)成功。

Original comment by solo.l...@gmail.com on 4 Jun 2010 at 2:41

GoogleCodeExporter commented 9 years ago
#136 的信息更完整,marking as dup with #136.

Original comment by tchai...@gmail.com on 6 Jun 2010 at 6:09