This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with path conversion since update from/of ash to bash?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]