From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.devel Subject: Re: Where is the eln search path defined Date: Fri, 15 May 2020 18:19:51 +0100 Message-ID: <873681cdzc.fsf@linaro.org> References: <87v9kxd18j.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="88058"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.5; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 15 19:20:33 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jZe0e-000Mo0-Qe for ged-emacs-devel@m.gmane-mx.org; Fri, 15 May 2020 19:20:32 +0200 Original-Received: from localhost ([::1]:50242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZe0d-0006kb-Te for ged-emacs-devel@m.gmane-mx.org; Fri, 15 May 2020 13:20:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZe08-0006CR-Pq for emacs-devel@gnu.org; Fri, 15 May 2020 13:20:00 -0400 Original-Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:33512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZe05-0007hK-4c for emacs-devel@gnu.org; Fri, 15 May 2020 13:20:00 -0400 Original-Received: by mail-wr1-x443.google.com with SMTP id l11so4480584wru.0 for ; Fri, 15 May 2020 10:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=2I1IxM0wRhppdSpPrirEMJRHjgkcKpNi60kqY1njooI=; b=V3l3e3eazrC5HiXwmG9mHG/Q6P/ThcTCi7P+xV4KOckaotbpdU5KGTHRgv5T5UABbs 4pD/Wwxy+HjOmdtLWBA+gpq4jvXJnXtLGvrFyn4fiGg74iAvLseP8JM2+USwW+88z6dz Sw82jEvFggMD5eR8mzBy3xYDLJErNAOfdbY3KklGxOvuP/9enc22fvZPftroNvLbNGd+ g8g/T03QMrLUEG3+JuSTIGAryCynceJZarO8MqZeqRcnKXTXM1uKdz6mCHvsV7dTzsfX bEu4yQkDoqIGefIKKc6B5y4yafpT/GdB0txHsFtnPfGF7rqUrOMuvclWZLtzp2bi6lrG tbJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=2I1IxM0wRhppdSpPrirEMJRHjgkcKpNi60kqY1njooI=; b=DrtBtueyqwj/YweTBDR+poFYkMryAGEGJePGFsoAupfwTti/ouz97ihA32c5O1ORyB rVw8dixrRYPCe64K2jFxHw0gYUI9sKKvzB+OyTkBn6l5hGAsjobMkY2WdR4Lt1t0xn3g z/Oy+JE9ZaQWlVp6QJ7Y88/WKuxudWrEu2+pZHCYzdBpD9J/BS+86rBHbtWmZQv1a7ei En4G960SuuyDzUhppW499OrOFid7ka33Lyy17sh5urCh2j0MN2TqbTPNOPZMp/s6QWIM KIxUQQupAlXo5a49mm3f9tL+7h98cRfkSbf/Tngye2PfUlXcxXOYxB8q0GUzBC74A9Yx oYwA== X-Gm-Message-State: AOAM530GjCzlaD7/e9fhtaYUXpHUG9AygLsWrJvxPa2P+NvcBgBZlCaU Qci8Y+K9VSxkZX4qJTc9bQ+f71dGbYA= X-Google-Smtp-Source: ABdhPJzPfLFZO2oE1zuMpPSOQ2jQ3y/lpTY7BP2AWcDCm8EA/PPnr735Z/oV1D4DvFCXgN+JBBv+qw== X-Received: by 2002:adf:9567:: with SMTP id 94mr5235158wrs.167.1589563193729; Fri, 15 May 2020 10:19:53 -0700 (PDT) Original-Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b14sm4422248wmb.18.2020.05.15.10.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 10:19:52 -0700 (PDT) Original-Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AB5491FF7E; Fri, 15 May 2020 18:19:51 +0100 (BST) In-reply-to: Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250404 Archived-At: Andrea Corallo writes: > Alex Benn=C3=A9e writes: > >> Hi, >> >> I thought it was about time I started getting the native-comp branch >> running on some of my aarch64 machines. The bionic version of libgccjit >> for aarch64 failed so I ended up having to build the latest from master >> and adding it to the search path. >> >> Emacs seems to have built fine but when I run it I get: >> >> 08:41:58 [alex@qemu-test:~/s/emacs] $ emacs -nw >> emacs: /usr/bin/../lisp/eln-aarch64-unknown-linux-gnu-e59b16aa72ffe0cd= /custom.eln: cannot open shared object file: No such file or directory >> Any pointers? > > Hi Alex, > > Emacs thinks the binary is installed in '/usr/bin/' and the relative path > to find the eln from there is expected to be > '../lisp/eln-aarch64-unknown-linux-gnu-e59b16aa72ffe0cd/custom.eln'. Hmm it was configured: ./configure --prefix=3D/home/alex/src/emacs/install \ --with-x-toolkit=3Dno --with-modules \ --with-nativecomp --with-xpm=3Difavailable \ --with-gif=3Difavailable --with-tiff=3Difavailable > I believe of the two information the first is wrong in this case. This > is coming from the DESTDIR value while compiling. Is it possible that > Emacs was compiled with a certain DESTDIR value and then installed using > a different one? I can't quite follow where the automake magic sets DESTDIR but in the main Makefile I certainly have: # The default location for installation. Everything is placed in # subdirectories of this directory. The default values for many of # the variables below are expressed in terms of this one, so you may # not need to change them. This defaults to /usr/local. prefix=3D/home/alex/src/emacs/install Where is DESTDIR defined during the build? > This would explain even if I understand this is really not ideal. > > Andrea --=20 Alex Benn=C3=A9e