More on this, I tried today with the same configuration and make NATIVE_FULL_AOT=1 The problem persists, whoever if I execute emacs from the source directory (.../emacs/src) it starts correctly. Just my .2 cents... /PA On Sat, 1 May 2021 at 10:40, Pedro Andres Aranda Gutierrez < paaguti@gmail.com> wrote: > Hi Eli,all > > in 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-prefix > > If 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 mode > > Best,/PA > > PS: 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-cairo > > make maintainer-clean > ./autogen.sh all > ./configure $(confflags_gtk) > make # NATIVE_FULL_AOT=1 > make DESTDIR=$(shell pwd)/debian/emacs28 install > > This creates an installation which is then transfered to the .deb package > > On Fri, 30 Apr 2021 at 16:00, Eli Zaretskii wrote: > >> > From: Pedro Andres Aranda Gutierrez >> > 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? >> > > > -- > Fragen sind nicht da um beantwortet zu werden, > Fragen sind da um gestellt zu werden > Georg Kreisler > -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler