emacs-nox11

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Sun Jul 24 13:28:37 UTC 2011


On Sun, 24 Jul 2011 15:07+0200, Dick Hoogendijk wrote:

> Op 24-7-2011 12:46 schreef C. P. Ghost:
> > Since there are no X11 libs in emacs despite all those options
> > being set anyway, I suppose that setting WITHOUT_X11 creates
> > a non-X11 emacs.
> > 
> > I'm using the following port (normal emacs, with WITHOUT_X11 set):
> > 
> > % echo /var/db/pkg/emacs*
> > /var/db/pkg/emacs-23.3_1,2
> > 
> > But I don't know if X dependencies are being pulled in when the
> > port is being built with all those options.
> 
> Yes, but the latter is just what worries me. I want a console version of
> emacs. It's a server and I absolutely do not want any X dependencies
> cluttering my system. Ports are great but sometimes they have bitten me in
> this respect.
> Sure, I can do a dry run on a virtual freebsd machine, but that is not at all
> that fast.
> So I'm still looking for people who have done this ans _know_ it will work out
> OK.

I can confirm that on my systems editors/emacs-nox11 is linked to the 
following libraries only:

trond at enterprise:~>ldd /usr/local/bin/emacs
/usr/local/bin/emacs:
        libutil.so.8 => /lib/libutil.so.8 (0x281ca000)
        libncurses.so.8 => /lib/libncurses.so.8 (0x281d9000)
        libm.so.5 => /lib/libm.so.5 (0x28219000)
        libc.so.7 => /lib/libc.so.7 (0x28233000)

I have never bothered running make config on editors/emacs-nox11 on 
FreeBSD systems without X Window System. So far it seems to be a good 
strategy.


HTH,
Trond.

-- 
----------------------------------------------------------------------
Trond Endrestøl                  | Trond.Endrestol at fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX     |    FreeBSD 8.2-STABLE & Alpine 2.00


More information about the freebsd-questions mailing list