delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/21/21:20:39

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=o/p42mfOw2xNPnIRHfJwnZ1g8BU/c
ZxJpAg8dE199hYb4BZ7TvPZ2kwfsLbq7rD7CKQ78nRWG1EboU8FkbXziiLAtyo7N
avNNCX30C38jCNba0Pi1Mn9Ojni8Mp4NUopTPY6XEEsui3etgG00j0cmEKvII7QT
3Lg3xHNJJDdfYs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=N993UaLzJNfn90tGXnQlZnyDkmY=; b=aLl
M+XrJxnyQNhjjPIKCchJyL9QY0IfJtGr2LPdZs8gfwF4TWb+7RnNafWIiV2QVTZS
zJjKZLZTOr9zh/7y6SG9Tqn9ExsdZ0FRxdcLrwVARYQ2iS0FRyRSVLybzaYskAzl
XsA+FAie/VOZRt//6Tc9i1V6sMS9Ih3lOkYkuDY0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS,TBC autolearn=no version=3.3.2 spammy=sk:inetuti, csih, dx, Query
X-HELO: mail-yw0-f178.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UiQuv+ImqrKr+LV6UsCcYnDrUFHI2gUxI3EelqfetrE=; b=foEFjPZ8az3KS3gzAIxLvT8oia/3JGrhgwYYSCqRSCKxsHYXV3qP7eHOTOFo1+XHXP GwWiudU8WTQ3gUywn74e4O5duUuBvflM80X+KFxsFgsfOWkNDlckDD64i1wWd7af/6K+ 1EH579gz91sg2Ar6Eky4IGsd1y+o9cHo3DfFeu1IL8azj3LOkLmX2U4YsjsWTCw92Hnt 249rGhtrdBt1jGCWddyr8oXrfcXbQb5WZUbukJ2Tg7l9V8BGKH59Rzxbp4yQZmseyfNN sRhNnhzl66Cs0UVUsKmxSM8LcJLUAnCRNVgclPX1xOGJ1fXdp3sOejMoF+KMXIYgnY60 4GrA==
X-Gm-Message-State: AE9vXwNGZWiXld2BOybbIBmv5aoKDzYydJRC0QsaTlsSi/GDvQL3+P/B8igxc1HXPJVJNpgO3KpSiVcQ36kbew==
X-Received: by 10.13.226.193 with SMTP id l184mr37147326ywe.282.1474507210977; Wed, 21 Sep 2016 18:20:10 -0700 (PDT)
MIME-Version: 1.0
From: shu <shu DOT eclipse AT gmail DOT com>
Date: Thu, 22 Sep 2016 10:20:10 +0900
Message-ID: <CAE5KSAZFhBke90O0BRcGPfdMSetOo=cjUKCKuGjqLHw-99rt6w@mail.gmail.com>
Subject: basename , grep , dirname commands not found when using iu-config , syslogd-config, cygwin-service-installation-helper.sh
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

error message example :
/usr/bin/iu-config: line 10: basename: command not found


When i do some uninstall/install inetutils-server package
i will met    error message:
 inetutils-server.sh exit code 1

i checked  setup.log, found it is cause by a command :
C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti
nstall/inetutils-server.sh"

so i write "set -x" in inetutils-server.sh.
found command error msg "grep: command not found"
              -------this can be fixed by changing to full path like
/usr/bin/basename.


And "The permissions on the directory /var are not correct."
-----------this is can be fixed by chmod permission.it is maybe cause
by me.


After those fixs, i can using C:\progwvd\ide\cygwin\bin\bash.exe
--norc --noprofile "/etc/posti
nstall/inetutils-server.sh" without error.

Do not know how to contribute those source code. so raise it as a bug.
hope someone can fix it.



Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\niesh>C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti
nstall/inetutils-server.sh"
+ '[' '!' -f /etc/ftpusers ']'
+ '[' '!' -f /etc/ftpwelcome ']'
+ '[' '!' -f /etc/inetd.conf ']'
+ '[' '!' -f /etc/shells ']'
+ '[' '!' -f /etc/motd ']'
+ '[' '!' -f /etc/syslog.conf ']'
+ '[' '!' -f /etc/xinetd.d/ftpd ']'
+ '[' '!' -f /etc/xinetd.d/talk ']'
+ '[' '!' -f /etc/xinetd.d/telnet ']'
+ '[' '!' -f /etc/xinetd.d/uucp ']'
+ export IU_CONFIG_AUTO_ANSWER_NO=1
+ IU_CONFIG_AUTO_ANSWER_NO=1
+ /usr/bin/iu-config
/usr/bin/iu-config: line 10: basename: command not found
/usr/bin/iu-config: line 11: dirname: command not found
/usr/share/csih/cygwin-service-installation-helper.sh: line 761: grep: command n
ot found
/usr/share/csih/cygwin-service-installation-helper.sh: line 2472: awk: command n
ot found
/usr/share/csih/cygwin-service-installation-helper.sh: line 2473: awk: command n
ot found
*** Warning: The permissions on the directory /var are not correct.
*** Warning: They must match the regexp d..x.....[xt]
*** ERROR: Problem with /var directory. Exiting.
+ export SYSLOGD_CONFIG_AUTO_ANSWER_NO=1
+ SYSLOGD_CONFIG_AUTO_ANSWER_NO=1
+ /usr/bin/syslogd-config
/usr/bin/syslogd-config: line 10: basename: command not found
/usr/bin/syslogd-config: line 11: dirname: command not found
/usr/share/csih/cygwin-service-installation-helper.sh: line 761: grep: command n
ot found
/usr/share/csih/cygwin-service-installation-helper.sh: line 2472: awk: command n
ot found
/usr/share/csih/cygwin-service-installation-helper.sh: line 2473: awk: command n
ot found
*** Warning: The permissions on the directory /var are not correct.
*** Warning: They must match the regexp d..x.....[xt]
*** ERROR: Problem with /var directory. Exiting.






C:\Users\niesh>C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti
nstall/inetutils-server.sh"
+ '[' '!' -f /etc/ftpusers ']'
+ '[' '!' -f /etc/ftpwelcome ']'
+ '[' '!' -f /etc/inetd.conf ']'
+ '[' '!' -f /etc/shells ']'
+ '[' '!' -f /etc/motd ']'
+ '[' '!' -f /etc/syslog.conf ']'
+ '[' '!' -f /etc/xinetd.d/ftpd ']'
+ '[' '!' -f /etc/xinetd.d/talk ']'
+ '[' '!' -f /etc/xinetd.d/telnet ']'
+ '[' '!' -f /etc/xinetd.d/uucp ']'
+ export IU_CONFIG_AUTO_ANSWER_NO=1
+ IU_CONFIG_AUTO_ANSWER_NO=1
+ /usr/bin/iu-config
*** Warning: The permissions on the directory /etc/inetd.d are not correct.
*** Warning: They must match the regexp drwxr.xr.x
*** Info: Note that the inetd service and the xinetd service must not
*** Info: both be active at the same time.  The easiest way to ensure
*** Info: this is to only install one or the other as a service.
*** Query: Do you want to install the inetd super-server as a service? (yes/no)
no

Configuration finished. Have fun!
+ export SYSLOGD_CONFIG_AUTO_ANSWER_NO=1
+ SYSLOGD_CONFIG_AUTO_ANSWER_NO=1
+ /usr/bin/syslogd-config
/usr/bin/syslogd-config: line 10: basename: command not found
/usr/bin/syslogd-config: line 11: dirname: command not found

*** Warning: The following function requires administrator privileges!
*** Query: Do you want to install syslogd as service? (yes/no) no

Configuration finished. Have fun!

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019