delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/31/12:29:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sun, 31 Jan 2010 12:29:07 -0500
Message-ID: <37bd06461001310929w4863ceb6g7ffdb178201efdbd@mail.gmail.com>
Subject: Re: gcc command not found
From: Paul Cantalupo <pcantalupo AT gmail DOT com>
To: Cygwin mailing list <cygwin AT cygwin DOT com>
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

  Argh.  Bad perms, gah.  Try this:

for x in /etc/postinstall/{gcc.,gcc-[^tm],gcc4-}* ;
do
  . $x
done

  Then check in your bin dir for all the appropriate names and links.

    cheers,
      DaveK


I ran your for loop command and got this:

   bash: /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh:
Permission denied

So I changed the perms of the script to chmod 744 and then re-ran the
for loop. It successfuly completed and I now see the appropriate sym
links in /usr/bin.

This makes me wonder if there are other post-install scripts that did
not successfully execute due to incorrect permissions on files. Guess
I'll have to deal with them as they arise.

BTW, what is the best way to backup and reinstall Cygwin? Is there a
FAQ or protocol for this?

Thank you Dave for all your help,

Paul

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