not updating unwritable cache ../config.cache

John Fortin fortinj@attglobal.net
Fri Mar 24 13:36:00 GMT 2000


John Wiersba wrote:

> I've recently reinstalled full.exe and also the 1/15/99 patches (both binary
> and source).  Now I'm trying to build the sources.  My build script looks
> like:
>    #!/bin/ksh
>
>    cd /usr/src/TARGET-OBJ
>    /usr/src/dev/configure --prefix=/usr/src/TARGET-INSTALL -v 2>&1 |
>                        tee /usr/src/configure.log
>    make         2>&1 | tee /usr/src/make.log
>    make install 2>&1 | tee /usr/src/install.log
>
> I'm getting a lot of configure errors which look suspicious:
>    not updating unwritable cache ../config.cache
>
> Two things which may be related:
>
> 1)  The following never works for me
>    [[ -w FILE ]] && echo ok
> even if the file *is* writable by me.
>
> 2) The id and ls commands work strangely for me:
>    > id
>       uid=500(administrator) gid=100(everyone) groups=100(everyone)
>    > rm -f FILE; touch FILE; ls -l FILE
>       -rw-r--r--   1 jrw      JRW             0 Mar 24 15:55 FILE
>    > cd /c
>    > rm -f FILE; touch FILE; ls -l FILE
>       -rw-r--r--   1 winnt    Everyone        0 Mar 24 15:57 FILE
>    > cat /etc/passwd
>       WinNT::0:513:::
>       Administrator::500:513:::
>       Guest::501:513:::
>       jrw::544:544:::/bin/ksh
>    > cat /etc/group
>       Everyone::0:
>       JRW::513:
> I've lived with this "feature" for a long time, but maybe it's related to
> this problem?
>
> Thanks,
> John Wiersba
>
> ----------------------------------------------------------------------------
> ---
> Here's my cygcheck output:
>
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Fri Mar 24 15:59:57 2000
>
> WinNT Ver 4.0 build 1381 Service Pack 5
>
> Path:   /opt/cygwin/cygwin-b20/H-i586-cygwin32/bin
>         /opt/cygwin-old/local/bin
>         /jrw/jrw/mdst/sh
>         /jrw/binu
>         /jrw/binw
>         /opt/java/jdk/bin
>         /opt/java/jre/1.2/bin
>         .
>
> SysDir: C:\WINNT\System32
> WinDir: C:\WINNT
>
> CYGWIN = `  notitle tty nostrip_title binmode glob'
> HOME = `/jrw'
> MAKE_MODE = `UNIX'
> PWD = `/usr/src'
>
> !D: = `D:\jrw'
> CDPATH = `.:..:/jrw'
> COLUMNS = `80'
> COMPUTERNAME = `AA-06025'
> COMSPEC = `C:\WINNT\system32\cmd.exe'
> DIR_BKMK = `/opt/netscape/jrw'
> DIR_CYGWIN_INSTALL = `/opt/cygwin/cygwin-b20'
> DIR_CYGWIN_SYS = `/usr/i586-cygwin32'
> DIR_CYGWIN_USR = `/opt/cygwin/cygwin-b20/H-i586-cygwin32'
> DIR_DATA = `/jrw/jrw/mdst/data'
> DIR_JRW = `/jrw/jrw'
> DIR_JW = `/jrw/jrw/jw'
> DIR_LISTS = `/jrw/jrw/mdst/lists'
> DIR_MAB = `/jrw/jrw/mdst/mab'
> DIR_MABSI = `/hmrdev/mab'
> DIR_MDST = `/jrw/jrw/mdst'
> DIR_MDST_BKMK = `/jrw/jrw/mdst/bookmark'
> DIR_PL = `/jrw/jrw/mdst/pl'
> DIR_PL_LIST = `
>         /opt/perl/lib
>         /opt/perl/site/lib
>         /usr/local/lib/perl5/5.00503
>         /usr/local/lib/perl5/5.00503/cygwin32
> '
> DIR_PRT = `/jrw/prt'
> DIR_SH = `/jrw/jrw/mdst/sh'
> DIR_SQL = `/jrw/jrw/mdst/sql2sql'
> HOMEDRIVE = `C:'
> HOMEPATH = `\users\default'
> HOSTNAME = `aa-06025'
> HOSTTYPE = `i586'
> INFOPATH = `/usr/info:/usr/local/info'
> LANG = `C'
> LC_ALL = `C'
> LESS = `-iMn'
> LINES = `66'
> LISTSDIR = `/jrw/jrw/jw'
> MACHTYPE = `i586-pc-cygwin32'
> MANPATH = `/usr/man:/usr/local/man'
> NUMBER_OF_PROCESSORS = `1'
> NWUSERNAME = `jrw32982'
> OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
> OS = `Windows_NT'
> OSTYPE = `cygwin32'
> PATHEXT = `.COM;.EXE;.BAT;.CMD'
> PATH_ORIG =
> `/opt/ora805/bin:/c/ORANT/bin:/opt/perl/bin:/c/dmi/win32/bin:/opt/mks/mkssi:
> /opt/mks/mksnt:/c/winnt/system32:/c/winnt:.:/opt/supmagic/sqlany50/win:/opt/
> supmagic/netmap'
> PROCESSOR_ARCHITECTURE = `x86'
> PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 1, GenuineIntel'
> PROCESSOR_LEVEL = `6'
> PROCESSOR_REVISION = `0501'
> PROMPT = `$P$G'
> PS1 = `$(prompt $? \w)'
> ROOTDIR = `d:/opt/mks'
> SHELL = `/bin/bash'
> SHLVL = `1'
> SQLANY50 = `d:\opt\supmagic\sqlany50\win'
> SYSTEMDRIVE = `C:'
> SYSTEMROOT = `C:\WINNT'
> TCLLIBPATH = `/jrw/jrw/mdst/mab/pkg'
> TEMP = `C:\TEMP'
> TERM = `linux'
> TERM_ORIG = `cygwin'
> TMP = `C:\TEMP'
> TMPDIR = `C:/TEMP'
> TZ = `EST5DST'
> USERDOMAIN = `MDST-AA1'
> USERNAME = `jrw32982'
> USERPROFILE = `C:\WINNT\Profiles\jrw32982'
> VISUAL = `myvi'
> WIN32DMIPATH = `c:\dmi\win32'
> WINDIR = `C:\WINNT'
> _ = `/bin/cygcheck'
>
> Use `-r' to scan registry
>
> a:\ fd  FAT        1Mb  50% CP    UN
> c:\ hd  FAT     2044Mb  40% CP    UN
> d:\ hd  NTFS    4104Mb  55% CP CS UN PA FC
> e:\ cd           N/A    N/A
> f:\ net NWFS     900Mb  39% CP                 SYS
> h:\ net NWFS   29281Mb  62% CP                 MEDSTAT
> j:\ net NTFS   22001Mb  32% CP CS UN PA FC
> m:\ net NWFS   29281Mb  62% CP                 MEDSTAT
> n:\ net NWFS   30393Mb  82% CP                 MEDSTATN
> o:\ net NWFS   24897Mb  78% CP                 MEDSTAT
> r:\ net NTFS    2055Mb   6% CP CS UN PA FC
> s:\ net NWFS   34688Mb  81% CP                 MEDSTATS
> t:\ net NWFS   30393Mb  82% CP                 MEDSTATN
> x:\ net NWFS     900Mb  39% CP                 SYS
> y:\ net NWFS     900Mb  39% CP                 SYS
>
> d:    /        native  text=binary
> a:    /a/a     native  text=binary
> c:    /c       native  text=binary
>
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\bash.exe
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\cat.exe
> Not Found: cpp (good!)
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\find.exe
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\ld.exe
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\ls.exe
> Found: d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\make.exe
> Not Found: sh
>
>   371k 1998/12/01 d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll
> - os=4.0 img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 3:25
>     5k 1998/12/01
> d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll - os=4.0
> img=1.0 sys=4.0
>    10k 1998/12/01
> d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 3:25
>   600k 1998/12/01 d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=1998/12/1 3:28
>   451k 1999/01/20 d:\opt\cygwin\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1999/1/16 0:09
> Use -h to see help about each section
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Could this be the old "I'm part of the Administrator group" so the Administrator
User owns all files, not me syndrome?

Create a new user id which does not have Adminstrator Priveledges and try
building again.

John




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list