delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/24/03:38:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <1319408055.79475.YahooMailClassic@web120719.mail.ne1.yahoo.com>
References: <1319408055 DOT 79475 DOT YahooMailClassic AT web120719 DOT mail DOT ne1 DOT yahoo DOT com>
Date: Mon, 24 Oct 2011 08:38:07 +0100
Message-ID: <CAHWeT-ZjJCeyd1dxk8+dkY7obNP1ExJA+W5EBobVPJdvqL8rdQ@mail.gmail.com>
Subject: Re: How to investigate a bug in /bin/mkshortcut.exe ?
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9O7cUEN031293

On 23 October 2011 23:14, Regid Ichira wrote:
>  /etc/postinstall/mintty.sh's exit code is 127.
>
>    $ cat /etc/postinstall/mintty.sh
>    PROGS=$(/bin/cygpath -P $CYGWINFORALL)
>    /bin/mkdir -p "$PROGS/Cygwin" &&
>    cd "$PROGS/Cygwin" &&
>    /bin/mkshortcut -n mintty /bin/mintty -a - -d "Cygwin Terminal"
>
> By running those commands manually, I think the problem is the last,
> /bin/mkshortcut, line.  How can I investigate it more?
>
>    $ cygcheck -f /bin/mkshortcut.exe
>    cygutils-1.4.6-1
>
>    $ file /bin/mkshortcut.exe
>    /bin/mkshortcut.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows

Try cygcheck without the -f to check that the DLLs that mkshortcut
depends on are present.

cygcheck /bin/mkshortcut.exe

Andy

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