[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling Emacs from source for hacking on it
From: |
Akib Azmain Turja |
Subject: |
Re: Compiling Emacs from source for hacking on it |
Date: |
Tue, 31 May 2022 22:22:31 +0600 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Akib Azmain Turja <akib@disroot.org>
>> Date: Tue, 31 May 2022 18:07:38 +0600
>>
>> I have recently (shallow) cloned Emacs source code. I have compiled it
>> by doing the following:
>>
>> --8<---------------cut here---------------start------------->8---
>> $ mkdir build
>> $ cd build
>> $ ../configure --without-x --without-gnutls --without-modules \
>> --without-sqlite3 --without-pop --without-mailutils --without-sound
>> $ make
>> --8<---------------cut here---------------end--------------->8---
>>
>> If I understand correctly, running ./src/emacs should start the newly
>> compiled Emacs. But it says that with-memoizaton function definition is
>> void, even with an empty init file (actually I commented out the whole
>> file). ./src/temacs works, but says function-documention is undefined
>> at runtime.
>
> With the current master branch, I cannot reproduce this. But:
>
> . I cloned the repository normally (i.e. not a "shallow" clone)
> . I built Emacs in the source tree, not in a separate build/
> sub-directory;
> . I invoked Emacs as ./src/emacs -Q
>
> If using "-Q" doesn't help, perhaps this is some problem with building
> in a separate directory, in which case you could rebuild in-place and
> try again.
Yes, adding -Q works. But why it can't read my init file even when the
whole file is commented? Or is it expected?
And I don't think a shallow clone is causing any problem, as the files
should be identical.
--
Akib Azmain Turja
This message is signed by me with my GnuPG key. It's fingerprint is:
7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5
signature.asc
Description: PGP signature
- Re: Compiling Emacs from source for hacking on it, (continued)
Re: Compiling Emacs from source for hacking on it, Akib Azmain Turja, 2022/05/31
Re: Compiling Emacs from source for hacking on it, Eli Zaretskii, 2022/05/31
- Re: Compiling Emacs from source for hacking on it, Eli Zaretskii, 2022/05/31
- Re: Compiling Emacs from source for hacking on it,
Akib Azmain Turja <=
- Re: Compiling Emacs from source for hacking on it, Eli Zaretskii, 2022/05/31
- Re: Compiling Emacs from source for hacking on it, Akib Azmain Turja, 2022/05/31
- Re: Compiling Emacs from source for hacking on it, Akib Azmain Turja, 2022/05/31
- Re: Compiling Emacs from source for hacking on it, Eli Zaretskii, 2022/05/31
- Re: Compiling Emacs from source for hacking on it, Akib Azmain Turja, 2022/05/31
- Re: Compiling Emacs from source for hacking on it, Eli Zaretskii, 2022/05/31
Re: Compiling Emacs from source for hacking on it, Andreas Schwab, 2022/05/31