delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/28/12:22:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49809412.4060501@dazjorz.com>
Date: Wed, 28 Jan 2009 18:21:22 +0100
From: Sjors Gielen <mailinglist AT dazjorz DOT com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: New Cygwin install and "configure: command not found" installing other packages
References: <67CA01A3E10441A1B929921AA2EE8E33 AT WMK> <glq2tb$bs5$1 AT ger DOT gmane DOT org> <11A23EFCC31140F09CCC249D5A63569B AT WMK>
In-Reply-To: <11A23EFCC31140F09CCC249D5A63569B@WMK>
X-IsSubscribed: yes
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

Bill Klein wrote:
> 
> A) my hope is to use as little "shell" as possible.  I am installing Cygwin
> in order to be able to use a specific "product" that does not (normally)
> require shell programming.
> 
> B) I am using the commands as they appear in the INSTALL file for the
> packages that I am using. (I simply made a typo in my original note)
> 
> C) After trying the original command, I ran this from the directory where
> the "configure" file was (which I verified with "dir").
> 
> when I typed
>    configure
> it got the "configure: command not found" message
> 
> when I typed
>    sh configure
> 
> it worked.

That's because when you type 'configure', it searches for a file with 
that name in your $PATH, i.e. in /bin, /usr/bin, but not in the local 
directory (.). `sh` is in /bin/sh, and it searches in the current 
directory, so `sh configure` works. However, it's better to run:

./configure

as then you explicitly say "I want to run configure in this directory".

> 
> The file "configure" is NOT something that I created but was supplied with
> the packages.  Two packages that have had this same problem are "from
> reliable" sites. For example:
>   http://gmplib.org/
>   http://www.gnu.org/software/libtool/libtool.html
>  

We know. Configure is a standard program that prepares compilation.

Sjors

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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