|
请问为什么我执行以下的命令时,为什么会出现以下的错误啦!
[root@pdc fcitx]# make
make all-recursive
make[1]: Entering directory `/home/fandy/fcitx'
Making all in doc
make[2]: Entering directory `/home/fandy/fcitx/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fandy/fcitx/doc'
Making all in tools
make[2]: Entering directory `/home/fandy/fcitx/tools'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib -g -O2 -INONE -Wall -MT mb2txt.o -MD -MP -MF ".deps/mb2txt.Tpo" -c -o mb2txt.o mb2txt.c; \
then mv -f ".deps/mb2txt.Tpo" ".deps/mb2txt.Po"; else rm -f ".deps/mb2txt.Tpo"; exit 1; fi
gcc -g -O2 -INONE -Wall -o mb2txt mb2txt.o -LNONE -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [mb2txt] 错误 1
make[2]: Leaving directory `/home/fandy/fcitx/tools'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/fandy/fcitx'
make: *** [all] 错误 2
[root@pdc fcitx]# make install
Making install in doc
make[1]: Entering directory `/home/fandy/fcitx/doc'
make[2]: Entering directory `/home/fandy/fcitx/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 `/home/fandy/fcitx/doc'
make[1]: Leaving directory `/home/fandy/fcitx/doc'
Making install in tools
make[1]: Entering directory `/home/fandy/fcitx/tools'
gcc -g -O2 -INONE -Wall -o mb2txt mb2txt.o -LNONE -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [mb2txt] 错误 1
make[1]: Leaving directory `/home/fandy/fcitx/tools'
make: *** [install-recursive] 错误 1 |
|