From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.help Subject: Re: Can't build emacs! Date: Fri, 29 Oct 2004 21:00:20 +1000 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87mzy57prv.fsf@enki.rimspace.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099047718 29559 80.91.229.6 (29 Oct 2004 11:01:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2004 11:01:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 29 13:01:50 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CNUVx-0006nM-00 for ; Fri, 29 Oct 2004 13:01:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNUdo-0007Sy-1s for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Oct 2004 07:09:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNUde-0007SU-Gn for help-gnu-emacs@gnu.org; Fri, 29 Oct 2004 07:09:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNUde-0007SI-2C for help-gnu-emacs@gnu.org; Fri, 29 Oct 2004 07:09:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNUdd-0007SF-To for help-gnu-emacs@gnu.org; Fri, 29 Oct 2004 07:09:46 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNUVc-0003hG-KL for help-gnu-emacs@gnu.org; Fri, 29 Oct 2004 07:01:29 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CNUVb-0004WF-00 for ; Fri, 29 Oct 2004 13:01:27 +0200 Original-Received: from 203-217-29-45.perm.iinet.net.au ([203.217.29.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Oct 2004 13:01:27 +0200 Original-Received: from daniel by 203-217-29-45.perm.iinet.net.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Oct 2004 13:01:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203-217-29-45.perm.iinet.net.au User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:KycakuJ1rTR3N1EuxLjYJrMP574= 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21578 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21578 On 29 Oct 2004, JS wrote: > "Daniel Pittman" skrev i en meddelelse > news:mailman.5896.1099023040.2017.help-gnu-emacs@gnu.org... >> On 29 Oct 2004, JS wrote: >>> I have just installed ubuntu Linux and extracted the latest emacs >>> version: 21.3 on my AMD Barton 2500 XP machine. >>> >>> I get the following errormessage when I try to run >>> "configure": >>> >>> johs@ubuntu:~/emacs-21.3 $ ./configure >>> loading cache ./config.cache >>> checking host system type... i686-pc-linux-gnu >>> checking for gcc... no >>> checking for cc... no >>> configure: error: no acceptable cc found in $PATH >>> johs@ubuntu:~/emacs-21.3 $ >>> >>> What is the solution for this problem? >> >> Install a C compiler. It should be named something intuitive like >> 'gcc.' > > I have never tried Linux before so it would be nice with some more specific > information if possible. I would strongly suggest, if you are new to Linux and not very experienced with Unix in general, that you stick to the packages supplied by your distribution while you find your way around. Anyway, the process is pretty simple: the error you hit was because the C compiler is not install and, as such, Emacs can't compile the C code. To correct this you will need to install a few development tools. Your distribution will supply some package installation tool; not being an Ubuntu user I don't know what it is called. Fire that up, then find the 'GNU C compiler' package. Typically, this will be named 'gcc' and will be in the 'development' section. Once that is installed the compilation will proceed further. Since Ubuntu is based on Debian, however, and as I understand things includes all the Debian packages in the 'universe' section, you can probably just install the 'emacs21' package -- that is what I use, and is the precompiled binary for the system. For more detailed help on using the package management tools in your distribution, try on their user mailing list - people there are sure to know the tools you require. Regards, Daniel -- The knowledge imposes a pattern, and falsifies, For the pattern is new in every moment... -- T. S. Eliot, _Four Quartets_