简体   繁体   English

如何编译emacs 22.3

[英]how to compile emacs 22.3

I've recently made a Slax instalation with only the core program. 我最近仅使用核心程序进行了Slax安装。 I used a copy of the live CD and ran a script to make hda1 bootable and then another script to use lilo to boot it... they were all in the CD... So it's like a big live cd on my HD and not really a full fledged OS. 我使用了现场CD的副本,并运行了一个脚本以使hda1可启动,然后运行了另一个脚本以使用lilo来启动它...它们都在CD中了...所以就像我的HD上的大型Live CD一样,真正成熟的操作系统。 Anyway I want to begin by compiling my own Emacs... Can someone help me? 无论如何,我想先编译自己的Emacs ...有人可以帮助我吗? thanks 谢谢

The process shouldn't be too complicated. 这个过程应该不会太复杂。 First, you need to download the source from http://ftp.gnu.org/pub/gnu/emacs/ Then, you untar the source with 首先,您需要从http://ftp.gnu.org/pub/gnu/emacs/下载源代码,然后使用

tar xzf emacs-22.3.tar.gz

and cd into the newly created directory (emacs-22.3) There, you run: 并cd进入新创建的目录(emacs-22.3),在其中运行:

./configure

and then 接着

make && make install

Read the INSTALL file for more information. 阅读INSTALL文件以获取更多信息。

To compile emacs 22.3, first download http://ftp.gnu.org/pub/gnu/emacs/emacs-22.3.tar.gz . 要编译emacs 22.3,请首先下载http://ftp.gnu.org/pub/gnu/emacs/emacs-22.3.tar.gz Extract the files to a directory, and then follow the instructions in the INSTALL file to install. 将文件提取到目录中,然后按照INSTALL文件中的说明进行安装。

If you're asking about how to compile it on a read-only filesystem: 如果您询问如何在只读文件系统上进行编译:

  1. If you have lots of RAM, you can mount a ram disk. 如果您有大量RAM,则可以安装ram磁盘。
  2. If you have a harddisk, you can mount the extra space. 如果您有硬盘,则可以安装额外的空间。
  3. You can look at something like fuse for more ideas. 您可以查看类似fuse以获取更多想法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM