all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Building Emacs
@ 2008-06-24 11:51 Nick Roberts
  2008-06-24 13:09 ` Stefan Monnier
  0 siblings, 1 reply; 29+ messages in thread
From: Nick Roberts @ 2008-06-24 11:51 UTC (permalink / raw)
  To: emacs-devel


In the past I would use "make recompile" in the lisp directory followed by
"make" in the emacs directory because it was much faster than doing a
bootstrap, and because I have my own experimental versions of files in the lisp
directory that I don't want autoloading.

Now I'm not sure what "make" does.  It outputs "nil" so many times that any
meaningful message flashes by and it insists on generating autoloads for all
files in the lisp directory.

Is there a way to get the old behaviour.  It left problems from time to time
but I could generally see how to fix them.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




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

* Re: Building Emacs
  2008-06-24 11:51 Nick Roberts
@ 2008-06-24 13:09 ` Stefan Monnier
  2008-06-24 13:26   ` joakim
  0 siblings, 1 reply; 29+ messages in thread
From: Stefan Monnier @ 2008-06-24 13:09 UTC (permalink / raw)
  To: Nick Roberts; +Cc: emacs-devel

> In the past I would use "make recompile" in the lisp directory
> followed by "make" in the emacs directory because it was much faster
> than doing a bootstrap, and because I have my own experimental
> versions of files in the lisp directory that I don't want autoloading.

> Now I'm not sure what "make" does.

It does pretty much what you did.

> It outputs "nil" so many times that any meaningful message flashes by

I don't see that.  Could you post some example session?

> and it insists on generating autoloads for all files in the
> lisp directory.

That was also the case in the past, except that your recipe simply never
updated the loaddefs.el file.

> Is there a way to get the old behaviour.  It left problems from time to time
> but I could generally see how to fix them.

How 'bout adding "no-autoloads" annotations to the files you don't
want autoloaded?


        Stefan




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

* Re: Building Emacs
  2008-06-24 13:09 ` Stefan Monnier
@ 2008-06-24 13:26   ` joakim
  2008-06-24 21:32     ` Nick Roberts
  0 siblings, 1 reply; 29+ messages in thread
From: joakim @ 2008-06-24 13:26 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Nick Roberts, emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> In the past I would use "make recompile" in the lisp directory
>> followed by "make" in the emacs directory because it was much faster
>> than doing a bootstrap, and because I have my own experimental
>> versions of files in the lisp directory that I don't want autoloading.
>
>> Now I'm not sure what "make" does.
>
> It does pretty much what you did.
>
>> It outputs "nil" so many times that any meaningful message flashes by
>
> I don't see that.  Could you post some example session?

I think maybe Nick applied an early version of the window-group patch,
which contains some debug statements I forgot.

Could you try removing those, Nick?

>
>> and it insists on generating autoloads for all files in the
>> lisp directory.
>
> That was also the case in the past, except that your recipe simply never
> updated the loaddefs.el file.
>
>> Is there a way to get the old behaviour.  It left problems from time to time
>> but I could generally see how to fix them.
>
> How 'bout adding "no-autoloads" annotations to the files you don't
> want autoloaded?
>
>
>         Stefan
>
-- 
Joakim Verona




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

* Re: Building Emacs
  2008-06-24 13:26   ` joakim
@ 2008-06-24 21:32     ` Nick Roberts
  2008-06-25  1:37       ` Stefan Monnier
  0 siblings, 1 reply; 29+ messages in thread
From: Nick Roberts @ 2008-06-24 21:32 UTC (permalink / raw)
  To: joakim; +Cc: Stefan Monnier, emacs-devel

 > >> It outputs "nil" so many times that any meaningful message flashes by
 > >
 > > I don't see that.  Could you post some example session?
 > 
 > I think maybe Nick applied an early version of the window-group patch,
 > which contains some debug statements I forgot.
 > 
 > Could you try removing those, Nick?

Yes, you're right.  Thanks.  However, it doesn't explain why it tries to
bootstrap when I just do make:

   nickrob@kahikatea:~/emacs/build$ make
   boot=bootstrap-emacs;                         \
   ...

I don't recall this happening before.  I had presumed that this is due to this
change:

2008-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* Makefile.in (${lisp} ${SOME_MACHINE_LISP}, ../lisp/loaddefs.el):
	Use $(BOOTSTRAPEMACS) rather than witness-emacs.

Maybe it has something to do with using a separate build directory
(~/emacs/build/) to the source (~/emacs/src)

 > >
 > >> and it insists on generating autoloads for all files in the
 > >> lisp directory.
 > >
 > > That was also the case in the past, except that your recipe simply never
 > > updated the loaddefs.el file.

I'm not sure what you're saying but I'm saying the behaviour appears to have
changed.

 > >> Is there a way to get the old behaviour.  It left problems from time to time
 > >> but I could generally see how to fix them.
 > >
 > > How 'bout adding "no-autoloads" annotations to the files you don't
 > > want autoloaded?

I could do but it's more inconvenient than my previous method.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




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

* Re: Building Emacs
  2008-06-24 21:32     ` Nick Roberts
@ 2008-06-25  1:37       ` Stefan Monnier
  0 siblings, 0 replies; 29+ messages in thread
From: Stefan Monnier @ 2008-06-25  1:37 UTC (permalink / raw)
  To: Nick Roberts; +Cc: joakim, emacs-devel

> Maybe it has something to do with using a separate build directory
> (~/emacs/build/) to the source (~/emacs/src)

It could very well be: I never used a separate build directory, so
I don't know what goes where and what can be assumed to be where, so
whenever I touch the Makefiles, I tend to introduce problems in
this area.
The fact that the Makefiles seem to contain somewhere around 0 bytes of
comments about this doesn't help, of course.

>> >> and it insists on generating autoloads for all files in the
>> >> lisp directory.
>> > That was also the case in the past, except that your recipe simply never
>> > updated the loaddefs.el file.
> I'm not sure what you're saying but I'm saying the behaviour appears to have
> changed.

No doubt, it has changed.

>> >> Is there a way to get the old behaviour.  It left problems from
>> >> time to time but I could generally see how to fix them.
>> > How 'bout adding "no-autoloads" annotations to the files you don't
>> > want autoloaded?
> I could do but it's more inconvenient than my previous method.

What can i say: the Makefile is designed to build Emacs, not some local
derivative.  This said, I have my own local derivative with about
1MB's worth of changes, and I never needed to silence autoloads, so
I find your situation rather odd.  Of course, you can also hack your
local derivative to use different Makefile rules ;-)


        Stefan




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

* building emacs
@ 2017-05-31 10:52 Jean-Christophe Helary
  2017-05-31 11:19 ` Tim Visher
  2017-05-31 11:26 ` Eli Zaretskii
  0 siblings, 2 replies; 29+ messages in thread
From: Jean-Christophe Helary @ 2017-05-31 10:52 UTC (permalink / raw)
  To: help-gnu-emacs

I'm building emacs with
./configure --with-ns
make install

When I update my git repository (presumably with  git pull origin master), do I need to reconfigure the build with the command *each time* I update the code ? Or can I proceed directly to make install ?

Also, are there ways to do incremental builds ? Where only the modified parts are built and the rest stays as it were ?

Jean-Christophe 


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

* Re: building emacs
  2017-05-31 10:52 building emacs Jean-Christophe Helary
@ 2017-05-31 11:19 ` Tim Visher
  2017-05-31 11:24   ` Jean-Christophe Helary
  2017-05-31 11:26 ` Eli Zaretskii
  1 sibling, 1 reply; 29+ messages in thread
From: Tim Visher @ 2017-05-31 11:19 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs

I'm not an authoritative source but:

1. I'd generally always run ./configure again no matter what the software
is unless I absolutely knew the ins and outs of the configure script and
knew nothing had changed.

2. make is an incremental build system generally, though emacs use of it
might not be such. Have you tested it? Just run make and then modify a
single source file and run make again and see what happens.

On Wed, May 31, 2017 at 6:52 AM, Jean-Christophe Helary <
jean.christophe.helary@gmail.com> wrote:

> I'm building emacs with
> ./configure --with-ns
> make install
>
> When I update my git repository (presumably with  git pull origin master),
> do I need to reconfigure the build with the command *each time* I update
> the code ? Or can I proceed directly to make install ?
>
> Also, are there ways to do incremental builds ? Where only the modified
> parts are built and the rest stays as it were ?
>
> Jean-Christophe
>


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

* Re: building emacs
  2017-05-31 11:19 ` Tim Visher
@ 2017-05-31 11:24   ` Jean-Christophe Helary
  0 siblings, 0 replies; 29+ messages in thread
From: Jean-Christophe Helary @ 2017-05-31 11:24 UTC (permalink / raw)
  To: Tim Visher; +Cc: emacs


> On May 31, 2017, at 20:19, Tim Visher <tim.visher@gmail.com> wrote:
> 
> I'm not an authoritative source but:
> 
> 1. I'd generally always run ./configure again no matter what the software is unless I absolutely knew the ins and outs of the configure script and knew nothing had changed.

OK.

> 2. make is an incremental build system generally, though emacs use of it might not be such. Have you tested it? Just run make and then modify a single source file and run make again and see what happens.

I did build emacs twice today and the second time did not feel noticeably shorter than the first. But I'll check again. I thought maybe there was a parameter to make to have it work incrementally.

Thank you.

Jean-Christophe 


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

* Re: building emacs
  2017-05-31 10:52 building emacs Jean-Christophe Helary
  2017-05-31 11:19 ` Tim Visher
@ 2017-05-31 11:26 ` Eli Zaretskii
  2017-05-31 11:41   ` Jean-Christophe Helary
  1 sibling, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2017-05-31 11:26 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
> Date: Wed, 31 May 2017 19:52:31 +0900
> 
> I'm building emacs with
> ./configure --with-ns
> make install
> 
> When I update my git repository (presumably with  git pull origin master), do I need to reconfigure the build with the command *each time* I update the code ? Or can I proceed directly to make install ?

No.  Yes.

> Also, are there ways to do incremental builds ? Where only the modified parts are built and the rest stays as it were ?

That's the default, that's why we use the Make utility.  Or maybe I
don't understand what you mean by "incremental builds".

P.S.  IMO, these are not questions for this list.



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

* Re: building emacs
  2017-05-31 11:26 ` Eli Zaretskii
@ 2017-05-31 11:41   ` Jean-Christophe Helary
  2017-05-31 12:09     ` Emanuel Berg
  0 siblings, 1 reply; 29+ messages in thread
From: Jean-Christophe Helary @ 2017-05-31 11:41 UTC (permalink / raw)
  To: emacs


> On May 31, 2017, at 20:26, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> That's the default, that's why we use the Make utility.  Or maybe I
> don't understand what you mean by "incremental builds".

You understood right. I'm the one who did not understand what make was doing.

> P.S.  IMO, these are not questions for this list.

Thank you. Wherever I write, everybody seems like an uber-geek so I thought this not-strictly "development" related question was fine here too.

Jean-Christophe 


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

* Re: building emacs
  2017-05-31 11:41   ` Jean-Christophe Helary
@ 2017-05-31 12:09     ` Emanuel Berg
  2017-05-31 13:22       ` Skip Montanaro
  2017-06-01  7:19       ` Shakthi Kannan
  0 siblings, 2 replies; 29+ messages in thread
From: Emanuel Berg @ 2017-05-31 12:09 UTC (permalink / raw)
  To: help-gnu-emacs

Jean-Christophe Helary wrote:

> You understood right. I'm the one who did not
> understand what make was doing.

make is the ever-lasting workhorse of building
all kinds of computer projects, not just
programming ones, and it is not
that complicated.

It seems every generation of programmers has
a bunch of people who tries to make a new and
better make, but it is still there while their
projects are long gone.

make has basically three components, a target,
which is the file you wish to create, its
dependencies, which are files from which it
draws data, and a shell command which will
create the target from that data. This is
specified in a Makefile.

The incremental part of it is that whenever you
create a target, make checks if the target
already exists. If it does, make goes on to
check if the dependencies has been changed
since the target was created. If they have,
obviously the target isn't up to date so the
shell command to create it is executed again.

When this principle is understood, it is just
a matter of looking up the Makefile syntax and
get going :)

For example, here is the Makefile that does my
Elisp:

    http://user.it.uu.se/~embe8573/emacs-init/Makefile

(It looks more complicated than it is.)

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

* Re: building emacs
  2017-05-31 12:09     ` Emanuel Berg
@ 2017-05-31 13:22       ` Skip Montanaro
  2017-05-31 14:00         ` Emanuel Berg
  2017-06-01  7:19       ` Shakthi Kannan
  1 sibling, 1 reply; 29+ messages in thread
From: Skip Montanaro @ 2017-05-31 13:22 UTC (permalink / raw)
  To: help-gnu-emacs

It seems every generation of programmers has
a bunch of people who tries to make a new and
better make, but it is still there while their
projects are long gone.


What strikes me as odd is that one of the reasons people reinvent make is
that it's "too hard" for their programmers to use as-is, while at the same
time expecting those same programmers to master the intricacies of
languages like C++. :-)

Skip Montanaro


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

* Re: building emacs
  2017-05-31 13:22       ` Skip Montanaro
@ 2017-05-31 14:00         ` Emanuel Berg
  0 siblings, 0 replies; 29+ messages in thread
From: Emanuel Berg @ 2017-05-31 14:00 UTC (permalink / raw)
  To: help-gnu-emacs

Skip Montanaro wrote:

> What strikes me as odd is that one of the
> reasons people reinvent make is that it's
> "too hard" for their programmers to use
> as-is, while at the same time expecting those
> same programmers to master the intricacies of
> languages like C++. :-)

Compared to C++, and especially if all its
intricacies are to be included, make is
child's play.

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

* Re: building emacs
  2017-05-31 12:09     ` Emanuel Berg
  2017-05-31 13:22       ` Skip Montanaro
@ 2017-06-01  7:19       ` Shakthi Kannan
  2017-06-01 13:36         ` Jean-Christophe Helary
  1 sibling, 1 reply; 29+ messages in thread
From: Shakthi Kannan @ 2017-06-01  7:19 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi,

--- Jean-Christophe Helary wrote:
| You understood right. I'm the one who did not
| understand what make was doing.
\--

I had made a simple presentation on GNU Make that you might find useful:

  http://shakthimaan.com/downloads.html#dum-ka-biryani-make-for-each-other

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com



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

* Re: building emacs
  2017-06-01  7:19       ` Shakthi Kannan
@ 2017-06-01 13:36         ` Jean-Christophe Helary
  0 siblings, 0 replies; 29+ messages in thread
From: Jean-Christophe Helary @ 2017-06-01 13:36 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Thank you very much. make is one of those utilities that most people use without knowing what it's actually doing.

Jean-Christophe 

> On Jun 1, 2017, at 16:19, Shakthi Kannan <shakthimaan@gmail.com> wrote:
> --- Jean-Christophe Helary wrote:
> | You understood right. I'm the one who did not
> | understand what make was doing.
> \--
> I had made a simple presentation on GNU Make that you might find useful:
>  http://shakthimaan.com/downloads.html#dum-ka-biryani-make-for-each-other



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

* Building Emacs
@ 2020-01-18  3:23 Vinicius Latorre
  2020-01-18  3:35 ` Jean-Christophe Helary
  2020-01-18  3:37 ` Noam Postavsky
  0 siblings, 2 replies; 29+ messages in thread
From: Vinicius Latorre @ 2020-01-18  3:23 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

Hi,

I've just cloned Emacs from git ant tried to build Emacs on GNU Linux
(Debian 9), but the configure script is missing.

So, I tried to generate via autoconf, but I got the following error:

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:1695: error: possibly undefined macro: m4_default

Am I missing something?

[-- Attachment #2: Type: text/html, Size: 687 bytes --]

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

* Re: Building Emacs
  2020-01-18  3:23 Building Emacs Vinicius Latorre
@ 2020-01-18  3:35 ` Jean-Christophe Helary
  2020-01-18  3:37   ` Vinicius Latorre
  2020-01-18  3:37 ` Noam Postavsky
  1 sibling, 1 reply; 29+ messages in thread
From: Jean-Christophe Helary @ 2020-01-18  3:35 UTC (permalink / raw)
  To: emacs-devel



> On Jan 18, 2020, at 12:23, Vinicius Latorre <viniciusjl.gnu@gmail.com> wrote:
> 
> Hi,
> 
> I've just cloned Emacs from git ant tried to build Emacs on GNU Linux (Debian 9), but the configure script is missing.
> 
> So, I tried to generate via autoconf, but I got the following error:
> 
> 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:1695: error: possibly undefined macro: m4_default
> 
> Am I missing something?


Have you tried ./configure ?


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





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

* Re: Building Emacs
  2020-01-18  3:23 Building Emacs Vinicius Latorre
  2020-01-18  3:35 ` Jean-Christophe Helary
@ 2020-01-18  3:37 ` Noam Postavsky
  2020-01-18  3:42   ` Vinicius Latorre
  1 sibling, 1 reply; 29+ messages in thread
From: Noam Postavsky @ 2020-01-18  3:37 UTC (permalink / raw)
  To: Vinicius Latorre; +Cc: emacs-devel

On Fri, 17 Jan 2020 at 22:24, Vinicius Latorre <viniciusjl.gnu@gmail.com> wrote:

> I've just cloned Emacs from git ant tried to build Emacs on GNU Linux (Debian 9), but the configure script is missing.
>
> So, I tried to generate via autoconf

Try ./autogen.sh instead, as described in INSTALL.REPO.



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

* Re: Building Emacs
  2020-01-18  3:35 ` Jean-Christophe Helary
@ 2020-01-18  3:37   ` Vinicius Latorre
  0 siblings, 0 replies; 29+ messages in thread
From: Vinicius Latorre @ 2020-01-18  3:37 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

As I said there is no configure script.

On Sat, Jan 18, 2020 at 12:36 AM Jean-Christophe Helary <
jean.christophe.helary@traduction-libre.org> wrote:

>
>
> > On Jan 18, 2020, at 12:23, Vinicius Latorre <viniciusjl.gnu@gmail.com>
> wrote:
> >
> > Hi,
> >
> > I've just cloned Emacs from git ant tried to build Emacs on GNU Linux
> (Debian 9), but the configure script is missing.
> >
> > So, I tried to generate via autoconf, but I got the following error:
> >
> > 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:1695: error: possibly undefined macro: m4_default
> >
> > Am I missing something?
>
>
> Have you tried ./configure ?
>
>
> Jean-Christophe Helary
> -----------------------------------------------
> http://mac4translators.blogspot.com @brandelune
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1655 bytes --]

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

* Re: Building Emacs
  2020-01-18  3:37 ` Noam Postavsky
@ 2020-01-18  3:42   ` Vinicius Latorre
  2020-01-18  3:50     ` Jean-Christophe Helary
                       ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Vinicius Latorre @ 2020-01-18  3:42 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Ok, using ./autogen.sh the ./configure was generated, I didn't notice
INSTALL.REPO, only the INSTALL.

BTW, sorry my ignorance, but why are there 2 files about installation?

Thanks


On Sat, Jan 18, 2020 at 12:37 AM Noam Postavsky <npostavs@gmail.com> wrote:

> On Fri, 17 Jan 2020 at 22:24, Vinicius Latorre <viniciusjl.gnu@gmail.com>
> wrote:
>
> > I've just cloned Emacs from git ant tried to build Emacs on GNU Linux
> (Debian 9), but the configure script is missing.
> >
> > So, I tried to generate via autoconf
>
> Try ./autogen.sh instead, as described in INSTALL.REPO.
>

[-- Attachment #2: Type: text/html, Size: 1004 bytes --]

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

* Re: Building Emacs
  2020-01-18  3:42   ` Vinicius Latorre
@ 2020-01-18  3:50     ` Jean-Christophe Helary
  2020-01-18  3:53       ` Vinicius Latorre
  2020-01-18  3:50     ` Noam Postavsky
                       ` (2 subsequent siblings)
  3 siblings, 1 reply; 29+ messages in thread
From: Jean-Christophe Helary @ 2020-01-18  3:50 UTC (permalink / raw)
  To: emacs-devel



> On Jan 18, 2020, at 12:42, Vinicius Latorre <viniciusjl.gnu@gmail.com> wrote:
> 
> Ok, using ./autogen.sh the ./configure was generated,

Sorry for that, I misunderstood your original message.

> I didn't notice INSTALL.REPO, only the INSTALL.
> 
> BTW, sorry my ignorance, but why are there 2 files about installation?

The first one looks like it talks about installing from the git repo, the other one probably from a source package in your distribution ?

But it's confusing and they probably should be merged.

> On Sat, Jan 18, 2020 at 12:37 AM Noam Postavsky <npostavs@gmail.com> wrote:
> On Fri, 17 Jan 2020 at 22:24, Vinicius Latorre <viniciusjl.gnu@gmail.com> wrote:
> 
> > I've just cloned Emacs from git ant tried to build Emacs on GNU Linux (Debian 9), but the configure script is missing.
> >
> > So, I tried to generate via autoconf
> 
> Try ./autogen.sh instead, as described in INSTALL.REPO.

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





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

* Re: Building Emacs
  2020-01-18  3:42   ` Vinicius Latorre
  2020-01-18  3:50     ` Jean-Christophe Helary
@ 2020-01-18  3:50     ` Noam Postavsky
  2020-01-18  3:55     ` Eric Brown
  2020-01-19  5:41     ` Paul Eggert
  3 siblings, 0 replies; 29+ messages in thread
From: Noam Postavsky @ 2020-01-18  3:50 UTC (permalink / raw)
  To: Vinicius Latorre; +Cc: emacs-devel

On Fri, 17 Jan 2020 at 22:42, Vinicius Latorre <viniciusjl.gnu@gmail.com> wrote:
>
> Ok, using ./autogen.sh the ./configure was generated, I didn't notice INSTALL.REPO, only the INSTALL.
>
> BTW, sorry my ignorance, but why are there 2 files about installation?

INSTALL is for installation from a release tarball (which includes
./configure pre-generated), INSTALL.REPO has extra info about
installation from the git repository.



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

* Re: Building Emacs
  2020-01-18  3:50     ` Jean-Christophe Helary
@ 2020-01-18  3:53       ` Vinicius Latorre
  0 siblings, 0 replies; 29+ messages in thread
From: Vinicius Latorre @ 2020-01-18  3:53 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]

Thanks for all explanation.

Best regards

On Sat, Jan 18, 2020 at 12:51 AM Jean-Christophe Helary <
jean.christophe.helary@traduction-libre.org> wrote:

>
>
> > On Jan 18, 2020, at 12:42, Vinicius Latorre <viniciusjl.gnu@gmail.com>
> wrote:
> >
> > Ok, using ./autogen.sh the ./configure was generated,
>
> Sorry for that, I misunderstood your original message.
>
> > I didn't notice INSTALL.REPO, only the INSTALL.
> >
> > BTW, sorry my ignorance, but why are there 2 files about installation?
>
> The first one looks like it talks about installing from the git repo, the
> other one probably from a source package in your distribution ?
>
> But it's confusing and they probably should be merged.
>
> > On Sat, Jan 18, 2020 at 12:37 AM Noam Postavsky <npostavs@gmail.com>
> wrote:
> > On Fri, 17 Jan 2020 at 22:24, Vinicius Latorre <viniciusjl.gnu@gmail.com>
> wrote:
> >
> > > I've just cloned Emacs from git ant tried to build Emacs on GNU Linux
> (Debian 9), but the configure script is missing.
> > >
> > > So, I tried to generate via autoconf
> >
> > Try ./autogen.sh instead, as described in INSTALL.REPO.
>
> Jean-Christophe Helary
> -----------------------------------------------
> http://mac4translators.blogspot.com @brandelune
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2015 bytes --]

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

* Re: Building Emacs
  2020-01-18  3:42   ` Vinicius Latorre
  2020-01-18  3:50     ` Jean-Christophe Helary
  2020-01-18  3:50     ` Noam Postavsky
@ 2020-01-18  3:55     ` Eric Brown
  2020-01-19  5:41     ` Paul Eggert
  3 siblings, 0 replies; 29+ messages in thread
From: Eric Brown @ 2020-01-18  3:55 UTC (permalink / raw)
  To: Vinicius Latorre; +Cc: Noam Postavsky, emacs-devel

Vinicius Latorre <viniciusjl.gnu@gmail.com> writes:

> Ok, using ./autogen.sh the ./configure was generated, I didn't notice
> INSTALL.REPO, only the INSTALL.
>
> BTW, sorry my ignorance, but why are there 2 files about installation?
>
> Thanks
>

One is for install from a release (e.g. 26.3), and the other is for
install from git repo.   There are different instructions, such as `make
bootstrap' when building from the git repo.




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

* Re: Building Emacs
  2020-01-18  3:42   ` Vinicius Latorre
                       ` (2 preceding siblings ...)
  2020-01-18  3:55     ` Eric Brown
@ 2020-01-19  5:41     ` Paul Eggert
  2020-01-19 23:53       ` Vinicius Latorre
  3 siblings, 1 reply; 29+ messages in thread
From: Paul Eggert @ 2020-01-19  5:41 UTC (permalink / raw)
  To: Vinicius Latorre; +Cc: Emacs Development

On 1/17/20 7:42 PM, Vinicius Latorre wrote:
> I didn't notice
> INSTALL.REPO, only the INSTALL.

The first paragraph of INSTALL says, "For information about building from a 
repository checkout (rather than a release), also read the file INSTALL.REPO."



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

* Re: Building Emacs
  2020-01-19  5:41     ` Paul Eggert
@ 2020-01-19 23:53       ` Vinicius Latorre
  2020-01-19 23:56         ` Vinicius Latorre
  0 siblings, 1 reply; 29+ messages in thread
From: Vinicius Latorre @ 2020-01-19 23:53 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Emacs Development

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

Indeed.

From time to time, I always download Emacs sources and build Emacs from
scratch, so I  followed a script that was based on INSTALL file from some
years ago when INSTALL.REPO didn't exist.


On Sun, Jan 19, 2020 at 2:41 AM Paul Eggert <eggert@cs.ucla.edu> wrote:

> On 1/17/20 7:42 PM, Vinicius Latorre wrote:
> > I didn't notice
> > INSTALL.REPO, only the INSTALL.
>
> The first paragraph of INSTALL says, "For information about building from
> a
> repository checkout (rather than a release), also read the file
> INSTALL.REPO."
>

[-- Attachment #2: Type: text/html, Size: 890 bytes --]

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

* Re: Building Emacs
  2020-01-19 23:53       ` Vinicius Latorre
@ 2020-01-19 23:56         ` Vinicius Latorre
  2020-01-20  0:17           ` Vinicius Latorre
  0 siblings, 1 reply; 29+ messages in thread
From: Vinicius Latorre @ 2020-01-19 23:56 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Emacs Development

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

BTW, I've just built Emacs, but it is crashing.

On Sun, Jan 19, 2020 at 8:53 PM Vinicius Latorre <viniciusjl.gnu@gmail.com>
wrote:

> Indeed.
>
> From time to time, I always download Emacs sources and build Emacs from
> scratch, so I  followed a script that was based on INSTALL file from some
> years ago when INSTALL.REPO didn't exist.
>
>
> On Sun, Jan 19, 2020 at 2:41 AM Paul Eggert <eggert@cs.ucla.edu> wrote:
>
>> On 1/17/20 7:42 PM, Vinicius Latorre wrote:
>> > I didn't notice
>> > INSTALL.REPO, only the INSTALL.
>>
>> The first paragraph of INSTALL says, "For information about building from
>> a
>> repository checkout (rather than a release), also read the file
>> INSTALL.REPO."
>>
>

[-- Attachment #2: Type: text/html, Size: 1327 bytes --]

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

* Re: Building Emacs
  2020-01-19 23:56         ` Vinicius Latorre
@ 2020-01-20  0:17           ` Vinicius Latorre
  2020-01-20  3:30             ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: Vinicius Latorre @ 2020-01-20  0:17 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Emacs Development

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

It crashes when started:

$ emacs

But do not crash when:

$ emacs -q
M-x load-file
~/.emacs



On Sun, Jan 19, 2020 at 8:56 PM Vinicius Latorre <viniciusjl.gnu@gmail.com>
wrote:

> BTW, I've just built Emacs, but it is crashing.
>
> On Sun, Jan 19, 2020 at 8:53 PM Vinicius Latorre <viniciusjl.gnu@gmail.com>
> wrote:
>
>> Indeed.
>>
>> From time to time, I always download Emacs sources and build Emacs from
>> scratch, so I  followed a script that was based on INSTALL file from some
>> years ago when INSTALL.REPO didn't exist.
>>
>>
>> On Sun, Jan 19, 2020 at 2:41 AM Paul Eggert <eggert@cs.ucla.edu> wrote:
>>
>>> On 1/17/20 7:42 PM, Vinicius Latorre wrote:
>>> > I didn't notice
>>> > INSTALL.REPO, only the INSTALL.
>>>
>>> The first paragraph of INSTALL says, "For information about building
>>> from a
>>> repository checkout (rather than a release), also read the file
>>> INSTALL.REPO."
>>>
>>

[-- Attachment #2: Type: text/html, Size: 1931 bytes --]

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

* Re: Building Emacs
  2020-01-20  0:17           ` Vinicius Latorre
@ 2020-01-20  3:30             ` Eli Zaretskii
  0 siblings, 0 replies; 29+ messages in thread
From: Eli Zaretskii @ 2020-01-20  3:30 UTC (permalink / raw)
  To: Vinicius Latorre; +Cc: eggert, Emacs-devel

> From: Vinicius Latorre <viniciusjl.gnu@gmail.com>
> Date: Sun, 19 Jan 2020 21:17:50 -0300
> Cc: Emacs Development <Emacs-devel@gnu.org>
> 
> It crashes when started:
> 
> $ emacs
> 
> But do not crash when:
> 
> $ emacs -q
> M-x load-file
> ~/.emacs

Please run that under a debugger, produce a backtrace when it crashes,
and use report-emacs-bug to report the details.

Thanks.



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

end of thread, other threads:[~2020-01-20  3:30 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-31 10:52 building emacs Jean-Christophe Helary
2017-05-31 11:19 ` Tim Visher
2017-05-31 11:24   ` Jean-Christophe Helary
2017-05-31 11:26 ` Eli Zaretskii
2017-05-31 11:41   ` Jean-Christophe Helary
2017-05-31 12:09     ` Emanuel Berg
2017-05-31 13:22       ` Skip Montanaro
2017-05-31 14:00         ` Emanuel Berg
2017-06-01  7:19       ` Shakthi Kannan
2017-06-01 13:36         ` Jean-Christophe Helary
  -- strict thread matches above, loose matches on Subject: below --
2020-01-18  3:23 Building Emacs Vinicius Latorre
2020-01-18  3:35 ` Jean-Christophe Helary
2020-01-18  3:37   ` Vinicius Latorre
2020-01-18  3:37 ` Noam Postavsky
2020-01-18  3:42   ` Vinicius Latorre
2020-01-18  3:50     ` Jean-Christophe Helary
2020-01-18  3:53       ` Vinicius Latorre
2020-01-18  3:50     ` Noam Postavsky
2020-01-18  3:55     ` Eric Brown
2020-01-19  5:41     ` Paul Eggert
2020-01-19 23:53       ` Vinicius Latorre
2020-01-19 23:56         ` Vinicius Latorre
2020-01-20  0:17           ` Vinicius Latorre
2020-01-20  3:30             ` Eli Zaretskii
2008-06-24 11:51 Nick Roberts
2008-06-24 13:09 ` Stefan Monnier
2008-06-24 13:26   ` joakim
2008-06-24 21:32     ` Nick Roberts
2008-06-25  1:37       ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.