GNU bug report logs -
#46790
28.0.50; make install with native-comp branch
Previous Next
Reported by: Thierry Volpiatto <thievol <at> posteo.net>
Date: Fri, 26 Feb 2021 07:38:01 UTC
Severity: normal
Tags: moreinfo
Found in version 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #204 received at 46790 <at> debbugs.gnu.org (full text, mbox):
> From: Thierry Volpiatto <thievol <at> posteo.net>
> Cc: 46790 <at> 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.
This bug report was last modified 3 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.