Thursday, December 15, 2005

Anti-aliased Emacs on Fedora Core 4 (and 5)

I managed to build Emacs with anti-aliased fonts on my FC4 machine. I mostly followed these instructions (ignoring the Debian-specific stuff), with the following extra steps:
  • I had to install the libpng-devel RPM (I used yum). The lack of this library was not detected by the emacs configure script.
  • I had to install setarch to use during the build process. The exec-shield functionality and randomization of virtual address spaces in Fedora Core 4 messes up the emacs bootstrapping process. I ran ./configure ; setarch i386 -R make bootstrap to build emacs.
The build seems to run fine, and the anti-aliased fonts make a big difference.

UPDATE (10/27/06): I just did a re-build on Fedora Core 5 using these instructions, and everything went fine. Now, when compiling, you need to run ./configure --with-gtk --enable-font-backend --with-xft; setarch i386 -R make bootstrap to make things work. Hopefully soon this code will be stable enough that someone releases an RPM.
Post a Comment