|
From: | Pedro Andres Aranda Gutierrez |
Subject: | Re: Weird directories after compiling emacs native mode and creating .deb package |
Date: | Mon, 3 May 2021 17:08:25 +0200 |
Hi Eli,allin an effort to answer you last email, I started cleaning up by debina/rules (aka Makefile) and have come up with a simpler setup that compiles and creates an installable emacs package (for the GUI version only) So it certainly was a problem of not setting sensible directories in the original Makefile.Currently, I'm stumbling with the next stone in my path. I can't get emacs to start:emacs ➤ emacs
Symbol’s value as variable is void: auto-save-list-file-prefixIf I start it in terminal mode, I get it to build the frames, but I get the same message on the mini-buffer and it doesn't load any file.Now compiling without native-comp gets me a perfectly working emacs in GUI and terminal modeBest,/PAPS: Make process kernel.confflags += --prefix=/usr
confflags += --sharedstatedir=/var/lib
confflags += --program-suffix=28
# confflags += --with-modules=yes
# Not yet
# confflags += --with-native-compilation
# Gtk config options
confflags_gtk += $(confflags)
confflags_gtk += --with-x
confflags_gtk += --with-x-toolkit=gtk3
confflags_gtk += --with-cairomake maintainer-clean./autogen.sh all
./configure $(confflags_gtk)make # NATIVE_FULL_AOT=1make DESTDIR=$(shell pwd)/debian/emacs28 installThis creates an installation which is then transfered to the .deb packageOn Fri, 30 Apr 2021 at 16:00, Eli Zaretskii <eliz@gnu.org> wrote:> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Fri, 30 Apr 2021 13:52:58 +0200
>
> can someone enlighten me why the following is happening:
>
> emacs ➤ emacs
> Error using execdir /usr/lib/x86_64-linux-gnu/emacs/28.0.50/x86_64-linux-gnu/../../../../bin/:
> emacs:
> /usr/lib/x86_64-linux-gnu/emacs/28.0.50/x86_64-linux-gnu/../../../../bin/../native-lisp/28.0.50-b0a588b0/preloaded/window-98dcc46c-8d15fa51.eln:
> cannot open shared object file: No such file or directory
> emacs ➤ find /usr/lib -name native-lisp
> /usr/lib/x86_64-linux-gnu/emacs/28.0.50/native-lisp
> emacs ➤ which emacs
> /usr/bin/emacs
> emacs ➤ ls -l $(which emacs)
> lrwxrwxrwx 1 root root 23 abr 30 13:43 /usr/bin/emacs -> /etc/alternatives/emacs
> emacs ➤ realpath $(which emacs)
> /usr/bin/emacs-28.0.5028
Please describe how you configured the build and how you installed the
built Emacs. That is, what were your full 'configure' command line
and the fill "make install" command line? Also, where is the
emacs.pdmp file that corresponds to the installed Emacs binary?
--Georg KreislerFragen sind nicht da um beantwortet zu werden,Fragen sind da um gestellt zu werden
[Prev in Thread] | Current Thread | [Next in Thread] |