LinuxSir.cn,穿越时空的Linuxsir!

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

fcitx在freebsd中的兼容问题

[复制链接]
发表于 2003-9-30 10:18:37 | 显示全部楼层 |阅读模式
make -f Makefile.xft的错误
freebsd5.1中malloc.h被stdlib.h替代/包含了,注释掉错误提示中所出现文件中的#include <malloc.h>。
在文件MyErrorHandler.c中, 出现没有申明的信号“SIGUNUSED”, 此变量在linux下正常, 但是在freebsd5.1中出错, 不知道其在freebsd中对应的信号是什么, 或者代表一个什么数值。
请问怎么解决?
发表于 2003-9-30 10:27:00 | 显示全部楼层
我记得有人port了一个fcitx到freebsd的啊?找找看?
 楼主| 发表于 2003-9-30 10:29:50 | 显示全部楼层
是 1.8.4 的ports.没有1.8.5的ports
发表于 2003-9-30 10:58:57 | 显示全部楼层
 楼主| 发表于 2003-10-1 00:42:49 | 显示全部楼层
/usr/include/signum.h中有各种信号的定义
#define SIGHUP          1       /* Hangup (POSIX).  */
#define SIGINT          2       /* Interrupt (ANSI).  */
#define SIGQUIT         3       /* Quit (POSIX).  */
#define SIGILL          4       /* Illegal instruction (ANSI).  */
#define SIGTRAP         5       /* Trace trap (POSIX).  */
#define SIGABRT         6       /* Abort (ANSI).  */
#define SIGIOT          6       /* IOT trap (4.2 BSD).  */
#define SIGBUS          7       /* BUS error (4.2 BSD).  */
#define SIGFPE          8       /* Floating-point exception (ANSI).  */
#define SIGKILL         9       /* Kill, unblockable (POSIX).  */
#define SIGUSR1         10      /* User-defined signal 1 (POSIX).  */
#define SIGSEGV         11      /* Segmentation violation (ANSI).  */
#define SIGUSR2         12      /* User-defined signal 2 (POSIX).  */
#define SIGPIPE         13      /* Broken pipe (POSIX).  */
#define SIGALRM         14      /* Alarm clock (POSIX).  */
#define SIGTERM         15      /* Termination (ANSI).  */
#define SIGSTKFLT       16      /* ??? */
#define SIGCLD          SIGCHLD /* Same as SIGCHLD (System V).  */
#define SIGCHLD         17      /* Child status has changed (POSIX).  */
#define SIGCONT         18      /* Continue (POSIX).  */
#define SIGSTOP         19      /* Stop, unblockable (POSIX).  */
#define SIGTSTP         20      /* Keyboard stop (POSIX).  */
#define SIGTTIN         21      /* Background read from tty (POSIX).  */
#define SIGTTOU         22      /* Background write to tty (POSIX).  */
#define SIGURG          23      /* Urgent condition on socket (4.2 BSD).  */
#define SIGXCPU         24      /* CPU limit exceeded (4.2 BSD).  */
#define SIGXFSZ         25      /* File size limit exceeded (4.2 BSD).  */
#define SIGVTALRM       26      /* Virtual alarm clock (4.2 BSD).  */
#define SIGPROF         27      /* Profiling alarm clock (4.2 BSD).  */
#define SIGWINCH        28      /* Window size change (4.3 BSD, Sun).  */
#define SIGPOLL         SIGIO   /* Pollable event occurred (System V).  */
#define SIGIO           29      /* I/O now possible (4.2 BSD).  */
#define SIGPWR          30      /* Power failure restart (System V).  */
#define SIGUNUSED       31
 楼主| 发表于 2003-10-6 14:39:18 | 显示全部楼层
why when I type chinese, it can appear in the bar, but when I choose the word, it won't appear in the application like kwrite and etc..
发表于 2003-10-6 14:46:19 | 显示全部楼层
kwrite and what?
if only KDE programs elicit such phenomenon, run qtconfig and change the XIM style to over the spot.
 楼主| 发表于 2003-10-6 14:50:53 | 显示全部楼层
解决了。运行qtconfig,把xim的选项改成over the spot即可
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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