zeromq-raw's People
zeromq-raw's Issues
Building on Windows
Hello
I tried to use ZeroMQ-Perl( https://github.com/lestrrat/ZeroMQ-Perl ) on Windows.
It has some problem( https://github.com/lestrrat/ZeroMQ-Perl/issues/12 )
I'd like to try your module on Windows.
but I have the following error messages when I build the module.
D:\PROJECT\ZeroMQ-Raw-0.01>perl Makefile.PL LIBS="-LD:\PROJECT\LIB\zmq\lib -lzmq.dll" INC="-ID:\PROJECT\LIB\zmq\include"
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lzmq
Writing Makefile for ZeroMQ::Raw
D:\PROJECT\ZeroMQ-Raw-0.01>dmake
cp ./lib/ZeroMQ/Raw/Socket.pm blib\lib\ZeroMQ/Raw/Socket.pm
cp build/IFiles.pm blib\arch/ZeroMQ\Raw/Install/Files.pm
cp ./lib/ZeroMQ/Raw/Message.pm blib\lib\ZeroMQ/Raw/Message.pm
cp typemap blib\arch/ZeroMQ\Raw/Install/typemap
cp ./lib/ZeroMQ/Raw/Context.pm blib\lib\ZeroMQ/Raw/Context.pm
cp ./lib/ZeroMQ/Raw.pm blib\lib\ZeroMQ/Raw.pm
cp ./lib/ZeroMQ/Raw/Constants.pm blib\lib\ZeroMQ/Raw/Constants.pm
C:\strawberry-perl-5.12.2.0\perl\bin\perl.exe C:\strawberry-perl-5.12.2.0\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry-perl-5.12.2.0\perl\lib\ExtUtils\typemap -typemap typemap -typemap C:\strawberry-perl-5.12.2.0\perl\site\lib\XS\Object\Magic\Install\typemap -typemap typemap RawZMQ.xs > RawZMQ.xsc && C:\strawberry-perl-5.12.2.0\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- RawZMQ.xsc RawZMQ.c
gcc -c -ID:\PROJECT\LIB\zmq\include -IC:\strawberry-perl-5.12.2.0\perl\site\lib\XS\Object\Magic\Install -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\strawberry-perl-5.12.2.0\perl\lib\CORE" RawZMQ.c
gcc -c -ID:\PROJECT\LIB\zmq\include -IC:\strawberry-perl-5.12.2.0\perl\site\lib\XS\Object\Magic\Install -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\strawberry-perl-5.12.2.0\perl\lib\CORE" zmqxs.c
Running Mkbootstrap for ZeroMQ::Raw ()
C:\strawberry-perl-5.12.2.0\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Raw.bs
C:\strawberry-perl-5.12.2.0\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"ZeroMQ::Raw\", 'DLBASE' => 'Raw', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def Raw.def --output-exp dll.exp
g++ -o blib\arch\auto\ZeroMQ\Raw\Raw.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry-perl-5.12.2.0\perl\lib\CORE" -L"C:\strawberry-perl-5.12.2.0\c\lib" RawZMQ.o zmqxs.o -Wl,--image-base,0x360d0000 C:\strawberry-perl-5.12.2.0\perl\lib\CORE\libperl512.a C:\strawberry-perl-5.12.2.0\perl\site\lib\auto\XS\Object\Magic\Magic.a D:\PROJECT\LIB\zmq\lib\libzmq.dll.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libmoldname.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libuser32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libgdi32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libcomdlg32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libole32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libnetapi32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libuuid.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libmpr.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libversion.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry-perl-5.12.2.0\c\i686-w64-mingw32\lib\libcomctl32.a dll.exp
RawZMQ.o:RawZMQ.c:(.text+0xb7f): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0xecc): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x1323): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x135a): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x1603): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x163a): more undefined references to `xs_object_magic_get_struct_rv_pretty' follow
RawZMQ.o:RawZMQ.c:(.text+0x20f7): undefined reference to `xs_object_magic_attach_struct'
RawZMQ.o:RawZMQ.c:(.text+0x2339): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x2456): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x25e4): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x2afd): undefined reference to `xs_object_magic_get_struct_rv_pretty'
RawZMQ.o:RawZMQ.c:(.text+0x2c8b): undefined reference to `xs_object_magic_attach_struct'
zmqxs.o:zmqxs.c:(.text+0x27): undefined reference to `xs_object_magic_get_struct'
zmqxs.o:zmqxs.c:(.text+0x168): undefined reference to `xs_object_magic_attach_struct'
collect2: ld returned 1 exit status
dmake: Error code 129, while making 'blib\arch\auto\ZeroMQ\Raw\Raw.dll'
dependencies needed to build.
I need to install the following before the perl Makefile.PL would succeed on a stock perl 5.10:
XS::Object::Magic
ExtUtils::Depends
Module::Install
and to run the make test:
Test::Exception
Sub::Exporter
and also ensure my perl was configured with ithreads:
perl -V:useithreads
The symptom of lack of ithreads is that the init() call never returns.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.