I have been trying to install pgTAP on Windows for hours and could not figure it out.
Does anyone know how to do it?
Thanks.
UPDATE:
I installed strawberry perl and GnuWin32 in order to run Makefile
.
Here are some of the errors I got:
make
'awk' is not recognized as an internal or external command
'grep' is not recognized as an internal or external command
akefile:42: C:/strawberry/c/lib/postgresql/pgxs/src/makefiles/pgxs.mk: No such file or directory
rocess_begin: CreateProcess(NULL, which perl, ...) failed.
makefile:56: To use pg_prove, TAP::Parser::SourceHandler::pgTAP Perl module
makefile:57: must be installed from CPAN. To do so, simply run:
makefile:58: cpan TAP::Parser::SourceHandler::pgTAP
I also installed Cygwin64 to run Makefile
.
$ make
makefile:42: C:/Program: No such file or directory
makefile:42: Files/PostgreSQL/9.2/lib/pgxs/src/makefiles/pgxs.mk: No such file o r directory
process_begin: CreateProcess(NULL, /usr/bin/perl -le "eval { require TAP::Parser ::SourceHandler::pgTAP }; print 1 unless $@", ...) failed.
makefile:56: To use pg_prove, TAP::Parser::SourceHandler::pgTAP Perl module
makefile:57: must be installed from CPAN. To do so, simply run:
makefile:58: cpan TAP::Parser::SourceHandler::pgTAP
make: *** ▒^▒[▒Q▒b▒g `Files/PostgreSQL/9.2/lib/pgxs/src/makefiles/pgxs.mk' ▒▒ ma ke ▒▒▒郋▒[▒▒▒▒▒▒▒▒܂▒▒▒. ▒▒▒~.