Updating Emacs without installing X?

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Aug 14 02:21:19 PDT 2004


On 2004-08-13 23:49, "Kevin D. Kinsey, DaleCo, S.P." <kdk at daleco.biz> wrote:
> Your Name wrote:
> > First i want to upgrade Emacs from an older version, but when i try
> > to do this from ports it starts trying to install a whole bunch of X
> > stuff.
>
> Emacs requires XFree libraries, and I think imake, in order to build
> and run.

That's not true.  Emacs can be built without X11 support if necessary:

    $ ldd `which emacs`
    /usr/local/bin/emacs:
            libutil.so.4 => /lib/libutil.so.4 (0x28168000)
            libncurses.so.5 => /lib/libncurses.so.5 (0x28174000)
            libm.so.2 => /lib/libm.so.2 (0x281b3000)
            libc.so.5 => /lib/libc.so.5 (0x281cd000)
    $

This version of Emacs has been built from the ports.  I've used WITHOUT_X11
on the command line to force Emacs to build without any X11 support.

Giorgos



More information about the freebsd-questions mailing list