tags:

views:

181

answers:

3

Hey,

I've recently made a Slax instalation with only the core program. 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. Anyway I want to begin by compiling my own Emacs... Can someone help me? thanks

+2  A: 

To compile emacs 22.3, first download 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.

Nathaniel Flath
+2  A: 

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

tar xzf emacs-22.3.tar.gz

and cd into the newly created directory (emacs-22.3) There, you run:

./configure

and then

make && make install

Read the INSTALL file for more information.

jbradaric
+2  A: 

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.
  2. If you have a harddisk, you can mount the extra space.
  3. You can look at something like fuse for more ideas.
sybreon