Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Unknown Newsgroups: comp.os.linux.misc Subject: Re: Why does the make have error? Date: Mon, 16 Mar 2015 18:13:17 +0000 (UTC) Organization: A noiseless patient Spider Lines: 28 Message-ID: References: <78b1cc7c-8084-41dc-8c8a-344946b4e5e5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 16 Mar 2015 18:13:17 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b73932e8ead4351c15585e6fb7c105f9"; logging-data="11947"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qScsLCbTZD62pBQi7E7dv6FV7bVYIcyc=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:8in2ZzNPsvSbEJexOmn/RD4Lbk8= Xref: csiph.com comp.os.linux.misc:14100 On Tue, 10 Mar 2015 03:46:32 +0000, Robert Riches wrote: > On 2015-03-09, Richard Kettlewell wrote: >> Aragorn writes: >>> Richard Kettlewell conveyed the following to comp.os.linux.misc... >>>> fl writes: >>>> >>>>> I am still new to Linux. I have check /bin folder. Both sed and >>>>> uname are there. But the following error message has the extra /sh >>>>> after /bin. >>>> >>>> If sed is present but make can???t find it then /bin must not be on >>>> your path. Since the default path generally does include it, I would >>>> guess that it???s been changed somehow. >>> >>> That, or /bin/sed has somehow been set up with incorrect permissions. >> >> No; that would yield ???Permission denied???, not ???not found???. > > If the shell (or perhaps make) is using $PATH to find executables, and > if /bin/sed should be executable but is not, then wouldn't the shell (or > perhaps make) report that it could not find an executable 'sed' in > $PATH? See what's there by: which sed ls -l `which sed` whoami