文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>debian下 编译Emacs 23

debian下 编译Emacs 23

时间:2007-01-10  来源:linxh

1. 用命令 cvs -d :pserver:[email protected]/cvsroot co -r emacs-unicode-2 -d emacs23 cvs.savannah.gnu.org/emacs/emacs得到源码。

2. ./configure  --with-x-toolkit=gtk
    make bootstrap
    make info
    make install

3.  emacs: 报错“cannot open termcap database file.”

4. 解决方法:
      1)安装libgtk2.0-dev
      2)打开emacs/configure,找到代码
if test "$have_x" != yes; then
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
  no_x=yes
else
  # If each of the values was on the command line, it overrides each guess.
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  # Update the cache value to reflect the command line values.
  ac_cv_have_x="have_x=yes \
        ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
fi

改为

if test "$have_x" != yes; then
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
else
  no_x=yes
  # If each of the values was on the command line, it overrides each guess.
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  # Update the cache value to reflect the command line values.
  ac_cv_have_x="have_x=yes \
        ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
fi
相关阅读 更多 +
排行榜 更多 +
收割和堆放

收割和堆放

休闲益智 下载
口袋妖怪宿命的轮回

口袋妖怪宿命的轮回

休闲益智 下载
涡轮火箭

涡轮火箭

休闲益智 下载