From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Cannot run executable from eshell Date: Thu, 19 Mar 2020 15:30:00 +0100 Message-ID: <20200319143000.GC29405@tuxteam.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6zdv2QT/q3FMhpsV" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="2340"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 19 15:30:31 2020 Return-path: Envelope-to: geh-help-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 1jEwBp-0000UK-9K for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Mar 2020 15:30:29 +0100 Original-Received: from localhost ([::1]:38774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEwBo-000617-B2 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Mar 2020 10:30:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48556) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEwBQ-00060v-4y for help-gnu-emacs@gnu.org; Thu, 19 Mar 2020 10:30:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEwBP-00035k-0F for help-gnu-emacs@gnu.org; Thu, 19 Mar 2020 10:30:03 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:46947) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEwBO-00033V-G2 for help-gnu-emacs@gnu.org; Thu, 19 Mar 2020 10:30:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=cRA1gAiTXy0/McMKOz3RT13hWLM1Wj6ERVBwyQ31Ifk=; b=FWS8ApJS6naMHiu5gJ6DVtlrK9Z0zk3fAl4UbxlZ5GzVVZnJ64C+P4witra4P1r2VHchM7/w3iPrtEpcoFEVQ6XPVg3dgtMEO7u4hGSEsuqb5zRJXlWUfZDjsJkQRhmkv//bqXaqcFTDmfBy1Fx33pDiK1KiI0c3YsvBb5kOeXhx8CSZ/MyfCgyvM9VvS6nixoLxWRDNX+4oEA8VfiHll/pE32Uyc7znoS+Secmk1OZTxMLotAsPN6NBhF/stDnu2XEJLRkH4aOAW3UMuXkWql+6oKRUOzO9jPeCSwk0+yFJ1rh+Wy02jBGxMvS9GcY/qNzaGr0kLQOyC2kNkqgsTw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jEwBM-00087p-N7 for help-gnu-emacs@gnu.org; Thu, 19 Mar 2020 15:30:00 +0100 Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122612 Archived-At: --6zdv2QT/q3FMhpsV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 19, 2020 at 02:18:31PM +0000, Roy Lemmon wrote: > Hi, >=20 >=20 > I have an executable (guix) in a directory under my home directory. Is that a "real" executable? Or a script? > I am > using eshell. I add that directory to PATH. But when I run the command, t= he > executable is not found. I have tried various methods such as addpath etc. > But eshell doesnt seem to search in that directory and find the executabl= e. > If I give the full directory on the command line, it works. >=20 > See below: >=20 > $ /home/rlemmon/.guix-profile/bin/guix works correctly >=20 > $ guix does not work I doubt the error message looks like that ;-P Now seriously: perhaps the error message provides some hints for us to help you. Sometimes (happens most often with shell scripts) you get a confusing error message which might lead you to believe the script was not found while the problem is that the interpreter for your script isn't found [1]. In your case possibly guile. cheers [1] Ok, ok -- for binaries it's the same (assuming you're "on" GNU/Linux, that is). The interpreter is then ld.so, but if your system doesn't find that... -- tom=C3=A1s --6zdv2QT/q3FMhpsV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl5zgegACgkQBcgs9XrR2kYpogCeO3h8Ww1NU/gt086ZR/O9WQ4H FngAn33mta5XsLPFBoqoDEilDqZ2rCWi =krlE -----END PGP SIGNATURE----- --6zdv2QT/q3FMhpsV--