unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
Subject: Re: Can't build emacs!
Date: Fri, 29 Oct 2004 21:00:20 +1000	[thread overview]
Message-ID: <87mzy57prv.fsf@enki.rimspace.net> (raw)
In-Reply-To: clt2nn$qcp$1@news.net.uni-c.dk

On 29 Oct 2004, JS wrote:
> "Daniel Pittman" <daniel@rimspace.net> 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_

      reply	other threads:[~2004-10-29 11:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-29  2:09 Can't build emacs! JS
2004-10-29  3:54 ` Daniel Pittman
     [not found] ` <mailman.5896.1099023040.2017.help-gnu-emacs@gnu.org>
2004-10-29  9:35   ` JS
2004-10-29 11:00     ` Daniel Pittman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mzy57prv.fsf@enki.rimspace.net \
    --to=daniel@rimspace.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).