From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#61171: 30.0.50; macos build can't find native lisp folder Date: Mon, 05 Jun 2023 18:15:15 -0400 Message-ID: References: <87edrcyz05.fsf@luois.me> <83357s5em7.fsf@gnu.org> <87bkmfz90g.fsf@luois.me> <83h6w63jvp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37163"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61171@debbugs.gnu.org, Merrick Luo To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 06 00:16:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6IUw-0009S8-Bb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jun 2023 00:16:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6IUg-0005kP-Ka; Mon, 05 Jun 2023 18:16:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6IUd-0005j4-Dz for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 18:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6IUd-00013L-5a for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 18:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6IUc-00059A-HR for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 18:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jun 2023 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61171 X-GNU-PR-Package: emacs Original-Received: via spool by 61171-submit@debbugs.gnu.org id=B61171.168600332919714 (code B ref 61171); Mon, 05 Jun 2023 22:16:02 +0000 Original-Received: (at 61171) by debbugs.gnu.org; 5 Jun 2023 22:15:29 +0000 Original-Received: from localhost ([127.0.0.1]:50470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6IU5-00057u-He for submit@debbugs.gnu.org; Mon, 05 Jun 2023 18:15:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6IU3-00057g-6H for 61171@debbugs.gnu.org; Mon, 05 Jun 2023 18:15:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ITx-0000Y7-N9; Mon, 05 Jun 2023 18:15:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=CfHKF+QJNXMcOHKrLqYTaEsNvtx4vrANBKMi4294lYw=; b=Z/+oNP47HclHGx0cGFXC vDZ1Obf/eU/qkwv5UjGYKi8Nl8/4SG9jNOQQAEinAremZaYOmrRWAX+u0cbYcDBF0eiuEJUxCVbdD sXgMpj28A8HchgcT7wQeYNQiys0fC7eGMHRKzEJi2G67Z3nQCtt4K/42GJflAqwEeNjVI5KyzLi2M +1IssshPZt2Io0DZ0c8sc4ReuqEFUD8WzU0At81bVOZ9R/ZqQFpcYWSBXnWDtMcHysgXJ5BYD5cyX STIrq+U1KY856z0Sqq9VJzCamZyl+uqC0gdCu6P7qY4iYEs8irce+A0dfDr2ZxMg85VUqNzdL1N9X 2zng/5D3/nl8MA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1q6ITr-0005uW-I8; Mon, 05 Jun 2023 18:15:20 -0400 In-Reply-To: <83h6w63jvp.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Jan 2023 15:37:30 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263033 Archived-At: Eli Zaretskii writes: > [Please keep the bug address on the CC list.] > >> From: Merrick Luo >> Date: Tue, 31 Jan 2023 11:18:55 +0800 >> >> Eli Zaretskii 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