On 2006-11-29 19:48+0100 Werner Smekal wrote: Hi Werner:
>> I have just had an idea about that. I suggest you put the directory >> where win-bash occurs last on your PATH. For those platforms with an >> official shell (MinGW/MSYS, Cygwin, etc.) you will always use that >> official >> shell (which both cmake and plplot-test.sh are happy with) since that >> shell >> will be higher on the PATH than win-bash. > > Not really. This is again a Msys-MinGW story. If you have "MinGW Makefiles" > as a generator, cmake checks if there is any sh.exe in the path (there > shouldn't be any, since we don't use Msys, which provides on). If it finds > one, cmake immediately stops, since it thinks, we are running msys and not > windows cli. One possibility would be changing sh in the cmake files to > "bash" or "win-bash" or whatever only for Windows. But this is not a big > problem, we also could use aliases or something like that. My impression from lurking on the cmake mailing list was that cmake carefully distinguishes between the two MinGW variants (one with a shell and one without) and had a separate generator for each that the user could specify with the -G option. If the user specifies a non-shell cmake generator, but that generator stops if it finds a shell, that is a cmake bug which should be reported since obviously people would like to try/test the non-shell version of MinGW generator even if they have a shell installed. Note, I am just reporting what I remember from CMake list traffic about MinGW, and my memory could be completely wrong about what kinds of generators are available and the user control over them. :-( Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel