Thanks Satish, I've tried : ./config/configure.py --with-cc='win32fe cl' --with-fc='win32fe ifort' --with-cxx='win32fe cl' --with-mpi-dir="/cygdrive/C/Program Files (x86)/MPICH2" --download-f-blas-lapack=1 --with-clanguage=c --with-petsc-arch=arch-mswin-c-debug --CFLAGS=-D_CRT_SECURE_NO_DEPRECATE --with-debugging=0 --ignore-cygwin-link --with-valgrind=0 --with-c2html=0 --download-sowing=1 --with-hdf5=1 --with-hdf5-include=/cygdrive/c/libraries/hdf5/include --with-hdf5-lib=\[/cygdrive/c/libraries/hdf5/libs/hdf5dll.lib,/cygdrive/c/libraries/hdf5/libs/hdf5_fortrandll.lib,/cygdrive/c/libraries/hdf5/libs/szip.lib,/cygdrive/c/libraries/hdf5/libs/zlib.lib\] --LIBS=/cygdrive/c/libraries/hdf5/libs/zlib.lib
and also with : --LIBS='/cygdrive/c/libraries/hdf5/libs/zlib.lib' and I got a different error : Error running make; make install on Sowing (install manually): Could not execute "cd /home/petsc-dev/externalpackages/sowing-1.1.16d && make && make install && make clean": (cd src/sys && make ) make[1]: Entering directory `/home/petsc-dev/externalpackages/sowing-1.1.16d/src/sys' cl.exe -I../../include -I../../include -c arch.c arch.c arch.c(22) : fatal error C1083: Cannot open include file: 'sys/utsname.h': No such file or directory ../../Makerules:39: recipe for target `arch.o' failed make[1]: Leaving directory `/home/petsc-dev/externalpackages/sowing-1.1.16d/src/sys' Makefile:18: recipe for target `libs' failed Thanks again Chen On Tue, Mar 19, 2013 at 4:16 PM, Satish Balay <balay at mcs.anl.gov> wrote: > zlib detection code is a bit wired. Try using the additional option: > > > LIBS=/cygdrive/c/libraries/hdf5/libs/zlib.lib > > Satish > > On Tue, 19 Mar 2013, Chen Shapira wrote: > >> Hi Again, >> >> While configuring PETSc in Cygwin, >> I recieve the following error : >> "Compression library [libz.a or equivalent] not found" >> >> The thing is, I already have the file : zlib.lib included in the >> configuration of petsc . >> >> My configure command is : >> ./config/configure.py --with-cc='win32fe cl' --with-fc='win32fe ifort' >> --with-cxx='win32fe cl' --with-mpi-dir="/cygdrive/C/Program Files >> (x86)/MPICH2" --download-f-blas-lapack=1 --with-clanguage=c >> --with-petsc-arch=arch-mswin-c-debug >> --CFLAGS=-D_CRT_SECURE_NO_DEPRECATE --with-debugging=0 >> --ignore-cygwin-link --with-valgrind=0 --with-c2html=0 >> --download-sowing=1 --with-hdf5=1 >> --with-hdf5-include=/cygdrive/c/libraries/hdf5/include >> --with-hdf5-lib=\[/cygdrive/c/libraries/hdf5/libs/hdf5dll.lib,/cygdrive/c/libraries/hdf5/libs/hdf5_fortrandll.lib,/cygdrive/c/libraries/hdf5/libs/szip.lib,/cygdrive/c/libraries/hdf5/libs/zlib.lib\] >> >> Thank you again.. >> Chen >> >
