November 19, 2007

Installing emacs23 with X11 support on Leopard

For some reason Fink has not yet updated their version of GNU emacs. While there are several other options, including Aquamacs, xemacs from Fink and the terminal-only emacs that comes pre-installed on OSX, I missed my traditional GNU Emacs running over X11. Luckily, with a few tweaks to this guide, the process was pretty painless — assuming you've already got Fink installed, just do the following (all from the Terminal):

mkdir tmp
cd tmp
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs
cd emacs
fink install libungif libjpeg libtiff
export LIBS="-lresolv"
./configure --without-carbon --with-x --prefix=/usr/local
make bootstrap
make
sudo make install
cd /usr/local/bin/
sudo ln -s emacs emacs23
Posted by bug to Hacks at November 19, 2007 9:33 PM
Comments

I'm having a hell of a time trying to install emacs on my new laptop under X. Yours is the third thing I've tried that's failed. Here's where the commands you suggested fail:

bash-3.2$ fink install libungif libjpeg libtiff
/usr/bin/sudo /sw/bin/fink install libungif libjpeg libtiff
Password:
could not determine XFree86 version number
Information about 113 packages read in 2 seconds.
Failed: no package found for specification 'libungif'!

Any idea what I'm doing wrong?

Posted by: ruatango at March 11, 2008 12:32 PM
Post a comment












Anonymous posting is allowed, as are these HTML tags — a href, b, br, p, strong, em, ul, li, blockquote.
Email addresses are spam-protected.

You must have Javascript enabled to comment, due to the code I'm using to try to outwit spammers. Sorry for any inconvenience this may cause.

Remember Me