From: Earnie B. <ear...@ya...> - 2003-07-08 16:44:15
|
Juan Jose Garcia-Ripoll wrote: > On Tuesday 08 July 2003 16:28, Earnie Boyd wrote: > >>Try http://prdownloads.sf.net/mingw/MSYS-1.0.9-rc-1.exe?download >>instead. I think it will make a difference. The environment variables >>are coverted to Win32 paths. > Is your below in response to 1.0.9? Earnie. > > I have tracked this problem further by putting a couple of "set -x" here and > there. > > The original problem is the following: My configure.in file tried to convert > the srcdir variable to an absolute path by using the trick srcdir=`cd > ${srcdir}; pwd`. I fixed this, so that it now reads srcdir=`cd ${srcdir}; pwd > -W` in the mingw32 platform. > > But now the real problem is in config.status. This is a shell script created > by "configure", and its purpose is to build all makefiles and special header > files, plus all directories and subdirectories for the build process. This > script does not accept DOS or win32 paths, and it breaks if srcdir has an > absolute value with a drive unit in it (c:, d:, etc). In other words, if I > take a GNU-ish program and do something like > > mkdir build > cd build > d:/path/to/a/source/tree/configure --srcdir=d:/path/to/a/source/tree > > the configuration process will fail, because the "config.status" program will > not be able to process the srcdir=d:/path/to/a/source/tree > > The problem I am mentioning is therefore very general, and it is related to > autoconf itself. I really do not understand why it exists at all -- I was > involved in porting Autoconf to DOS-ish platforms (OS/2, DOS, win32...) long > long ago. I made patches back then that allowed autoconf to handle DOS paths > elegantly, and got many programs and libraries compiled in OS/2 that way. I > seem to recall that those patches got in the main distribution, but it seems > people have broken the compatibility that was built in those days, and the > currently generated scripts fail with DOS pathnames. > > Juanjo > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Mingw-msys mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-msys > |