我試圖同時安裝該模塊還我ZMQ庫草莓Perl的安裝ZMQ :: LibZMQ3但得到下面的錯誤消息,並且包括在C發現:\ Program Files文件\ ZeroMQ 3.2。 2:ZMQ :: LibZMQ3和草莓的Perl
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模塊,如果是的話可以有人幫助這裏可能是什麼問題?
哈,所有代表爲賞金;)不確定是否相關,但它似乎失敗不僅僅是你的系統:http://code.activestate.com/ppm/ZMQ-LibZMQ3/ – Qtax 2013-03-03 03:26:45