LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1109|回复: 5

debian下编译的emacs只能在终端下运行?

[复制链接]
发表于 2005-8-25 13:10:24 | 显示全部楼层 |阅读模式
怎么让他在一个窗口里运行呢?
发表于 2005-8-25 13:27:06 | 显示全部楼层
应该是你的系统里面缺少 X 对应的开发包。
执行完 ./configure 之后,会列出侦测到 emacs 编译信息,比如,我这里显示:

  1. Configured for `i686-pc-linux-gnu'.

  2.   Where should the build process find the source code?    /home/jungle/src/emacs
  3.   What operating system and machine description files should Emacs use?
  4.         `s/gnu-linux.h' and `m/intel386.h'
  5.   What compiler should emacs be built with?               gcc -g -O2
  6.   Should Emacs use the GNU version of malloc?             yes
  7.       (Using Doug Lea's new malloc from the GNU C Library.)
  8.   Should Emacs use a relocating allocator for buffers?    yes
  9.   Should Emacs use mmap(2) for buffer allocation?         no
  10.   What window system should Emacs use?                    x11
  11.   What toolkit should Emacs use?                          LUCID
  12.   Where do we find X Windows header files?                /usr/X11R6/include
  13.   Where do we find X Windows libraries?                   /usr/X11R6/lib
  14.   Does Emacs use -lXaw3d?                                 yes
  15.   Does Emacs use -lXpm?                                   yes
  16.   Does Emacs use -ljpeg?                                  yes
  17.   Does Emacs use -ltiff?                                  yes
  18.   Does Emacs use -lungif?                                 yes
  19.   Does Emacs use -lpng?                                   yes
  20.   Does Emacs use X toolkit scroll bars?                   yes
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-25 13:33:47 | 显示全部楼层
哦 那应该装什么呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-25 14:09:08 | 显示全部楼层

  1. Configured for `i686-pc-linux-gnu'.

  2.   Where should the build process find the source code?    /root/emacs-cvs
  3.   What operating system and machine description files should Emacs use?
  4.         `s/gnu-linux.h' and `m/intel386.h'
  5.   What compiler should emacs be built with?               gcc -g -O2
  6.   Should Emacs use the GNU version of malloc?             yes
  7.       (Using Doug Lea's new malloc from the GNU C Library.)
  8.   Should Emacs use a relocating allocator for buffers?    yes
  9.   Should Emacs use mmap(2) for buffer allocation?         no
  10.   What window system should Emacs use?                    x11
  11.   What toolkit should Emacs use?                          LUCID
  12.   Where do we find X Windows header files?                /usr/X11R6/include
  13.   Where do we find X Windows libraries?                   /usr/X11R6/lib
  14.   Does Emacs use -lXaw3d?                                 no
  15.   Does Emacs use -lXpm?                                   yes
  16.   Does Emacs use -ljpeg?                                  no
  17.   Does Emacs use -ltiff?                                  no
  18.   Does Emacs use -lungif?                                 no
  19.   Does Emacs use -lpng?                                   no
  20.   Does Emacs use X toolkit scroll bars?                   no
复制代码


我装了 x-window-system 和 x-window-system-dev后。但还有些是no,要装什么呢?
谢谢拉
回复 支持 反对

使用道具 举报

发表于 2005-8-25 16:54:08 | 显示全部楼层
我上装的有 xaw3dg-dev, libjpeg62-dev, libtiff3g-dev, libungif4-dev, libpng12-dev,具体版本可能会因系统而不同。
回复 支持 反对

使用道具 举报

发表于 2005-8-25 20:15:45 | 显示全部楼层
Debian 官方 emacs 的 build-depend 可以在下面的网页看到
http://packages.debian.org/unstable/source/emacs21

还有编译 cvs 版 emacs 所需要的内容
http://packages.debian.org/unstable/source/emacs-snapshot
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表