public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc
@ 2016-01-20  8:02 David Lee
  2016-01-20 11:47 ` Achim Gratz
  0 siblings, 1 reply; 14+ messages in thread
From: David Lee @ 2016-01-20  8:02 UTC (permalink / raw)
  To: cygwin

While doing a FRESH install of 32-bit cygwin on (64-bit) Windows
Server 2012, setup returns error 1 from base-files-mketc.sh (from
base-files package).

/var/log/setup.log reveals

    :

>> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake1.13.sh"
>> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake.sh"
>> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh"
>> 2016/01/19 20:21:47 abnormal exit: exit code=1
>> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh"
>> 2016/01/19 20:21:48 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/ca-certificates.sh"
>> 2016/01/19 20:21:50 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/libxml2.sh"
>> 2016/01/19 20:21:51 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/libsasl2_3.sh"

    :

and /var/log/setup.log.full reveals

    :

>> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake1.13.sh"
>> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake.sh"
>> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh"
>> Directory /cygdrive/c/Windows/SysWOW64/drivers/etc does not exist; exiting
>> If directory name is garbage you need to update your cygwin package
>> 2016/01/19 20:21:47 abnormal exit: exit code=1
>> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh"
>> Using the default version of /etc/profile.d/lang.sh (/etc/defaults/etc/profile.d/lang.sh)
>> Using the default version of /etc/profile.d/lang.csh (/etc/defaults/etc/profile.d/lang.csh)
>> Using the default version of /etc/profile.d/tzset.sh (/etc/defaults/etc/profile.d/tzset.sh)

    :

the relevant lines from base-files-mketc.sh are as follow:

    :

>> FILES="hosts protocols services networks"
>> OSNAME="$(/usr/bin/uname -s)"
>> WINETC="$(/usr/bin/cygpath -S -u)/drivers/etc"

>> if [ ! -d "${WINETC}" ]; then
>>  echo "Directory ${WINETC} does not exist; exiting" >&2
>>  echo "If directory name is garbage you need to update your cygwin package" >&2
>>  exit 1
>> fi
>>
>> for mketc in ${FILES}

    :

For 32-bit cygwin and 64-bit Windows, the code assigns
/cygdrive/C/Windows/SysWOW64/drivers/etc to WINETC but it doesn't
exist on my machine. I could have recreated it (and the files
underneath) and then rerun the script - but I doubt if the OS uses
this path. What is recognized and used is
C:\Windows\System32\Drivers\etc.

Any help is appreciated.

David Lee

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-01-28  2:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20  8:02 Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc David Lee
2016-01-20 11:47 ` Achim Gratz
2016-01-20 13:08   ` Henri
2016-01-20 14:17   ` Henri
2016-01-20 21:45     ` Achim Gratz
2016-01-20 23:35       ` Henri
2016-01-21 19:56         ` Achim Gratz
2016-01-22  7:35           ` David Lee
2016-01-22 14:33             ` Achim Gratz
2016-01-22 16:02               ` Andrey Repin
2016-01-22 21:07               ` cyg Simple
2016-01-27  9:46               ` David Lee
2016-01-27 16:08                 ` Achim Gratz
2016-01-28  6:35                   ` David Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).