Also what do you have for: echo $PATH which make
Retry wiht petsc-3.4.3 - and if you still have issues - send us configure.log Satish On Thu, 24 Oct 2013, Satish Balay wrote: > On Thu, 24 Oct 2013, Qin Lu wrote: > > > Jed, > > > > As I mentioned, I did add C:\cygwin64\bin (where make.exe is) to Path, > > You shouldn't have to do this. Perhaps cygwin is not setup properly. > > Also cygwin notation is /usr/bin - not C:\cygwin64\bin > > Are you running the commands in 'mintty' terminal or 'cmd' terminal? > > > and also tried to run ./configure --with-cc='win32fe icl' > > --with-fc='win32fe ifort' --with-cxx='win32fe icl' > > --with-make=/cygdrive/cygwin64/bin. It did not work, I just tried what you > > suggested: adding --download-make in confugure, it gave the same error. > > --download-make is not in petsc-3.4 > > BTW: the latest patch update is petsc-3.4.3 > > Satish > > > > > > Thanks, > > Qin > > > > > > > > On Thursday, October 24, 2013 10:36 AM, Jed Brown <[email protected]> > > wrote: > > Qin Lu <[email protected]> writes: > > > > > Hello, > > > > > > I am trying to build PETSc in Windows 7 with following steps: > > > > > > 1. Installed cygwin 64-bit with python, make and other default packages > > > under C:\cygwin64 > > > 2. Added C:\cygwin64\bin to Windows environmental variable Path. > > > 3. Downloaded and unzipped PETSc 3.4.2. > > > 4. Run mintty.exe to open a cygwin terminal. > > > 5. In the cygwin terminal, under PETSc directory, run: ./configure > > > --with-cc='win32fe icl' --with-fc='win32fe ifort' --with-cxx='win32fe icl' > > > > > > However, it gave an error "Could not locate the make utility on your > > > system, make sure it is in your path or use > > > --with-make=/fullpathnameofmake and run ./configure again". I suppose it > > > should use C:\cygwin64\bin\make.exe, which is already in path, but I > > > still added --with-make=/cvgdrive/cygwin64/bin in configure's option and > > > run configure again, yet it gave the same error. > > > > You need to pass the full path to the make executable (or add it to your > > path), or you can use --download-make. > > > > > > > What should I do to let configure know the path of make? > > > > > > Many thanks for your help, > > > > > > Regard, > > > Qin > > >
