On Mon, Mar 23, 2009 at 8:23 AM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> The Cygwin way works, but let me say that it is a bit of pain... as a > novice in this crapy environment, I've spent a lot of time just to get > all the Cygwin stuff properly installed... > > I'm exploring the possibility of using an alternative, that is, using > stock Python for Windows + MinGW + MSYS. MSYS provides a minimal > UNIX-like shell and bundles development utilities like make. IMHO, it > is a much lighter approach to Cygwin... I believe the alternative is > possible... However, I have some issues that have to be addressed, and > I would need your help... > > 1) As I'm using the stock Python for Windows, the "select" module does > not work on pipes.. Then the machinery for executing things in the > shell and get stdout and stderr stuff needs to be reeimplemented... Do > not worry about this, I can take this. > > 2) BuildSystem assumes that the shell is '/bin/sh'... I would need it > to find "sh" in the $PATH instead... Where is this assumption? In BuildSystem/config/programs.py we explicitly search for 'sh', so it is available, we just need to use it everywhere. > > 3) When checking for make, BuildSystem uses 'strings' somewhere.. > Again, I need strings to be searched in $PATH. Okay, I fixed this. Matt > > Can any of you try to fix (2) and (3) ? Anyway, that would be a good > change even for Unix-like systems, right? > > > -- > Lisandro Dalc?n > --------------- > Centro Internacional de M?todos Computacionales en Ingenier?a (CIMEC) > Instituto de Desarrollo Tecnol?gico para la Industria Qu?mica (INTEC) > Consejo Nacional de Investigaciones Cient?ficas y T?cnicas (CONICET) > PTLC - G?emes 3450, (3000) Santa Fe, Argentina > Tel/Fax: +54-(0)342-451.1594 > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20090323/8ae99161/attachment.html>