* Upgrading Emacs from Git
@ 2016-02-10 10:22 Marcin Borkowski
2016-02-10 16:51 ` Gregor Zattler
2016-02-10 17:27 ` Eli Zaretskii
0 siblings, 2 replies; 9+ messages in thread
From: Marcin Borkowski @ 2016-02-10 10:22 UTC (permalink / raw)
To: Help Gnu Emacs mailing list
Hi,
a quick question: I compiled Emacs from Git and now want to upgrade it.
Is it enough to pull a fresh version and then make && make install?
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
2016-02-10 10:22 Upgrading Emacs from Git Marcin Borkowski
@ 2016-02-10 16:51 ` Gregor Zattler
2016-02-11 14:07 ` Stefan Monnier
2016-02-10 17:27 ` Eli Zaretskii
1 sibling, 1 reply; 9+ messages in thread
From: Gregor Zattler @ 2016-02-10 16:51 UTC (permalink / raw)
To: help-gnu-emacs
Hi Marcin,
* Marcin Borkowski <mbork@mbork.pl> [10. Feb. 2016]:
> a quick question: I compiled Emacs from Git and now want to upgrade it.
> Is it enough to pull a fresh version and then make && make install?
A simple git pull is all you need to do in order to get new
commits. After that do a make && make install.
Ciao, Gregor
--
-... --- .-. . -.. ..--.. ...-.-
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
2016-02-10 10:22 Upgrading Emacs from Git Marcin Borkowski
2016-02-10 16:51 ` Gregor Zattler
@ 2016-02-10 17:27 ` Eli Zaretskii
2016-02-10 18:20 ` Óscar Fuentes
1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2016-02-10 17:27 UTC (permalink / raw)
To: help-gnu-emacs
> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Wed, 10 Feb 2016 11:22:53 +0100
>
> a quick question: I compiled Emacs from Git and now want to upgrade it.
> Is it enough to pull a fresh version and then make && make install?
It should be enough to "git pull" into the same repository where you
have the previous version, and then "make && make install".
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
2016-02-10 17:27 ` Eli Zaretskii
@ 2016-02-10 18:20 ` Óscar Fuentes
2016-02-11 0:52 ` Emanuel Berg
[not found] ` <mailman.4359.1455152116.843.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 9+ messages in thread
From: Óscar Fuentes @ 2016-02-10 18:20 UTC (permalink / raw)
To: help-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
>> a quick question: I compiled Emacs from Git and now want to upgrade it.
>> Is it enough to pull a fresh version and then make && make install?
>
> It should be enough to "git pull" into the same repository where you
> have the previous version, and then "make && make install".
If "make" fails, try "make bootstrap".
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
2016-02-10 18:20 ` Óscar Fuentes
@ 2016-02-11 0:52 ` Emanuel Berg
2016-02-11 1:24 ` Óscar Fuentes
[not found] ` <mailman.4359.1455152116.843.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 9+ messages in thread
From: Emanuel Berg @ 2016-02-11 0:52 UTC (permalink / raw)
To: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
>> It should be enough to "git pull" into the same
>> repository where you have the previous version, and
>> then "make && make install".
>
> If "make" fails, try "make bootstrap".
What do you do if that fails as well?
--
underground experts united
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
2016-02-11 0:52 ` Emanuel Berg
@ 2016-02-11 1:24 ` Óscar Fuentes
2016-02-11 1:55 ` Emanuel Berg
0 siblings, 1 reply; 9+ messages in thread
From: Óscar Fuentes @ 2016-02-11 1:24 UTC (permalink / raw)
To: help-gnu-emacs
Emanuel Berg <embe8573@student.uu.se> writes:
>>> It should be enough to "git pull" into the same
>>> repository where you have the previous version, and
>>> then "make && make install".
>>
>> If "make" fails, try "make bootstrap".
>
> What do you do if that fails as well?
In the directory that contains the git checkout execute:
git clean -f -d -x
That ensures that you are using a pristine source directory. Then
make
If that fails, then the build is broken due to some erroneous change
made by the developers. Wait one day or two, "git pull" again, repeat
the build process. If the build is still broken, on Emacs do
M-x report-emacs-bug
including details about your setup (compiler, library versions, etc) and
the output of the build at the failure point.
It is possible to check out a previous vesion (one day ago, for
instance) instead of waiting for a fix upstream, but that requires and
slightly more complicated git usage.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
[not found] ` <mailman.4359.1455152116.843.help-gnu-emacs@gnu.org>
@ 2016-02-11 1:25 ` P. A. López-Valencia
0 siblings, 0 replies; 9+ messages in thread
From: P. A. López-Valencia @ 2016-02-11 1:25 UTC (permalink / raw)
To: help-gnu-emacs
El 10/02/2016 a las 7:52 p. m., Emanuel Berg escribió:
> Óscar Fuentes <ofv@wanadoo.es> writes:
>
>>> It should be enough to "git pull" into the same
>>> repository where you have the previous version, and
>>> then "make && make install".
>>
>> If "make" fails, try "make bootstrap".
>
> What do you do if that fails as well?
>
You do:
[you@yourbox /path/to/emacs-git-repo-copy] $ make distclean &&
./configure [--config-flags] && make
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
2016-02-11 1:24 ` Óscar Fuentes
@ 2016-02-11 1:55 ` Emanuel Berg
0 siblings, 0 replies; 9+ messages in thread
From: Emanuel Berg @ 2016-02-11 1:55 UTC (permalink / raw)
To: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
>> What do you do if that fails as well?
>
> In the directory that contains the git checkout
> execute:
>
> git clean -f -d -x
>
> That ensures that you are using a pristine source
> directory. Then
>
> make
>
> If that fails, then the build is broken due to some
> erroneous change made by the developers. Wait one day
> or two, "git pull" again, repeat the build process.
> If the build is still broken, on Emacs do
>
> M-x report-emacs-bug
>
> including details about your setup (compiler, library
> versions, etc) and the output of the build at the
> failure point.
>
> It is possible to check out a previous vesion (one day
> ago, for instance) instead of waiting for a fix
> upstream, but that requires and slightly more
> complicated git usage.
Case closed :)
--
underground experts united
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Upgrading Emacs from Git
2016-02-10 16:51 ` Gregor Zattler
@ 2016-02-11 14:07 ` Stefan Monnier
0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2016-02-11 14:07 UTC (permalink / raw)
To: help-gnu-emacs
>> a quick question: I compiled Emacs from Git and now want to upgrade it.
>> Is it enough to pull a fresh version and then make && make install?
> A simple git pull is all you need to do in order to get new
> commits. After that do a make && make install.
FWIW, I just do "make" and never run "make install".
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-02-11 14:07 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-10 10:22 Upgrading Emacs from Git Marcin Borkowski
2016-02-10 16:51 ` Gregor Zattler
2016-02-11 14:07 ` Stefan Monnier
2016-02-10 17:27 ` Eli Zaretskii
2016-02-10 18:20 ` Óscar Fuentes
2016-02-11 0:52 ` Emanuel Berg
2016-02-11 1:24 ` Óscar Fuentes
2016-02-11 1:55 ` Emanuel Berg
[not found] ` <mailman.4359.1455152116.843.help-gnu-emacs@gnu.org>
2016-02-11 1:25 ` P. A. López-Valencia
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).