X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <499D47E5.5000703@gmail.com> References: <77f1b2160902190235t6b57482alad5b6e13b3f14a0e AT mail DOT gmail DOT com> <499D47E5 DOT 5000703 AT gmail DOT com> Date: Thu, 19 Feb 2009 13:15:33 +0100 Message-ID: <77f1b2160902190415y4c81a14ai4711aa1e19eee436@mail.gmail.com> Subject: Re: Installation problem - "unix" root doesn't work From: Michel Wozniak To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hi Dave, Thanks for the answer. First, I tried to erase the former erroneous installation of Cygwin. I cleaned the registry. So, I cleaned all the entries you asked from the user and system PATH env, and I relaunched an installation. The result is the same. In the setup.log, all the postinstalls give : 2009/02/19 13:03:06 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/passwd-grp.sh 2009/02/19 13:03:06 abnormal exit: exit code=127 If you launch it manually, you get : C:\cygfiles>C:\cygwin\bin\bash.exe -c /etc/postinstall/update-info-dir.sh /cygdrive/c/cygwin/bin/bash: /etc/postinstall/update-info-dir.sh: No such file or directory The cygcheck -s -r -v gives : Cygwin Configuration Diagnostics Current System Time: Thu Feb 19 13:12:56 2009 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\Documents and Settings\j630464\Desktop\PSA\SVG\Scripts C:\SYS\WINDOWS\system32 C:\SYS\WINDOWS C:\SYS\WINDOWS\System32\Wbem c:\sys\ora8i\bin C:\Program Files\QuickTime\QTSystem\ C:\Perl\bin\ C:\Program Files\IBM\SQLLIB\BIN C:\Program Files\IBM\SQLLIB\FUNCTION C:\Program Files\cvs C:\JIP\bin\maven\bin . c:\user\globe\derby\bin c:\Program Files\Hewlett-Packard\IAM\bin C:\Sys\Pcom\ C:\Program Files\IBM\Trace Facility\ C:\SYNC\OUTILS\php C:\Program Files\MySQL\MySQL Server 5.0\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 400(J630464) GID: 401(mkpasswd) 401(mkpasswd) Output from C:\cygwin\bin\id.exe (ntsec) UID: 400(J630464) GID: 401(mkpasswd) 401(mkpasswd) SysDir: C:\SYS\WINDOWS\system32 WinDir: C:\SYS\WINDOWS PWD = '/cygdrive/c/cygwin/bin' HOME = '/cygdrive/c' HOMEPATH = '\' DB2INSTANCE = 'DB2' APPDATA = 'C:\Documents and Settings\j630464\Application Data' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 15 Stepping 11, GenuineIntel' WINDIR = 'C:\SYS\WINDOWS' VS80COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\' DB2TEMPDIR = 'C:\Program Files\IBM\SQLLIB' DERBY_HOME = 'C:\user\globe\derby' GS_LIB = 'c:\Program Files\PDFCreator\GS8.54\gs8.54\lib' USERDOMAIN = 'INETPSA' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' OS2LIBPATH = 'C:\SYS\WINDOWS\system32\os2\dll;' ARISHOME70 = 'C:\Program Files\ARIS7.0' TEMP = '/cygdrive/c/DOCUME~1/j630464/LOCALS~1/Temp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' QTJAVA = 'C:\Program Files\Java\jre1.5.0_11\lib\ext\QTJava.zip' USERNAME = 'J630464' GS_PROG = 'c:\Program Files\PDFCreator\GS8.54\gs8.54\bin\gswin32.exe' MAVEN_OPTS = '-Dfile.encoding=cp1252 -Xmx128m' PROCESSOR_LEVEL = '6' SYSTEMDRIVE = 'C:' M2_JAVA_HOME = 'C:\JIP\bin\jdk1.5.0_12_off' JAVA_HOME = 'C:\j2sdk1.4.2_10' GS_DLL = 'c:\Program Files\PDFCreator\GS8.54\gs8.54\bin\gsdll32.dll' USERPROFILE = 'C:\Documents and Settings\j630464' LOGONSERVER = '\\BEE604' PROCESSOR_ARCHITECTURE = 'x86' !C: = 'C:\cygwin\bin' SHLVL = '1' M2_HOME = 'C:\JIP\bin\maven' USERDNSDOMAIN = 'inetpsa.com' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' PROMPT = '$P$G' COMSPEC = 'C:\SYS\WINDOWS\system32\cmd.exe' TMP = '/cygdrive/c/DOCUME~1/j630464/LOCALS~1/Temp' SYSTEMROOT = 'C:\SYS\WINDOWS' PROCESSOR_REVISION = '0f0b' CLASSPATH = '.;C:\Program Files\IBM\SQLLIB\java\db2java.zip;C:\Program Files\IBM\SQLLIB\java\db2jcc.jar;C:\Program Files\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;C:\Program Files\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\Program Files\IBM\SQLLIB\BIN' PROGRAMFILES = 'C:\Program Files' NOLGS = 'NOLGS' NUMBER_OF_PROCESSORS = '1' INCLUDE = 'C:\Program Files\IBM\SQLLIB\lib' COMPUTERNAME = 'B680844' PCOMM_ROOT = 'C:\Sys\Pcom\' OLDPWD = '/cygdrive/c/cygwin/etc/postinstall' _ = './cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = '/cygdrive' cygdrive flags = 0x00000022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = '/cygdrive' cygdrive flags = 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 'C:\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 'C:\cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = 'C:\cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options c: hd NTFS 76319Mb 89% CP CS UN PA FC PSAV3 d: cd N/A N/A . /cygdrive user binmode,cygdrive C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Not Found: awk Not Found: bash Not Found: cat Not Found: cp Not Found: cpp (good!) Not Found: crontab Not Found: find Not Found: gcc Not Found: gdb Not Found: grep Not Found: kill Not Found: ld Not Found: ls Not Found: make Not Found: mv Not Found: patch Found: C:\Perl\bin\perl.exe Not Found: rm Not Found: sed Not Found: ssh Not Found: sh Not Found: tar Not Found: test Not Found: vi Not Found: vim 61k 2008/04/01 c:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2008/4/1 5:37 7k 2003/10/19 c:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57 40k 2006/11/15 c:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2006/11/15 8:06 24k 2008/11/29 c:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2008/11/29 15:30 271k 2007/08/24 c:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0 "cygicons-0.dll" v0.0 ts=2007/8/24 9:24 978k 2008/11/10 c:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2008/11/10 1:35 31k 2005/11/20 c:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2005/11/20 3:04 31k 2008/12/31 c:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0 "cygintl-8.dll" v0.0 ts=2008/12/31 8:42 21k 2006/11/15 c:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2006/11/15 8:05 67k 2006/11/15 c:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2006/11/15 8:13 237k 2006/11/15 c:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2006/11/15 8:02 12k 2006/11/15 c:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2006/11/15 8:04 181k 2008/09/07 c:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2008/9/7 5:36 302k 2008/09/07 c:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcrecpp-0.dll" v0.0 ts=2008/9/7 5:36 7k 2008/09/07 c:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2008/9/7 5:36 22k 2002/06/09 c:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45 155k 2008/11/29 c:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2008/11/29 15:30 1829k 2008/06/12 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2008/6/12 19:35 Cygwin DLL version info: DLL version: 1.5.25 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 156 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Thu Jun 12 19:34:46 CEST 2008 CVS tag: cr-0x5f1 Shared id: cygwin1S4 Can't find the cygrunsrv utility, skipping services check. Cygwin Package Information Last downloaded files to: C:\cygfiles Last downloaded files from: C:\cygfiles Package Version _update-info-dir 00804-1 alternatives 1.3.30c-2 ash 20040127-4 base-files 3.7-1 base-passwd 2.2-1 bash 3.2.48-21 bzip2 1.0.5-2 coreutils 6.10-2 crypt 1.1-1 cygutils 1.3.2-1 cygwin 1.5.25-15 cygwin-doc 1.4-4 editrights 1.01-2 findutils 4.4.0-3 gawk 3.1.6-1 grep 2.5.3-1 groff 1.19.2-2 gzip 1.3.12-2 less 382-1 libbz2_1 1.0.5-2 libiconv2 1.12-1 libintl3 0.14.5-1 libintl8 0.17-3 libncurses8 5.5-3 libpcre0 7.8-1 libpopt0 1.6.4-4 libreadline6 5.2.13-11 login 1.9-8 man 1.6e-1 rebase 2.4.4-1 run 1.1.10-1 sed 4.1.5-2 tar 1.21-1 termcap 20050421-1 terminfo 5.5_20061104-1 texinfo 4.8a-1 tzcode 2008h-1 which 2.20-1 Use -h to see help about each section So it's not yet better....... Best regards, Michel Wozniak 2009/2/19 Dave Korn : > Michel Wozniak wrote: > >> Path: > >> C:\SYNC\OUTILS\php >> C:\SYNC\OUTILS\Unix like > >> Not Found: awk >> Not Found: bash >> Not Found: cat >> Found: C:\SYNC\OUTILS\Unix like\cp.exe >> Not Found: cpp (good!) >> Not Found: crontab >> Found: C:\SYNC\OUTILS\Unix like\find.exe >> Not Found: gcc >> Not Found: gdb >> Found: C:\SYNC\OUTILS\Unix like\grep.exe >> Not Found: kill >> Not Found: ld >> Found: C:\SYNC\OUTILS\Unix like\ls.exe >> Not Found: make >> Found: C:\SYNC\OUTILS\Unix like\mv.exe >> Not Found: patch >> Found: C:\Perl\bin\perl.exe >> Found: C:\SYNC\OUTILS\Unix like\rm.exe >> Found: C:\SYNC\OUTILS\Unix like\sed.exe >> Not Found: ssh >> Not Found: sh >> Found: C:\SYNC\OUTILS\Unix like\tar.exe >> Not Found: test >> Not Found: vi >> Not Found: vim > > > All those utilities in the unix-alike directory in your PATH have got in the > way and messed up the postinstall scripts is my guess. Remove those OUTILS > dirs from your path and re-run setup; just click right through on "install > from local dir", set everything at the top level of the package category tree > to "reinstall" and it should complete whatever it didn't finish last time. > > cheers, > DaveK > > -- > 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/ > > -- 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/