Well,in my Ubuntu 6.10 + Beryl,I had installed fcitx-3.3.1 by apt-get,but it can't works well such as it can not displays the Wubi or Pinyin some characters.So I downloaded fcitx-3.4.1 from fcitx offical site and compiled it(after uninstall fcitx-3.3.1).After configure it,I did sudo make it and got the follow errors:
After this,I reinstalled fcitx-3.3.1 by apt-get and recompiled fcitx-3.4.1 again but I got the same errors above.finki@finki-desktop:~/fcitx-3.4.1$ sudo make
make all-recursive
make[1]: Entering directory `/home/finki/fcitx-3.4.1'
Making all in doc
make[2]: Entering directory `/home/finki/fcitx-3.4.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/doc'
Making all in xpm
make[2]: Entering directory `/home/finki/fcitx-3.4.1/xpm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/xpm'
Making all in lib
make[2]: Entering directory `/home/finki/fcitx-3.4.1/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/lib'
Making all in src
make[2]: Entering directory `/home/finki/fcitx-3.4.1/src'
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF ".deps/InputWindow.Tpo" -c -o InputWindow.o InputWindow.c; \
then mv -f ".deps/InputWindow.Tpo" ".deps/InputWindow.Po"; else rm -f ".deps/InputWindow.Tpo"; exit 1; fi
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -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. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -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
if gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -I/usr/include/freetype2 -D_USE_XFT -Wall -MT about.o -MD -MP -MF ".deps/about.Tpo" -c -o about.o about.c; \
then mv -f ".deps/about.Tpo" ".deps/about.Po"; else rm -f ".deps/about.Tpo"; exit 1; fi
about.c:35:21: error: X11/xpm.h: No such file or directory
about.c: In function ‘setIcon’:
about.c:184: error: ‘XpmAttributes’ undeclared (first use in this function)
about.c:184: error: (Each undeclared identifier is reported only once
about.c:184: error: for each function it appears in.)
about.c:184: error: expected ‘;’ before ‘attrib’
about.c:189: error: ‘attrib’ undeclared (first use in this function)
about.c:190: warning: implicit declaration of function ‘XCreatePixmapFromData’
about.c:191: error: ‘XpmSuccess’ undeclared (first use in this function)
about.c:192: warning: implicit declaration of function ‘XpmGetErrorString’
about.c:192: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
make[2]: *** [about.o] Error 1
make[2]: Leaving directory `/home/finki/fcitx-3.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/finki/fcitx-3.4.1'
make: *** [all] Error 2
Any help will be appreciated.