From owner-freebsd-questions@FreeBSD.ORG Sun Jul 24 13:28:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0860F1065670 for ; Sun, 24 Jul 2011 13:28:37 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 8141D8FC08 for ; Sun, 24 Jul 2011 13:28:36 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.4/8.14.4) with ESMTP id p6ODSLgv002823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 Jul 2011 15:28:21 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.4/8.14.4/Submit) with ESMTP id p6ODSL2P002820; Sun, 24 Jul 2011 15:28:21 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Sun, 24 Jul 2011 15:28:21 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Dick Hoogendijk In-Reply-To: <4E2C1914.7000106@nagual.nl> Message-ID: References: <4E2BF0BB.9040308@nagual.nl> <4E2C1914.7000106@nagual.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: =?ISO-8859-1?Q?Fagskolen_i_Gj=F8vik?= OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-1048159439-1311514079=:6876" Content-ID: X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on mail.fig.ol.no Cc: "C. P. Ghost" , FreeBSD Mailing List Subject: Re: emacs-nox11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2011 13:28:37 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1048159439-1311514079=:6876 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: 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@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@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 8.2-STABLE & Alpine 2.00 --2055831798-1048159439-1311514079=:6876--