Subject: Re: build.sh tools fails
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Bruce Buskill <bruce@bsd-unix.net>
List: current-users
Date: 05/24/2004 11:53:55
Lubomir, thank you for pointing this out, mounting /tmp with noexec was
in fact my problem.

Bruce Buskill


On Mon, May 24, 2004 at 03:31:52PM +0200, Lubomir Sedlacik wrote:
> On Mon, May 24, 2004 at 09:16:09AM -0400, Bruce Buskill wrote:
> > Hi, I have for some time had no problem getting build.sh tools to work
> > great.  I recently I have discovered when I try to run build.sh tools
> > that I am given
> > 
> > ===> build.sh command: ./build.sh tools
> > ===> build.sh started: Mon May 24 04:52:07 EDT 2004
> > ===> No nonexistent/bin/nbmake, needs building.
> > ===> Bootstrapping nbmake
> > checking for sh... /bin/sh
> > checking for gcc... cc
> > checking for C compiler default output... a.out
> > checking whether the C compiler works... configure: error: cannot run C compiled programs.
> > If you meant to cross compile, use `--host'.
> > 
> > ERROR: Configure of nbmake failed
> > *** BUILD ABORTED ***
> > 
> > I have done the following: removed /usr/src and pulled down a fresh
> > tree, removed and created /usr/obj again, logged in directly as root
> > instead of using sudo as I normally do. I get the results above
> > everytime. I am sure it is some failure on my part, and would be
> > greatful for advice.
> 
> TMPDIR mounted noexec, i guess.
> 
> 
> regards,
> 
> -- 
> -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --



Bruce Buskill
Personal: bruce@bsd-unix.net
Work: bbuskill@radford.edu
Web: http://www.bsd-unix.net/~bruce