zoukankan      html  css  js  c++  java
  • fcitx3.6.2 make error!error:(转)

    fcitx3.6.2 make error!error:

     
    X11/Xft/Xft.h: No such file or directory

    fcitx3.6.2 make error!
    The information:
    root@zhuangzhuang-laptop:/home/zhuangzhuang/fcitx-3.6.2# make
    make all-recursive
    make[1]: Entering directory `/home/zhuangzhuang/fcitx-3.6.2'
    Making all in doc
    make[2]: Entering directory `/home/zhuangzhuang/fcitx-3.6.2/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/zhuangzhuang/fcitx-3.6.2/doc'
    Making all in xpm
    make[2]: Entering directory `/home/zhuangzhuang/fcitx-3.6.2/xpm'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/zhuangzhuang/fcitx-3.6.2/xpm'
    Making all in lib
    make[2]: Entering directory `/home/zhuangzhuang/fcitx-3.6.2/lib'
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT FrameMgr.o -MD -MP -MF .deps/FrameMgr.Tpo -c -o FrameMgr.o FrameMgr.c
    mv -f .deps/FrameMgr.Tpo .deps/FrameMgr.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nAttr.o -MD -MP -MF .deps/i18nAttr.Tpo -c -o i18nAttr.o i18nAttr.c
    i18nAttr.c:78: warning: cast from pointer to integer of different size
    i18nAttr.c:86: warning: cast from pointer to integer of different size
    i18nAttr.c:86: warning: cast from pointer to integer of different size
    mv -f .deps/i18nAttr.Tpo .deps/i18nAttr.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nClbk.o -MD -MP -MF .deps/i18nClbk.Tpo -c -o i18nClbk.o i18nClbk.c
    mv -f .deps/i18nClbk.Tpo .deps/i18nClbk.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nIc.o -MD -MP -MF .deps/i18nIc.Tpo -c -o i18nIc.o i18nIc.c
    mv -f .deps/i18nIc.Tpo .deps/i18nIc.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nIMProto.o -MD -MP -MF .deps/i18nIMProto.Tpo -c -o i18nIMProto.o i18nIMProto.c
    mv -f .deps/i18nIMProto.Tpo .deps/i18nIMProto.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nMethod.o -MD -MP -MF .deps/i18nMethod.Tpo -c -o i18nMethod.o i18nMethod.c
    mv -f .deps/i18nMethod.Tpo .deps/i18nMethod.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nPtHdr.o -MD -MP -MF .deps/i18nPtHdr.Tpo -c -o i18nPtHdr.o i18nPtHdr.c
    mv -f .deps/i18nPtHdr.Tpo .deps/i18nPtHdr.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nUtil.o -MD -MP -MF .deps/i18nUtil.Tpo -c -o i18nUtil.o i18nUtil.c
    mv -f .deps/i18nUtil.Tpo .deps/i18nUtil.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT i18nX.o -MD -MP -MF .deps/i18nX.Tpo -c -o i18nX.o i18nX.c
    mv -f .deps/i18nX.Tpo .deps/i18nX.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT IMConn.o -MD -MP -MF .deps/IMConn.Tpo -c -o IMConn.o IMConn.c
    mv -f .deps/IMConn.Tpo .deps/IMConn.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT IMMethod.o -MD -MP -MF .deps/IMMethod.Tpo -c -o IMMethod.o IMMethod.c
    mv -f .deps/IMMethod.Tpo .deps/IMMethod.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT IMValues.o -MD -MP -MF .deps/IMValues.Tpo -c -o IMValues.o IMValues.c
    mv -f .deps/IMValues.Tpo .deps/IMValues.Po
    rm -f libXimd.a
    ar cru libXimd.a FrameMgr.o i18nAttr.o i18nClbk.o i18nIc.o i18nIMProto.o i18nMethod.o i18nPtHdr.o i18nUtil.o i18nX.o IMConn.o IMMethod.o IMValues.o
    ranlib libXimd.a
    make[2]: Leaving directory `/home/zhuangzhuang/fcitx-3.6.2/lib'
    Making all in src
    make[2]: Entering directory `/home/zhuangzhuang/fcitx-3.6.2/src'
    gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT IC.o -MD -MP -MF .deps/IC.Tpo -c -o IC.o IC.c
    mv -f .deps/IC.Tpo .deps/IC.Po
    gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -D_ENABLE_TRAY -D_ENABLE_LOG -Wall -MT ime.o -MD -MP -MF .deps/ime.Tpo -c -o ime.o ime.c
    In file included from ime.c:42:
    TrayWindow.h:6:25: error: X11/Xft/Xft.h: No such file or directory
    TrayWindow.h:7:34: error: X11/extensions/shape.h: No such file or directory
    make[2]: *** [ime.o] Error 1
    make[2]: Leaving directory `/home/zhuangzhuang/fcitx-3.6.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/zhuangzhuang/fcitx-3.6.2'
    make: *** [all] Error 2

    Is there anything I should install first?
     
    yd_xzn 09-10-13 19:58

    安装以下包后:
    已安装:
    libXtst-devel.x86_64 0:1.0.3-5.fc11

    依赖安装:
    libX11-devel.x86_64 0:1.2.2-1.fc11
    libXau-devel.x86_64 0:1.0.4-5.fc11
    libXdmcp-devel.x86_64 0:1.0.2-8.fc11
    libXext-devel.x86_64 0:1.0.99.1-3.fc11
    libxcb-devel.x86_64 0:1.2-4.fc11
    xorg-x11-proto-devel.noarch 0:7.4-15.fc11

    编译的出错信息为:
    make[2]: Leaving directory `/home/yd_xzn/temp/fcitx-3.6.2/lib'
    Making all in src
    make[2]: Entering directory `/home/yd_xzn/temp/fcitx-3.6.2/src'
    gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -INONE -INONE -D_ENABLE_TRAY -INONE -D_ENABLE_LOG -INONE -Wall -MT IC.o -MD -MP -MF .deps/IC.Tpo -c -o IC.o IC.c
    mv -f .deps/IC.Tpo .deps/IC.Po
    gcc -DPKGDATADIR=\"/usr/local/share/fcitx\" -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -g -O2 -INONE -INONE -D_ENABLE_TRAY -INONE -D_ENABLE_LOG -INONE -Wall -MT ime.o -MD -MP -MF .deps/ime.Tpo -c -o ime.o ime.c
    在包含自 ime.c:42 的文件中:
    TrayWindow.h:5:21: 错误:X11/xpm.h:没有那个文件或目录
    TrayWindow.h:6:25: 错误:X11/Xft/Xft.h:没有那个文件或目录
    In file included from ime.c:42:
    TrayWindow.h:20: 错误:expected specifier-qualifier-list before ‘XpmAttributes’
    make[2]: *** [ime.o] 错误 1
    make[2]: Leaving directory `/home/yd_xzn/temp/fcitx-3.6.2/src'
    make[1]: *** [all-recursive] 错误 1
    make[1]: Leaving directory `/home/yd_xzn/temp/fcitx-3.6.2'
    make: *** [all] 错误 2


    看来我得把X开发包、Gnome开发包者装上看看。
    yd_xzn 09-10-13 20:34

    yum install libXft-devel
    yum install libX*
    yum install ghc-X11-xft-devel

    安装了上述包后,再
    ./configure
    make
    su
    make install

    安装成功。
  • 相关阅读:
    mysql
    Spring MVC
    springSecurity
    导出Excel报表
    Redis集群搭建
    Oracle 分析数据库表行长度的统计信息 使用聚簇的步骤
    Dbms.job 学习
    oracel 学习系列
    Oracle 工具类 Sql 分析索引的 碎片率
    oracl
  • 原文地址:https://www.cnblogs.com/ljjphysics/p/2260857.html
Copyright © 2011-2022 走看看