[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: |
Wed, 01 Jun 2022 19:03:22 +0600 |
Akib Azmain Turja <akib@disroot.org> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Akib Azmain Turja <akib@disroot.org>
>>> Cc: emacs-devel@gnu.org
>>> Date: Wed, 01 Jun 2022 17:26:17 +0600
>>>
>>> >> "Can't open load file: No such file or directory, disp-table"
>>> >
>>> > disp-table.el is a package that comes with Emacs, so how come Emacs is
>>> > unable to find it?
>>>
>>> I have no idea.
>>
>> Is the file there?
>
> No, I can't find it in the build directory. Its in the source
> directory.
>
>>
>>> > Is this with an installed Emacs or with Emacs that
>>> > you run uninstalled from its source tree?
>>>
>>> I'm not sure what you're tell about, but assuming you asking me whether
>>> I have installed it. No, I didn't install. I'm trying to run
>>> ./src/emacs -Q from the build directory. Do I need to install it?
>>
>> No, you shouldn't need to install. Emacs should run fine uninstalled.
>>
>> Does this help:
>>
>> ./src/emacs -Q -l ./lisp/disp-table.el
>>
>
> Since ./lisp/disp-table.el isn't present in the build directory, so that
> won't work. But this also doesn't help:
>
> ./src/emacs -Q -l ./lisp/disp-table.el
>
> Where ".." is the source directory.
>
> --
> 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
Sorry for annoying you people, the actual problem is the EMACSLOADPATH
environment variable, which is set by Guix. If I unset it (by
prepending "EMACSLOADPATH=" to the command), everything works, no matter
whether I build it in the source directory or out-of-tree. Emacs runs
on Linux console, even with my init file (and loads faster than my
distro Emacs).
--
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