From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: emacs 22.1 only starts in terminal Date: Tue, 12 Jun 2007 10:07:19 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87veduox1k.fsf@lion.rapttech.com.au> References: <1181550577.598064.317760@a26g2000pre.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181608838 1593 80.91.229.12 (12 Jun 2007 00:40:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 00:40:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 02:40:34 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HxuQz-0003j6-Vx for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 02:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxuQz-0007rG-Qv for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Jun 2007 20:40:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.kjsl.com!news-xfer.nntp.sonic.net!news.astraweb.com!border1.newsrouter.astraweb.com!sn-xt-sjc-05!sn-xt-sjc-07!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:rbObbtNy5BX/cWp+xpMQhIpz1EE= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 39 Original-Xref: shelby.stanford.edu gnu.emacs.help:149316 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44901 Archived-At: flebber writes: > Hi > > I recently installed Emacs 22.1 from source on a PclinuxOs 2007 > install. The install went well apparently without errors. However the > only way I can use emacs is through a konsole or xterm session . I > also tried to make a menu entry for emacs in the menu editor (I am > using KDE) , I simply put the command entry as 'emacs' however this > fails to work at all. Will emacs only work as part of a terminal > session or is there something else I should do. I am going to try it > on my Debian(Etch) install later. > Sounds like you have failed to build emacs with X support. Emacs 22 supports two GUI libraries - the traditional X toolkit/motif libraries we are all familiar with and GTK+. While the configure program will try to select one of these, you need to have the necessary development libs for X/GTK installed. You should also pass the appropriate switches to configure (i.e. x-toolkit=...) and make sure that the output from configure actually finds things, like the dev libs for the GUI widgets you want to build with etc. I would suggest you read the documentation carefully and not just follow the 'quick start' - there are lots of options, such as support for sound, support for various image types, font types, etc. It is important to check the output from configure to make sure all the necessary libraries and programs are found. Tim P.S. If you plan to do this on Debian and you want to have the same sort of integration as you do with Debain versions of emacs, don't forget to update the startup.el file so that it sets the debian-emacs-flavor variable and knows where to find and load the necessary debian startup stuff. Remember you need to do this 'before' building emacs to ensure these changes are in the image the build process dumps. -- tcross (at) rapttech dot com dot au