我正在尝试在草莓 perl 上安装 ZMQ::LibZMQ3,但在安装此模块时收到以下错误消息,我的 zmq 库和包含位于 C:\Program Files\ZeroMQ 3.2.2 下:
cpan> install ZMQ::LibZMQ3
Running install for module 'ZMQ::LibZMQ3'
Running make for D/DM/DMAKI/ZMQ-LibZMQ3-1.09.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\D\DM\DMAKI\ZMQ-LibZMQ3-1.09.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
............................................................................DONE
CPAN.pm: Building D/DM/DMAKI/ZMQ-LibZMQ3-1.09.tar.gz
Cannot determine perl version info from lib/ZMQ/LibZMQ3.pm
Probing environment variables:
Probing libzmq via pkg-config ...
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
- No libzmq found...
Probing zeromq3 via pkg-config ...
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
- No zeromq3 found...
Detected the following ZMQ settings:
+ ZMQ_HOME = "C:\Program Files\ZeroMQ 3.2.2"
+ ZMQ_H = "C:\Program Files\ZeroMQ 3.2.2\include\zmq.h"
+ ZMQ_INCLUDES = "C:\Program Files\ZeroMQ 3.2.2\include"
+ ZMQ_LIBS = "C:\Program Files\ZeroMQ 3.2.2\lib"
+ ZMQ_TRACE = (null)
Can't link/include C library 'zmq.h', 'zmq', aborting.
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
DMAKI/ZMQ-LibZMQ3-1.09.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Stopping: 'install' failed for 'ZMQ::LibZMQ3'.
Failed during this command:
DMAKI/ZMQ-LibZMQ3-1.09.tar.gz : writemakefile NO 'C:\strawberry\perl\bin\perl.exe Ma
kefile.PL' returned status 512
是否可以在 Windows 上安装这个 cpan 模块,如果可以,有人可以帮忙这里可能是什么问题?