Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Installation problem, Can't exec as:
Date: 25 Aug 1995 10:23:02 +0200
Organization: Private U**x site, Dresden.
Lines: 51
Message-ID: <41k196$do5@bonnie.tcd-dresden.de>
References: <41f001$6c@buffnet2.buffnet.net> <41glqi$7qv@reason.cdrom.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Jordan K. Hubbard <jkh@FreeBSD.org> wrote:
>>Etc etc.. turns out one of the dirs in my path statement refered to a file.
>I thin this depends on which shell you're using. I just tried it with
>bash and it worked fine (put /etc/termcap first in my path). /bin/sh worked
>tool. I have no idea!
It appears to be a misfeature of exec*p() or something else, Jordan.
The following is on a 1.1.5.1 system, but apparently identical to the
problem described:
* tweak it:
j@bonnie 148% set path = (/etc/passwd $path)
* now let's look what we've got:
j@bonnie 149% which cc
/usr/bin/cc
j@bonnie 150% cc
cc: No input files specified.
* hmm, fine, what's the problem? go on:
j@bonnie 151% make
cc -g -O2 -pipe -Wall -I /usr/X11R6/include -c tiff2tdp.c
cc: not found
*** Error code 1
Stop.
* oops, doesn't `make' run something like ``sh -c'' on the commands?
* let's try /bin/sh
j@bonnie 152% sh
$ cc
cc: No input files specified.
$ j@bonnie 153%
* well ok, seems to work (and i start to remember that our make is
* overly smart and avoids calling a shell if there are no meta chars...)
* -- so try calling cc directly:
j@bonnie 153% cc -g -O2 -pipe -Wall -I /usr/X11R6/include -c tiff2tdp.c
cc: installation problem, cannot exec as: Not a directory
In file included from /usr/include/ctype.h:52, from tiff2tdp.c:39:
/usr/include/runetype.h:94: output pipe has been closed
gcpp: output pipe has been closed
* hmm, it's plain broken.
--
cheers, J"org private: joerg_wunsch@uriah.heep.sax.de
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)