This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]