From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#46790: 28.0.50; make install with native-comp branch Date: Sat, 10 Apr 2021 07:17:09 +0200 Message-ID: <87tuoebsxx.fsf@posteo.net> References: <87h7lzgtyv.fsf@posteo.net> <83h7kf70dz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16264"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.11; emacs 27.2 Cc: 46790@debbugs.gnu.org, Andrea Corallo To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 10 07:39:16 2021 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 1lV6Kx-000466-VL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 07:39:16 +0200 Original-Received: from localhost ([::1]:45324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lV6Kw-0000bG-Co for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 01:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lV6Kl-0000aw-3e for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 01:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lV6Kk-0006Mx-7p for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 01:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lV6Kk-0001HH-5k for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 01:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2021 05:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46790 X-GNU-PR-Package: emacs Original-Received: via spool by 46790-submit@debbugs.gnu.org id=B46790.16180331084854 (code B ref 46790); Sat, 10 Apr 2021 05:39:02 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 10 Apr 2021 05:38:28 +0000 Original-Received: from localhost ([127.0.0.1]:51292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lV6KC-0001GE-DA for submit@debbugs.gnu.org; Sat, 10 Apr 2021 01:38:28 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:54227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lV6K4-0001Fu-T6 for 46790@debbugs.gnu.org; Sat, 10 Apr 2021 01:38:26 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 83E121A022C for <46790@debbugs.gnu.org>; Sat, 10 Apr 2021 07:38:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618033094; bh=EkIiKD2blRhmOgDyzgKASJrogmJ1kOUXl0WTgEtCWqs=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=g1Z4kNZEGHj1BKsNk68qytfpEtwNjWLerdscg1ODkSIQbXUFVzSutUCZxUKqpUG9X ZA10IrlzC/5awbqG1I7S+99CrOIvPbthV7CbQPiygIE8vgTY2uES9XNSD9rhgF2XEg 2Z4/CFVVrrXvNm9GQ6yTUg2W+xIJQyBGr95rhzxYHiLJrE3iwEuHqWltdc65rtGq+N ed9Pq0AOJZPunmJ6qGeUa0gQE/3gAnXlNOq35JjCIDfLel57daX7RYyTjoThGDSua1 m6auiJzjTaPnD1zg5uGJviTxhnY7ts/KupXz2KFUNczn1wDACHio4Dw+EZz6qLSFlX IDZ4K62xq5JnQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FHP0s6xYpz6tmB; Sat, 10 Apr 2021 07:38:05 +0200 (CEST) In-reply-to: <83h7kf70dz.fsf@gnu.org> Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHUBBMBCgA+FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAl8y lcICGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQDsVtFB0W75MB3QwAlTsVzFmr +S/tMKwwwOibjhNPi/OZiUC2AYfaqfVAiIHDT3RbzDe03sAJoomJkJnYVjGzQZwibCMO2+ITkMPV 2wvrd4CbgS1KCVbrltwcuK/nxPCBaHytOCZUIInnhJo5PE/h03K 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" Xref: news.gmane.io gmane.emacs.bugs:203781 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Thierry Volpiatto >> Date: Fri, 26 Feb 2021 08:35:30 +0100 >>=20 >> giving a try to native-comp branch. >>=20 >> I install Emacs generaly with: >>=20 >> make install bindir=3D/usr/local/sbin/emacs-28.0.50 infodir=3D/usr/local= /share/info-28.0.50 >>=20 >> This always worked fine. However with native-comp branch, I have to >> manually add a symlink of "/usr/local/lib/emacs/28.0.50/native-lisp/" to >> "/usr/local/sbin" otherwise I endup with an error: >>=20 >> thierry@IPadS340:/usr/local/sbin/emacs-28.0.50$ ls >> ctags ebrowse emacs emacs-28.0.50 emacsclient etags >> thierry@IPadS340:/usr/local/sbin/emacs-28.0.50$ ./emacs-28.0.50 >> emacs: /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-40158ec0/win= dow-0d1b8b93-738411b0.eln: cannot open shared object file: No such file or = directory >> thierry@IPadS340:/usr/local/sbin/emacs-28.0.50$ ./emacs >> emacs: /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-40158ec0/win= dow-0d1b8b93-738411b0.eln: cannot open shared object file: No such file or = directory > > Hmm... I'm not sure we can resolve this in any other way, although we > should try. I am sure you will find some makefile magic for this. > What worked for you with previous versions was just a side effect of > the implementation detail: how Emacs finds the files it needs when it > starts. The *.eln files bring more restrictions to the table, and it > could very well be that the symlink trick will be the only practical > solution to such a non-standard installation. This not really a non standard installation, it is documented in INSTALL since always, I use this installation to manage different Emacs versions (the executables in sbin/emacs-xxx are symlinked in bin). I am not sure also if everything is working properly with a "standard" installation, i.e. in /usr/local/bin, is in this case the native-lisp dir found? > A possible solution is to set EMACSNATIVELOADPATH in the environment. Didn't know this env var. > Alternatively, you could modify your Emacs to look in the correct > directory by default. Don't know how to do this, anyway all methods should be documented. Thanks. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmBxOboTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk40hC/0eK5eVC3PShLdNKB+mJziyuB8bLO/H S5gtM5eOyfALw1J7f99v11WjLP/h6UcU4rl0xe0ziX5v/sAbXolPu8TE26QwjbIg CxwfoM0+YkUJzpOW3Ihqh3GsWk+IGQNkB4c8gY9TrCaCRaGp57oDWwEXUxe2iH3+ 5zk14pLnPBi7JqwjakSu8+jlVfYiDOdLo8u90iDIqAcm21HrHuRESyqFNASRJ18E Nc+vHasVoEsZGIAinn2zobdOkk4AOhYkpGktewtmXvgA2tPVC4mg6INJ2i2iM1Y2 bDB3oRqSxHm01MHyl7FAWIXCCNlNhh9QR8QpCIyEuA6mFqN026JBZBKxCDJ2UBfC vWPcbzoffnUxe5nnyhwVrZFm7/fpm5PB2izToa5LyX+ndsWGgeGDPYmbvv3vw81K uvap3s9I6vnqXwRgC+eoQlBI/QhtAHVe2Rl+UNzM/gk5DuGO7QK1+eu47Z69qOdE VTiY6SE/q0AYax2Djt/Zal9cOEnf7IBZelI= =SrzQ -----END PGP SIGNATURE----- --=-=-=--