unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Thierry Volpiatto <thievol@posteo.net>
Cc: 46790@debbugs.gnu.org
Subject: bug#46790: 28.1; Bug#46790 reintroduced; Was make install with native-comp
Date: Sun, 26 Jun 2022 17:52:59 +0300	[thread overview]
Message-ID: <834k07a33o.fsf@gnu.org> (raw)
In-Reply-To: <875yknbj6a.fsf@posteo.net> (message from Thierry Volpiatto on Sun, 26 Jun 2022 14:19:32 +0000)

> From: Thierry Volpiatto <thievol@posteo.net>
> Cc: 46790@debbugs.gnu.org
> Date: Sun, 26 Jun 2022 14:19:32 +0000
> 
> >> > Error using execdir /usr/local/sbin/emacs-29.0.50/:
> >> > emacs: /usr/local/sbin/emacs-29.0.50/../native-lisp/29.0.50-ca991e8a/preloaded/window-0d1b8b93-0c17e2d3.eln: cannot open shared object file: No such file or directory
> >> 
> >> Please tell:
> >> 
> >>  . what is the directory where you installed the Emacs binary, the one
> >>    invoked when you start Emacs "normally"
> >>  . if that binary is a symlink, how is the symlink defined (is the
> >>    file itself a symlink or is the directory a symlink?), and where
> >>    does that symlink point
> >>  . what is the directory where you have the pdumper file, and what is
> >>    its name
> >>  . if the pdumper file is itself a symlink, please provide the same
> >>    details as for the Emacs binary
> >>  . where is the native-lisp/ directory with the *.eln files produced
> >>    during the build
> >> 
> >> In each case, please show the full absolute name of the files I'm
> >> asking about.
> >
> > In addition, please tell how you configured Emacs, i.e. please show
> > the full command line with which you invoked the configure script.
> 
> ./configure CFLAGS='-O8' --with-mailutils --with-cairo --with-native-compilation

I think that's the problem: installing the binary in a directory other
than $execdir/bin needs to configure with --bindir accordingly set.
Emacs built with native compilation records at build time the way to
get to native-lisp/ directory starting from the directory where the
Emacs binary is installed, so you must use --bindir at configure time
to let the build process know where the binary will be installed.  It
is no longer enough to set bindir only at "make install" time.

Emacs 28.1, as released, could work without --bindir, but that was at
a price of effectively dropping the support for --bindir
configure-time switch, something I don't want to do, since it's a
regression.

So please try re-configuring with

  ./configure CFLAGS='-O8' --bindir=/usr/local/sbin/emacs-29.0.50 --with-mailutils --with-cairo --with-native-compilation

and tell if the problem is solved by that after you install the
resulting binary.

Thanks.





  reply	other threads:[~2022-06-26 14:52 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-26  7:35 bug#46790: 28.0.50; make install with native-comp branch Thierry Volpiatto
2021-04-09 18:56 ` Eli Zaretskii
2021-04-10  5:17   ` Thierry Volpiatto
2021-04-10  7:37     ` Eli Zaretskii
2021-04-10  6:57   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-10  7:50     ` Eli Zaretskii
2021-04-10 16:30       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-10 13:46     ` Thierry Volpiatto
2021-04-10 16:25       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-10 17:55         ` Thierry Volpiatto
2021-04-13 12:37 ` bug#46790: 28.0.50; [native-comp] Emacs doesn't start when run from a symlink Phil Sainty
2021-04-13 13:55   ` Eli Zaretskii
2021-04-14  9:50   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-20  9:33 ` bug#46790: 28.0.50; make install with native-comp branch Phil Sainty
2021-04-20 11:39   ` Eli Zaretskii
2021-04-24  6:48     ` Thierry Volpiatto
2021-04-24  7:49       ` Eli Zaretskii
2021-04-24  8:30         ` Eli Zaretskii
2021-04-24 12:21           ` Thierry Volpiatto
2021-04-24 12:40             ` Eli Zaretskii
2021-04-24 12:47               ` Thierry Volpiatto
2021-04-24 13:33                 ` Eli Zaretskii
2021-04-24 13:39                   ` Eli Zaretskii
2021-04-24 13:58                   ` Thierry Volpiatto
2021-04-24 14:09                     ` Eli Zaretskii
2021-04-24 15:22                       ` Thierry Volpiatto
2021-04-24 16:00                         ` Eli Zaretskii
2021-04-24 16:20                           ` Thierry Volpiatto
2021-04-24 16:52                             ` Eli Zaretskii
2021-04-24 17:35                               ` Thierry Volpiatto
2021-04-25 13:14                               ` Thierry Volpiatto
2021-04-25 13:28                                 ` Eli Zaretskii
2021-04-25 14:02                                   ` Thierry Volpiatto
2021-04-25 14:37                                     ` Eli Zaretskii
2021-04-25 14:28                                   ` Phil Sainty
2021-04-25 15:24                                     ` Eli Zaretskii
2021-04-25 18:21                                       ` Thierry Volpiatto
2021-04-25 18:38                                         ` Eli Zaretskii
2021-04-25 19:50                                           ` Thierry Volpiatto
2021-04-27 11:16                                           ` Thierry Volpiatto
2022-06-19 13:56                                             ` Lars Ingebrigtsen
2022-06-19 16:20                                               ` Thierry Volpiatto
2022-06-19 16:25                                                 ` Lars Ingebrigtsen
2021-04-24 17:00                             ` Eli Zaretskii
2021-04-24 17:39                               ` Thierry Volpiatto
2021-04-24 17:47                                 ` Eli Zaretskii
2021-04-24 18:06                                   ` Thierry Volpiatto
2021-04-24 18:48                                     ` Eli Zaretskii
2021-04-25  4:29                                       ` Thierry Volpiatto
2021-04-25  8:21                                         ` Eli Zaretskii
2021-04-25 12:07                                           ` Thierry Volpiatto
2021-04-25 12:21                                             ` Eli Zaretskii
2021-04-25 15:19                                               ` Thierry Volpiatto
2021-04-24 13:03               ` Eli Zaretskii
2021-04-24 11:11         ` Thierry Volpiatto
2021-04-24 11:56           ` Eli Zaretskii
2021-04-24 12:04             ` Thierry Volpiatto
2021-04-24 12:29               ` Eli Zaretskii
2021-04-24 11:59           ` Phil Sainty
2021-04-24  6:40   ` Thierry Volpiatto
2022-06-26  5:39 ` bug#46790: 28.1; Bug#46790 reintroduced; Was make install with native-comp Thierry Volpiatto
2022-06-26  5:52   ` Eli Zaretskii
2022-06-26  9:30     ` Eli Zaretskii
2022-06-26 14:19       ` Thierry Volpiatto
2022-06-26 14:52         ` Eli Zaretskii [this message]
2022-06-27 10:14           ` Thierry Volpiatto
2022-06-27 11:19             ` Eli Zaretskii
2022-06-27 12:59               ` Eli Zaretskii
2022-06-27 13:46                 ` Thierry Volpiatto
2022-06-26 14:10     ` Thierry Volpiatto

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=834k07a33o.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=46790@debbugs.gnu.org \
    --cc=thievol@posteo.net \
    /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).