Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <42E68964.5070301@mcsmurf.de> Date: Tue, 26 Jul 2005 21:05:08 +0200 From: Frank Wein User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050724 SeaMonkey/1.0a MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Problem with path conversion since update from/of ash to bash? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i'm reporting this problem based on observations from multiple people. The problem is that the configure script of Mozilla/Firefox/etc. stopped working since people updated their cygwin. The problem is caused by these lines (see http://lxr.mozilla.org/mozilla/source/configure.in#1634 for context): 1634 MOZ_TOOLS_DIR=`cd $MOZ_TOOLS && pwd` 1635 if test "$?" != "0" || test -z "$MOZ_TOOLS_DIR"; then 1636 AC_MSG_ERROR([cd \$MOZ_TOOLS failed. MOZ_TOOLS ==? $MOZ_TOOLS]) 1637 fi Now it seems Cygwin (sh?) doesn't do this conversion from a Windows path to a cygwin path anymore. Normally you had to set MOZ_TOOLS=C:\moztools and the &&pwd would magically convert this to /cygdrive/c/moztools AFAIK. But people reported that since they started to update to ash-20040127-3 (which also seemed to change the default shell to bash, is this correct?) this doesn't work anymore, but they say with ash-20040127-1 it worked fine. This occours with -3 FYI: /cygdrive/e/mozilla/source/mozilla/configure: line 6026: cd: C:\moztools: No such file or directory configure: error: cd $MOZ_TOOLS failed. MOZ_TOOLS ==? C:\moztools Now you have to set MOZ_TOOLS=/cygdrive/c/moztools as a env var (or C:/moztools). Now who's to blame for that, ash, bash, the env var? Should the build instructions just be changed to say that a POSIX path should be used? Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFC5olkaT2V74kAr9URAr+bAKCFJ2c5XDuhA0vnWJ9/2pzWqngZugCfe0qC 3u+Rdp0PGUhv164Q8IRqSFk= =6Z2d -----END PGP SIGNATURE----- -- 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/