Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 14:30:59 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        current@FreeBSD.org
Subject:   Broken sh(1)?
Message-ID:  <38564693.EE9DB4EC@scc.nl>

next in thread | raw e-mail | index | archive | help
Hi,

Try the following shell script (taken from a buildworld):

#!/bin/sh -ev
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 \
PATH=/usr/obj/usr/src/i386/bin:/usr/obj/usr/src/i386/usr/bin:\
/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:\
/usr/games:/usr/local/bin:/usr/X11R6/bin:/home/marcel/bin \
INSTALL="sh /usr/src/tools/install.sh" \
DESTDIR=/usr/obj/usr/src/i386 TARGET_ARCH=i386 \
MACHINE_ARCH=i386 make -f Makefile.inc1 -DNOMAN -DNOINFO \
-DNO_FORTRAN -DNO_GDB tools
cd /usr/src; make -f Makefile.inc1 par-obj

I always get the following:

===> c++filt
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555 \
c++filt /usr/obj/usr/src/i386/usr/libexec/elf
===> doc
===> cc1obj
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555 \
cc1obj /usr/obj/usr/src/i386/usr/libexec

cd /usr/src; make -f Makefile.inc1 par-obj
./x.sh: make: not found

        ^^^^^^^^^^^^^^^
At this point PATH contains /usr/bin, so I don't think it's PATH
related. 

context:

FreeBSD scones.sup.scc.nl 4.0-CURRENT FreeBSD 4.0-CURRENT #21: Sun Dec
12 19:15:04 CET 1999    
marcel@scones.sup.scc.nl:/usr/src/sys/compile/SCONES  i386

-r-xr-xr-x  1 root  wheel  430152 Dec 11 13:05 /bin/sh

-- 
Marcel Moolenaar                        mailto:marcel@scc.nl
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:marcel@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38564693.EE9DB4EC>