emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is the eln search path defined


From: Alex Bennée
Subject: Re: Where is the eln search path defined
Date: Fri, 15 May 2020 18:19:51 +0100
User-agent: mu4e 1.4.5; emacs 28.0.50

Andrea Corallo <address@hidden> writes:

> Alex Bennée <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]