delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/05/09:48:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <1333633659.39481.YahooMailNeo@web125404.mail.ne1.yahoo.com>
Date: Thu, 5 Apr 2012 06:47:39 -0700 (PDT)
From: Family Moreno <bam_mm_bam2 AT yahoo DOT com>
Reply-To: Family Moreno <bam_mm_bam2 AT yahoo DOT com>
Subject: Cygwin Setup - Post Install Script Errors Unknown Package bash.sh exit code 1
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
MIME-Version: 1.0
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q35Dm6R7028968


I reccently wanted to start learning how to code. I bought a book which led me to the cygwin site. 


It asked for me to install using the setup.exe and to also select the gcc core: C compiler, which I did. At the end of the installation I received an error or sorts.


It stated: 

Posinstall Script Error
Package: Unknown Package
                bash.sh exit code 1.

As far as I can see it installed correctly either way. I can open the cygwin terminal and it works fine.

From there it said to run:

gcc hello.c

But when I do I get an error on the terminal saying:
gcc: no file or directory found
gcc: no input file

I've tried uninstalling, reinstalling. I disabled my AV. I have added 
c:\cygwin\bin to my Windows PATH using an elevated command prompt. 


Thanks in advance, I am totally new to programming and I'm not even sure if I 
navigated the Cygwin page correctly, but I did try my best. 

-Bernardo

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