ZMQ::LibZMQ3 and strawberry perl
cpan, perl, strawberry-perl, windows, zeromq
Solution
I just tried it in my ActiveStatePerl environment.
First I got the same results, but then I renamed my ZMQ installation and removed the spaces.
(From `C:\App\ZeroMQ 2.2.0` to `C:\App\ZeroMQ2_2_0`.)
+ ZMQ_HOME = C:\App\ZeroMQ2_2_0
+ ZMQ_H = C:\App\ZeroMQ2_2_0\include\zmq.h
+ ZMQ_INCLUDES = C:\App\ZeroMQ2_2_0\include
+ ZMQ_LIBS = C:\App\ZeroMQ2_2_0\lib
+ ZMQ_TRACE = (null)
So I passed the problem
Can't link/include C library 'zmq.h', 'zmq', aborting.
and got the next step in Makefile.PL
Detecting zmq version...
(That fails on my system because I have a 0mq 2.2.0 and the perl-binding requires 3.3)
Hope that works for you, too.
Problem
I am trying to install ZMQ::LibZMQ3 on strawberry perl but get the below error message while installing this module also my zmq libs and includes are found under 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 ``` is it possible to install this cpan module on windows and if yes could someone help what could be the problem here ?