From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61171: 30.0.50; macos build can't find native lisp folder Date: Tue, 06 Jun 2023 14:31:37 +0300 Message-ID: <83wn0g3jza.fsf@gnu.org> References: <87edrcyz05.fsf@luois.me> <83357s5em7.fsf@gnu.org> <87bkmfz90g.fsf@luois.me> <83h6w63jvp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16748"; mail-complaints-to="usenet@ciao.gmane.io" Cc: merrick@luois.me, 61171-done@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 06 13:32:13 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 1q6Uv6-00049B-OS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jun 2023 13:32:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6Uuz-0001kL-5A; Tue, 06 Jun 2023 07:32:05 -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 1q6Uux-0001jj-Fl for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2023 07:32: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 1q6Uux-0006PW-7d for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2023 07:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6Uux-0007KX-34 for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2023 07:32:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jun 2023 11:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 61171-done@debbugs.gnu.org id=D61171.168605110628134 (code D ref 61171); Tue, 06 Jun 2023 11:32:03 +0000 Original-Received: (at 61171-done) by debbugs.gnu.org; 6 Jun 2023 11:31:46 +0000 Original-Received: from localhost ([127.0.0.1]:51080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Uuf-0007Ji-H9 for submit@debbugs.gnu.org; Tue, 06 Jun 2023 07:31:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Uud-0007JR-0n; Tue, 06 Jun 2023 07:31:43 -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 1q6UuW-0006Jd-UJ; Tue, 06 Jun 2023 07:31:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dT8axD7SnLPNN2EnSXPa0UEjW+BHu1obZ6XB7eYiCaI=; b=pfsOBrfApiDf kke+kBgncD0Wa1S8Cvd9ReNRPIc/TglnhVY+ObpU2Ro7Qaeii0p0pJvEtphJB+CYuTnd5hMzgn+2d g24oDd46AOYLwKw85yWAMRNhCWCxwGWOpk6Ly96mVUEaf4l8J2/PYSmVoRnJQXWQ/kzWSWhcivlBm 1GHQ3h86n28xUv+tG6IdYFUKdYSXk/nK+OS1OhkLP2HE+HWlrrje+DmJeM5CbmfS5g7JXwcUmKbu+ xGC+2+aOkj9V0zeL2pBiT7xz/wSb0yqbuz/kbqfyOG1BB5d3gwACNEJ92bxf8PTsKwSqGOE+e5lhD nV/+yFzyK2R0q+vcjx8EZw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6UuW-0005WZ-BN; Tue, 06 Jun 2023 07:31:36 -0400 In-Reply-To: (message from Andrea Corallo on Mon, 05 Jun 2023 18:15:15 -0400) 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:263050 Archived-At: tags 61171 notabug close 61171 thanks > From: Andrea Corallo > Cc: Merrick Luo , 61171@debbugs.gnu.org > Date: Mon, 05 Jun 2023 18:15:15 -0400 > > 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? Closed.