From: David Lee <mailtolky@gmail.com>
To: cygwin@cygwin.com
Subject: Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc
Date: Wed, 20 Jan 2016 08:02:00 -0000 [thread overview]
Message-ID: <CALiPeun3bCr9uNNA56Kc-8VbLXFXrTrTWJikdRx0jjRFvAuwkA@mail.gmail.com> (raw)
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
next reply other threads:[~2016-01-20 3:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-20 8:02 David Lee [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALiPeun3bCr9uNNA56Kc-8VbLXFXrTrTWJikdRx0jjRFvAuwkA@mail.gmail.com \
--to=mailtolky@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).