From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Weird directories after compiling emacs native mode and creating .deb package
Date: Sat, 1 May 2021 10:40:23 +0200 [thread overview]
Message-ID: <CAO48Bk8ctAsqKfTvVOyD7t=9qtGvisBm6p0s1oq_YU0kqmsKHQ@mail.gmail.com> (raw)
In-Reply-To: <83y2czc1og.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2700 bytes --]
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 <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?
>
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
[-- Attachment #2: Type: text/html, Size: 4378 bytes --]
next prev parent reply other threads:[~2021-05-01 8:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-30 11:52 Weird directories after compiling emacs native mode and creating .deb package Pedro Andres Aranda Gutierrez
2021-04-30 14:00 ` Eli Zaretskii
2021-05-01 8:40 ` Pedro Andres Aranda Gutierrez [this message]
2021-05-01 9:14 ` Eli Zaretskii
2021-05-03 15:08 ` Pedro Andres Aranda Gutierrez
2021-05-01 9:02 ` Tatsuya Kinoshita
2021-05-01 9:16 ` Eli Zaretskii
2021-05-01 9:47 ` Tatsuya Kinoshita
2021-05-02 5:23 ` Pedro Andres Aranda Gutierrez
2021-05-02 6:36 ` Tatsuya Kinoshita
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='CAO48Bk8ctAsqKfTvVOyD7t=9qtGvisBm6p0s1oq_YU0kqmsKHQ@mail.gmail.com' \
--to=paaguti@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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).