From: Eli Zaretskii <eliz@gnu.org>
To: cinnaroll45 <cinnaroll45@proton.me>
Cc: 55741@debbugs.gnu.org
Subject: bug#55741: Getting an error when running the Emacs 28.1 binary that I built from source
Date: Tue, 31 May 2022 18:58:22 +0300 [thread overview]
Message-ID: <83a6axiti9.fsf@gnu.org> (raw)
In-Reply-To: <Kv1ssJdpwuHOxcqRDrOp2N4ZpCWjWJCKuyR0tyH--k61bJIJNZsFupb3NhErqXXOtWsFguOxXySIKaDCF-kOQZloqgx_QBmqKQAri8X6gWo=@proton.me> (bug-gnu-emacs@gnu.org)
> Date: Tue, 31 May 2022 13:01:06 +0000
> From: cinnaroll45 via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> When building Emacs 28.1 on the same system, I use the same config but with the addition of the
> `--with-native-compilation` flag:
>
> ```bash
>
> ./autogen.sh
> ./configure --prefix=/home/user/emacs --bindir=/home/user/bin \
> --with-native-compilation \
> --with-json --with-gif --with-jpeg --with-png --with-tiff --with-rsvg
>
> ```
>
> The build goes without a hitch and the binaries end up in my PATH. However when I try to run the Emacs
> binary, I get the following error:
>
> `Error using execdir /home/user/emacs/libexec/emacs/28.1/x86_64-pc-linux-gnu/../../../../bin/:
> emacs:
> /home/user/emacs/libexec/emacs/28.1/x86_64-pc-linux-gnu/../../../../bin/../native-lisp/28.1-2120ad00/preloaded/window-0d1b8b93-7ef4271a.eln:
> cannot open shared object file: No such file or directory`
The --bindir switch could be the problem: as you see from the error
message, Emacs 28.1 thinks its binary is in /home/user/emacs/bin, not
in /home/user/bin. So my suggestion is to reconfigure without the
--bindir switch, as I don't think this is currently supported for the
build with native-compilation.
next prev parent reply other threads:[~2022-05-31 15:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-31 13:01 bug#55741: Getting an error when running the Emacs 28.1 binary that I built from source cinnaroll45 via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-31 15:58 ` Eli Zaretskii [this message]
[not found] ` <RKVYjycV9vhF-w_P2jZl06F_xdQXNTPAE8q9YTBR2day91p9qWwBo93JnKMApdg4BE_Uqhkk1BpMQEHKPQVuMWoujvnk5yC6Jsh3Y28whLE=@proton.me>
2022-05-31 19:10 ` Eli Zaretskii
2022-05-31 16:29 ` Eli Zaretskii
2022-05-31 16:57 ` Eli Zaretskii
2022-05-31 19:50 ` cinnaroll45 via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-02 7:02 ` Eli Zaretskii
2022-06-11 10:54 ` Eli Zaretskii
2022-06-20 16:05 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a6axiti9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=55741@debbugs.gnu.org \
--cc=cinnaroll45@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).