unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to build emacs? (2015-02 Fedora)
@ 2015-02-05 12:32 Tory S. Anderson
  2015-02-05 12:55 ` Tassilo Horn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tory S. Anderson @ 2015-02-05 12:32 UTC (permalink / raw)
  To: emacs list

I'm embarrassed to have to ask this, but I'm having trouble figuring out how to build emacs. I decided to do this because the version I get from my distro is:
 GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9) of 2014-09-30 on buildvm-10.phx2.fedoraproject.org

and lately when I try to install packages from ELPA I receive errors about not having emacs 24.4; ergo sum, I'm trying to get the latest and greatest. But I followed these steps:

1. Get relevant links from https://savannah.gnu.org/git/?group=emacs
2. Run git clone git://git.savannah.gnu.org/emacs.git

And this is where progress ends. I try to follow the INSTALL instructions, but they simply don't make sense:


$ ./configure
	bash: ./configure: No such file or directory
$ find -name "configure" 	# no results
$ ./make-dist 
	./make-dist: You must set the EMACS environment variable  to an absolute file name.
$ autoconf
        configure.ac:54: error: possibly undefined macro: AS_ECHO
              If this token and others are legitimate, please use m4_pattern_allow.
              See the Autoconf documentation.
        configure.ac:95: error: possibly undefined macro: AM_INIT_AUTOMAKE
        configure.ac:245: error: possibly undefined macro: AC_DEFINE
        configure.ac:769: error: possibly undefined macro: AM_PROG_CC_C_O
        configure.ac:780: error: possibly undefined macro: AM_CONDITIONAL
        configure.ac:1037: error: possibly undefined macro: AM_SILENT_RULES
        configure.ac:1043: error: possibly undefined macro: AM_SUBST_NOTMAKE
        configure.ac:1494: error: possibly undefined macro: m4_default
$ ./configure 
	configure: error: cannot find install-sh, install.sh, or shtool in build-aux "."/build-aux

Now, I could start going about trying to address these problems individually, but the fact that I'm led astray immediately indicates that I might have more fundamental problems.

What's going on? How can I build emacs? 

System: Fedora Linux 20, 64-bit. 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to build emacs? (2015-02 Fedora)
  2015-02-05 12:32 How to build emacs? (2015-02 Fedora) Tory S. Anderson
@ 2015-02-05 12:55 ` Tassilo Horn
       [not found] ` <mailman.19310.1423140968.1147.help-gnu-emacs@gnu.org>
  2015-02-06  2:07 ` Alexis
  2 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2015-02-05 12:55 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: emacs list

torys.anderson@gmail.com (Tory S. Anderson) writes:

> And this is where progress ends. I try to follow the INSTALL
> instructions, but they simply don't make sense:

For building the current version from git, you should look into
INSTALL.REPO instead.  That tells you that you should do

  ./autogen.sh
  ./configure
  make

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to build emacs? (2015-02 Fedora)
       [not found] ` <mailman.19310.1423140968.1147.help-gnu-emacs@gnu.org>
@ 2015-02-06  1:35   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2015-02-06  1:35 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: emacs list

Tassilo Horn <tsdh@gnu.org> writes:

> torys.anderson@gmail.com (Tory S. Anderson) writes:
>
>> And this is where progress ends. I try to follow the INSTALL
>> instructions, but they simply don't make sense:
>
> For building the current version from git, you should look into
> INSTALL.REPO instead.  That tells you that you should do
>
>   ./autogen.sh
>   ./configure
>   make

On GNU/Linux systems, you can just say "make" after cloning the repo.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to build emacs? (2015-02 Fedora)
  2015-02-05 12:32 How to build emacs? (2015-02 Fedora) Tory S. Anderson
  2015-02-05 12:55 ` Tassilo Horn
       [not found] ` <mailman.19310.1423140968.1147.help-gnu-emacs@gnu.org>
@ 2015-02-06  2:07 ` Alexis
  2 siblings, 0 replies; 4+ messages in thread
From: Alexis @ 2015-02-06  2:07 UTC (permalink / raw)
  To: help-gnu-emacs


Tory S. Anderson writes:

> I'm embarrassed to have to ask this, but I'm having trouble 
> figuring out how to build emacs. I decided to do this because 
> the version I get from my distro is: GNU Emacs 24.3.1 
> (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9) of 2014-09-30 on 
> buildvm-10.phx2.fedoraproject.org
>
> and lately when I try to install packages from ELPA I receive 
> errors about not having emacs 24.4; ergo sum, I'm trying to get 
> the latest and greatest. But I followed these steps:
>
> 1. Get relevant links from 
> https://savannah.gnu.org/git/?group=emacs 2. Run git clone 
> git://git.savannah.gnu.org/emacs.git
>
> And this is where progress ends. I try to follow the INSTALL 
> instructions, but they simply don't make sense:

If you just want 24.4 (which is the current stable release), 
rather than working with a bleeding-edge and unstable version, i 
would recommend not cloning the repo, but simply downloading the 
source of the official release:

https://www.gnu.org/software/emacs/#Obtaining

Once you unpack the archive, you can then:

$ cd [directory you unpacked the archive into]
$ ./configure
$ make
$ make install

Note that there might well be a whole lot of dev packages you'll 
need to install; the output of `configure` will assist you in 
telling you what is required in this regard.


Alexis.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-06  2:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 12:32 How to build emacs? (2015-02 Fedora) Tory S. Anderson
2015-02-05 12:55 ` Tassilo Horn
     [not found] ` <mailman.19310.1423140968.1147.help-gnu-emacs@gnu.org>
2015-02-06  1:35   ` Lars Magne Ingebrigtsen
2015-02-06  2:07 ` Alexis

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).