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 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> <11A23EFCC31140F09CCC249D5A63569B AT WMK> In-Reply-To: <11A23EFCC31140F09CCC249D5A63569B@WMK> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/