Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 15 Oct 2003 11:10:44 +0200 From: Corinna Vinschen To: Cygwin List Subject: Re: Errors when trying to access /dev/null Message-ID: <20031015091044.GK14344@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Cygwin List References: <000001c392dc$37e6f850$1b0aa8c0 AT sandyhome> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c392dc$37e6f850$1b0aa8c0@sandyhome> User-Agent: Mutt/1.4.1i On Wed, Oct 15, 2003 at 01:21:37AM -0400, Sandy Pyke wrote: > Hello all, > > I am new to Cygwin and I've run across a problem. I have installed Cygwin on > two different Windows XP Pro machines and one is working fine and the other > is not. On both machines I did a Default installation plus some development > packages (gcc, make, gtk2-win32, etc...) > > On the machine giving me troubles I get a whole series of errors related to > /dev/null when I try and run ./configure for a few different packages. Here > are some example errors I received: > > ./configure: cannot create /dev/null: directory nonexistent > ... > ./configure: cannot create /dev/null: directory nonexistent > ./.lineno: cannot create /dev/null: directory nonexistent > ... > ./.lineno: cannot create /dev/null: directory nonexistent > :error: cannot create .lineno; rerun with a POSIX shell > > To simplify matters I tried running the following commands: > > "ls > /dev/null" returns "bash: /dev/null: No such file or directory" > > I created a file called null in my home directory and then ran the following > command: > > "ln -s null /dev/null" which returned "ln: /dev/null: File exists" > > Needless to say I'm now confused... Can anyone tell me which package > includes support for /dev/null? And are there any environment variables I > need to set for this to work? Any assistance would be greatly appreciated. I > can provide more details if required... /dev/null is a virtual device, entirely controlled inside of the Cygwin DLL itself. There's no need to create a /dev directory or a /dev/null device node, nor do you need any other package. None of the above information is enough to figure out what the exact problem is. First, in Windows Explorer remove a /dev directory if you (or any configure script) created one. Then try again to access /dev/null. If it still doesn't work, try `strace ls /dev/null' and post the output to this list. Btw., read http://cygwin.com/problems.html. We don't even know which version of Cygwin you're running. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/