From: "Alex Bennée" <alex.bennee@linaro.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: emacs-devel@gnu.org
Subject: Re: Where is the eln search path defined
Date: Fri, 15 May 2020 18:19:51 +0100 [thread overview]
Message-ID: <873681cdzc.fsf@linaro.org> (raw)
In-Reply-To: <xjflflti1nz.fsf@sdf.org>
Andrea Corallo <akrl@sdf.org> writes:
> Alex Bennée <alex.bennee@linaro.org> writes:
>
>> Hi,
>>
>> I thought it was about time I started getting the native-comp branch
>> running on some of my aarch64 machines. The bionic version of libgccjit
>> for aarch64 failed so I ended up having to build the latest from master
>> and adding it to the search path.
>>
>> Emacs seems to have built fine but when I run it I get:
>>
>> 08:41:58 [alex@qemu-test:~/s/emacs] $ emacs -nw
>> emacs: /usr/bin/../lisp/eln-aarch64-unknown-linux-gnu-e59b16aa72ffe0cd/custom.eln: cannot open shared object file: No such file or directory
<snip>
>> Any pointers?
>
> Hi Alex,
>
> Emacs thinks the binary is installed in '/usr/bin/' and the relative path
> to find the eln from there is expected to be
> '../lisp/eln-aarch64-unknown-linux-gnu-e59b16aa72ffe0cd/custom.eln'.
Hmm it was configured:
./configure --prefix=/home/alex/src/emacs/install \
--with-x-toolkit=no --with-modules \
--with-nativecomp --with-xpm=ifavailable \
--with-gif=ifavailable --with-tiff=ifavailable
> I believe of the two information the first is wrong in this case. This
> is coming from the DESTDIR value while compiling. Is it possible that
> Emacs was compiled with a certain DESTDIR value and then installed using
> a different one?
I can't quite follow where the automake magic sets DESTDIR but in the
main Makefile I certainly have:
# The default location for installation. Everything is placed in
# subdirectories of this directory. The default values for many of
# the variables below are expressed in terms of this one, so you may
# not need to change them. This defaults to /usr/local.
prefix=/home/alex/src/emacs/install
Where is DESTDIR defined during the build?
> This would explain even if I understand this is really not ideal.
>
> Andrea
--
Alex Bennée
next prev parent reply other threads:[~2020-05-15 17:19 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-15 8:57 Where is the eln search path defined Alex Bennée
2020-05-15 16:49 ` Andrea Corallo
2020-05-15 17:19 ` Alex Bennée [this message]
2020-05-15 18:10 ` Andrea Corallo
2020-05-15 21:19 ` Alex Bennée
2020-05-15 21:55 ` Andrea Corallo
2020-05-17 11:00 ` Alex Bennée
2020-05-17 12:45 ` Andrea Corallo
2020-05-17 13:55 ` Alex Bennée
2020-05-17 14:26 ` Andrea Corallo
2020-05-18 15:10 ` Alex Bennée
2020-05-18 15:39 ` Andrea Corallo
2020-05-18 16:34 ` Alex Bennée
2020-05-18 17:23 ` Andrea Corallo
2020-05-19 10:39 ` Alex Bennée
2020-05-19 10:46 ` Andrea Corallo
2020-05-19 14:49 ` Andrea Corallo
2020-05-19 18:35 ` Alex Bennée
2020-05-19 18:57 ` Andrea Corallo
2020-05-20 7:06 ` Alex Bennée
2020-05-25 14:13 ` Alex Bennée
2020-05-25 15:01 ` Gong-Yi Liao 廖宮毅
2020-05-25 18:44 ` Andrea Corallo
2020-05-19 21:07 ` Thomas Fitzsimmons
2020-05-16 6:37 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873681cdzc.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=akrl@sdf.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.