This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Errors when trying to access /dev/null
- From: "Sandy Pyke" <spyke555 at yahoo dot ca>
- To: "Cygwin List" <cygwin at cygwin dot com>
- Date: Wed, 15 Oct 2003 01:21:37 -0400
- Subject: Errors when trying to access /dev/null
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...
Sandy Pyke
System information:
Intel Pentium III 600EB, 512Mb RAM
Windows XP Pro, version 2002, Service Pack 1
Environment variables:
!C:='C:\cygwin\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\Sandy\Application Data'
BASH=/usr/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release"
[5]="i686-pc-cygwin")
BASH_VERSION='2.05b.0(1)-release'
CLIENTNAME=Console
COLUMNS=80
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=SANDY-HOME
COMSPEC='C:\WINDOWS\system32\cmd.exe'
COSMOSM='C:\Program Files\DesignSTAR'
CVS_RSH=/bin/ssh
DIRSTACK=()
EUID=1003
GROUPS=()
HISTFILE=/home/Sandy/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/Sandy
HOMEDRIVE=C:
HOMEPATH='\Documents and Settings\Sandy'
HOSTNAME=sandy-home
HOSTTYPE=i686
IFS=$' \t\n'
INFOPATH=/usr/local/info:
/usr/info:
/usr/share/info:
/usr/autotool/devel/info:
/usr/autotool/stable/info:
LANGUAGE=en
LINES=25
LM_LICENSE_FILE='C:\Program Files\DesignSTAR\license\FLEXlm\LICENSE.DAT'
LOGONSERVER='\\SANDY-HOME'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAKE_MODE=unix
MANPATH=/usr/local/man:
/usr/man:
/usr/share/man:
/usr/autotool/devel/man:
NUMBER_OF_PROCESSORS=1
OLDPWD=/gpsdrive-2.04
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=cygwin
PATH='/usr/local/bin:
/usr/bin:/bin:
/usr/X11R6/bin:
/cygdrive/c/program files/graphicsmagick-1.0.3-q8:
/cygdrive/c/Program Files/DesignSTAR:
/cygdrive/c/WINDOWS/system32:
/cygdrive/c/WINDOWS:
/cygdrive/c/WINDOWS/System32/Wbem:
/cygdrive/c/Program Files/Common Files/Autodesk Shared/:
/cygdrive/c/Program Files/SecureCRT 3.0:
/cygdrive/c/Program Files/Common Files/Adaptec Shared/System'
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=1
PRINTER='Epson Stylus Photo 700 ESC/P 2'
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 6 Model 8 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u@\\h \\[\\033[33m\\w\\033[0m\\]\n$
'
PS2='> '
PS4='+ '
PWD=/home/Sandy
SESSIONNAME=Console
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:
monitor
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TEMP=/cygdrive/c/DOCUME~1/Sandy/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/Sandy/LOCALS~1/Temp
UID=1003
USER=Sandy
USERDOMAIN=SANDY-HOME
USERNAME=Sandy
USERPROFILE='C:\Documents and Settings\Sandy'
WINDIR='C:\WINDOWS'
_=/home/Sandy/
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
--
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/