[root@localhost root]# cd temp
[root@localhost temp]# cd fcitx-3.0.0
[root@localhost fcitx-3.0.0]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking for sys/wait.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for pkg-config... /usr/bin/pkg-config
checking for xft >= 0.0.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/include/freetype2
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
checking for pid_t... yes
checking for size_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fcitx.spec
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating debian/Makefile
config.status: creating xpm/Makefile
config.status: creating lib/Makefile
config.status: creating src/version.h
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[root@localhost fcitx-3.0.0]# make
make all-recursive
make[1]: Entering directory `/root/temp/fcitx-3.0.0'
Making all in doc
make[2]: Entering directory `/root/temp/fcitx-3.0.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/doc'
Making all in data
make[2]: Entering directory `/root/temp/fcitx-3.0.0/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/data'
Making all in debian
make[2]: Entering directory `/root/temp/fcitx-3.0.0/debian'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/debian'
Making all in xpm
make[2]: Entering directory `/root/temp/fcitx-3.0.0/xpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/xpm'
Making all in lib
make[2]: Entering directory `/root/temp/fcitx-3.0.0/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/lib'
Making all in src
make[2]: Entering directory `/root/temp/fcitx-3.0.0/src'
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -D_USE_XFT -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -D_USE_XFT -Wall -MT tools.o -MD -MP -MF ".deps/tools.Tpo" -c -o tools.o tools.c; \
then mv -f ".deps/tools.Tpo" ".deps/tools.Po"; else rm -f ".deps/tools.Tpo"; exit 1; fi
gcc -O2 -fno-strength-reduce -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -D_USE_XFT -Wall -o fcitx IC.o ime.o InputWindow.o KeyList.o main.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyMapTable.o pyParser.o sp.o tools.o ui.o table.o xim.o qw.o ../lib/libXimd.a -L/usr/X11R6/lib -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig -lX11
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/src'
Making all in tools
make[2]: Entering directory `/root/temp/fcitx-3.0.0/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/tools'
make[2]: Entering directory `/root/temp/fcitx-3.0.0'
make[2]: Leaving directory `/root/temp/fcitx-3.0.0'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0'
[root@localhost fcitx-3.0.0]# make install
Making install in doc
make[1]: Entering directory `/root/temp/fcitx-3.0.0/doc'
make[2]: Entering directory `/root/temp/fcitx-3.0.0/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/fcitx/doc" || mkdir -p -- . "/usr/local/share/fcitx/doc"
/usr/bin/install -c -m 644 'cjkvinput.txt' '/usr/local/share/fcitx/doc/cjkvinput.txt'
/usr/bin/install -c -m 644 'wb_fh.htm' '/usr/local/share/fcitx/doc/wb_fh.htm'
/usr/bin/install -c -m 644 'fcitx3.pdf' '/usr/local/share/fcitx/doc/fcitx3.pdf'
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/doc'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0/doc'
Making install in data
make[1]: Entering directory `/root/temp/fcitx-3.0.0/data'
make[2]: Entering directory `/root/temp/fcitx-3.0.0/data'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/fcitx/data" || mkdir -p -- . "/usr/local/share/fcitx/data"
/usr/bin/install -c -m 644 'erbi.mb' '/usr/local/share/fcitx/data/erbi.mb'
/usr/bin/install -c -m 644 'punc.mb' '/usr/local/share/fcitx/data/punc.mb'
/usr/bin/install -c -m 644 'pybase.mb' '/usr/local/share/fcitx/data/pybase.mb'
/usr/bin/install -c -m 644 'py.mb' '/usr/local/share/fcitx/data/py.mb'
/usr/bin/install -c -m 644 'pyphrase.mb' '/usr/local/share/fcitx/data/pyphrase.mb'
/usr/bin/install -c -m 644 'pySym.mb' '/usr/local/share/fcitx/data/pySym.mb'
/usr/bin/install -c -m 644 'sp.dat' '/usr/local/share/fcitx/data/sp.dat'
/usr/bin/install -c -m 644 'wbx.mb' '/usr/local/share/fcitx/data/wbx.mb'
/usr/bin/install -c -m 644 'tables.conf' '/usr/local/share/fcitx/data/tables.conf'
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/data'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0/data'
Making install in debian
make[1]: Entering directory `/root/temp/fcitx-3.0.0/debian'
make[2]: Entering directory `/root/temp/fcitx-3.0.0/debian'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/debian'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0/debian'
Making install in xpm
make[1]: Entering directory `/root/temp/fcitx-3.0.0/xpm'
make[2]: Entering directory `/root/temp/fcitx-3.0.0/xpm'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/fcitx/xpm" || mkdir -p -- . "/usr/local/share/fcitx/xpm"
/usr/bin/install -c -m 644 'chnPunc.xpm' '/usr/local/share/fcitx/xpm/chnPunc.xpm'
/usr/bin/install -c -m 644 'engPunc.xpm' '/usr/local/share/fcitx/xpm/engPunc.xpm'
/usr/bin/install -c -m 644 'fullcorner.xpm' '/usr/local/share/fcitx/xpm/fullcorner.xpm'
/usr/bin/install -c -m 644 'gbk-0.xpm' '/usr/local/share/fcitx/xpm/gbk-0.xpm'
/usr/bin/install -c -m 644 'gbk-1.xpm' '/usr/local/share/fcitx/xpm/gbk-1.xpm'
/usr/bin/install -c -m 644 'halfcorner.xpm' '/usr/local/share/fcitx/xpm/halfcorner.xpm'
/usr/bin/install -c -m 644 'logo.xpm' '/usr/local/share/fcitx/xpm/logo.xpm'
/usr/bin/install -c -m 644 'lx-0.xpm' '/usr/local/share/fcitx/xpm/lx-0.xpm'
/usr/bin/install -c -m 644 'lx-1.xpm' '/usr/local/share/fcitx/xpm/lx-1.xpm'
/usr/bin/install -c -m 644 'next.xpm' '/usr/local/share/fcitx/xpm/next.xpm'
/usr/bin/install -c -m 644 'prev.xpm' '/usr/local/share/fcitx/xpm/prev.xpm'
/usr/bin/install -c -m 644 'lock-0.xpm' '/usr/local/share/fcitx/xpm/lock-0.xpm'
/usr/bin/install -c -m 644 'lock-1.xpm' '/usr/local/share/fcitx/xpm/lock-1.xpm'
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/xpm'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0/xpm'
Making install in lib
make[1]: Entering directory `/root/temp/fcitx-3.0.0/lib'
make[2]: Entering directory `/root/temp/fcitx-3.0.0/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/lib'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0/lib'
Making install in src
make[1]: Entering directory `/root/temp/fcitx-3.0.0/src'
make[2]: Entering directory `/root/temp/fcitx-3.0.0/src'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'fcitx' '/usr/local/bin/fcitx'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/src'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0/src'
Making install in tools
make[1]: Entering directory `/root/temp/fcitx-3.0.0/tools'
make[2]: Entering directory `/root/temp/fcitx-3.0.0/tools'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'mb2txt' '/usr/local/bin/mb2txt'
/usr/bin/install -c 'txt2mb' '/usr/local/bin/txt2mb'
/usr/bin/install -c 'createPYMB' '/usr/local/bin/createPYMB'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0/tools'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0/tools'
make[1]: Entering directory `/root/temp/fcitx-3.0.0'
make[2]: Entering directory `/root/temp/fcitx-3.0.0'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/temp/fcitx-3.0.0'
make[1]: Leaving directory `/root/temp/fcitx-3.0.0'
[root@localhost fcitx-3.0.0]#
安装后,右下角找不到它。Ctrl+shift调不出它?
谢谢指教 |