From: Andrea Corallo <acorallo@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 61171@debbugs.gnu.org, Merrick Luo <merrick@luois.me>
Subject: bug#61171: 30.0.50; macos build can't find native lisp folder
Date: Mon, 05 Jun 2023 18:15:15 -0400 [thread overview]
Message-ID: <yp1pm69blos.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83h6w63jvp.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Jan 2023 15:37:30 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> [Please keep the bug address on the CC list.]
>
>> From: Merrick Luo <merrick@luois.me>
>> Date: Tue, 31 Jan 2023 11:18:55 +0800
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > Why did you build with ns-self-contained disabled? AFAICT from
>> > reading the top-level Makefile.in, this causes Emacs to install files
>> > according to Posix conventions, which breaks on macOS. What you get is
>> > the Emacs binary in a place unrelated to the directory where the
>> > *.eln files are installed, and Emacs cannot find them.
>>
>> yes, I want the files to be installed into /usr/local/ so I can use it
>> in terminal more easily. AFAIR, the Emacs.app works fine with this
>> option without native compilation enabled, I can also copy/move it to
>> the Application folder and still works.
>
> Without native-compilation Emacs doesn't need to look for and find
> the *.eln files, so it's a small wonder you don't see the problem.
>
>> > You could perhaps set ELN_DESTDIR explicitly when you run "Make", as
>> > in
>> >
>> > make ELN_DESTDIR=/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents
>> >
>> > Maybe.
>>
>> this looks like an absolute path though, so if I moved the Emacs.app to
>> another place, like /Applciations, it will break /usr/local/bin/emacs?
>
> Emacs with native-compilation supports relocatable
> installations only if the relation between the directory with the
> binary and the directory with the *.eln files is according to the
> relation between BIN_DESTDIR and ELN_DESTDIR. So if you want a
> relocatable installation, you will need to play with the values of
> those two Make-time variables to suit your needs. If you use absolute
> file names, moving the files will break the installation.
Hello all,
should we close this bug or is there something that should be done?
Best Regards
Andrea
next prev parent reply other threads:[~2023-06-05 22:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-30 12:42 bug#61171: 30.0.50; macos build can't find native lisp folder Merrick Luo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-30 13:36 ` Eli Zaretskii
[not found] ` <87bkmfz90g.fsf@luois.me>
2023-01-31 13:37 ` Eli Zaretskii
2023-06-05 22:15 ` Andrea Corallo [this message]
2023-06-06 11:31 ` 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
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=yp1pm69blos.fsf@fencepost.gnu.org \
--to=acorallo@gnu.org \
--cc=61171@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=merrick@luois.me \
/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).