我一直在尝试在Windows上安装pgTAP几个小时,但无法弄清楚。
有谁知道该怎么做?
谢谢。
更新:
我安装了草莓 perl和 GnuWin32 以便运行Makefile
。
以下是我得到的一些错误:
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
我还安装了Cygwin64来运行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 ▒▒▒郋▒[▒▒▒▒▒▒▒▒܂▒▒▒. ▒▒▒~.