emacs-devel
[Top][All Lists]
Advanced

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

Re: Path for system-wide .eln files


From: Andrea Corallo
Subject: Re: Path for system-wide .eln files
Date: Fri, 04 Sep 2020 17:55:41 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Ulrich Mueller <ulm@gentoo.org> writes:

>>>>>> On Tue, 01 Sep 2020, Yuri Khan wrote:
>
>>> > AFAIU `/usr/libexec` would be for binaries in general, infact we store
>>> > there the pdumper img.  Okay for `/usr/lib`.
>>> 
>>> It should be ${libdir} I think? That is, "lib64" on 64-bit systems.
>
>> I am on a 64-bit system and my /usr/lib64 is empty except for a single
>> ld-linux-x86-64.so.2 symlink. On the other hand, /usr/lib32 contains a
>> number of shared objects belonging to the libc6-i386 package. This
>> tells me maybe native bitness belongs in /usr/lib.
>
> I should have been more precise. It is in fact distro specific, so there
> may be 64-bit systems where the native libs are installed in /usr/lib
> (and 32-bit libs would go to /usr/lib32), while others install the
> native libs in /usr/lib64.
>
> So the right thing to do is to use configure's ${libdir}.

What I've pushed now (67c5369156) should be doing what we want in this
respect.

On my system the eln are now installed in:

/usr/local/lib/emacs/native-lisp/28.0.50-x86_64-pc-linux-gnu-679caf986.../

ELN_DESTDIR is computed as "$(DESTDIR)${libdir}/emacs/" in the Makefile.

Please give it a try to see if we are happy with that.

Thanks

  Andrea



reply via email to

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