[zeromq-dev] CZMQ self test fail.
Riskybiz
riskybizlive at live.com
Sun Jul 20 21:19:22 CEST 2014
On Debian the czmq self test failed in the same manner on the couple of
occasions I tried.
I also found it necessary today to comment out the zgossip_test when
building czmq on Windows 7 using Visual Studio Express 2013 because it was
giving build errors.
Finally I managed to build czmq on Windows 7. I used zeromq-4.0.4 and the
latest czmq files from Github. I found that libzmq.lib has been renamed in
zeromq-4.0.4 to libzmq_d.lib (underscore_d) and that the same change applies
to various other files e.g. libzmq_d.dll.
By editing the C:\czmq\builds\msvc\vs2013\libzmq.import.props file of the
Visual Studio 2013 solution to reflect the file name changes and adding some
project properties I was able to get czmq to build and demonstrate the
Paranoid Pirate pattern example in C;
1. In file C:\czmq\src\czmq_selftest.c comment out the call to
zgossip_test.
2. C/C++-> General->Additional Include Directories
C:\zeromq-4.0.4\zeromq-4.0.4\include
3. Linker->General->Additional Library Directories
C:\zeromq-4.0.4\zeromq-4.0.4\lib\Win32
4. Linker->Input->Additional Dependencies libzmq_d.lib (N.B.
UNDERSCORE d.)
5. In <!-- Copy --> section of libzmq.import.props under 'Release'
change line to
SourceFiles="C:\zeromq-4.0.4\zeromq-4.0.4\bin\Win32\libzmq_d.dll" or
wherever it is stored.
May I kindly suggest that the person responsible for the czmq Visual Studio
project files takes a look at improving the instructions and testing the
project files in order to prevent others from enduring the lengthy and
testing frustrations that I have been through in building czmq on Windows.
Furthermore the Unix-like instructions at
http://czmq.zeromq.org/page:get-the-software did not work on Debian; though
those from https://github.com/zeromq/libcurve did.
Riskybiz.
-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org
[mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of
zeromq-dev-request at lists.zeromq.org
Sent: 20 July 2014 11:00
To: zeromq-dev at lists.zeromq.org
Subject: zeromq-dev Digest, Vol 79, Issue 18
Send zeromq-dev mailing list submissions to
zeromq-dev at lists.zeromq.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
or, via email, send a message with subject or body 'help' to
zeromq-dev-request at lists.zeromq.org
You can reach the person managing the list at
zeromq-dev-owner at lists.zeromq.org
When replying, please edit your Subject line so it is more specific than
"Re: Contents of zeromq-dev digest..."
Today's Topics:
1. CZMQ self test fail. (Stephen Gray)
2. Re: CZMQ self test fail. (Pieter Hintjens)
----------------------------------------------------------------------
Message: 1
Date: Sat, 19 Jul 2014 18:25:41 +0100
From: Stephen Gray <riskybizlive at live.com>
Subject: [zeromq-dev] CZMQ self test fail.
To: "zeromq-dev at lists.zeromq.org" <zeromq-dev at lists.zeromq.org>
Message-ID: <DUB112-W95529713AA5F8F94D150D9BEF20 at phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"
Whilst building czmq on Debian (Wheezy) I ran the 'make check' command and
received the following output, so I'm reporting the error as requested:
Running CZMQ selftests... * zrex: OK * zsys: OK * zchunk: OK * zconfig: OK *
zmutex: OK * zclock: OK * zdir_patch: OK * zdir: OK * zdigest: OK * zframe:
OK * zstr: OK * zmsg: OK * zfile: OK * zhash: OK * zlist: OK * zuuid: OK *
zctx: OK * zsocket: OK * zsockopt: OK * zsock: OK * zsock_option: OK *
zsock_monitor: OK * zactor: OK * zpoller: OK * zthread: OK * zloop: OK *
zproxy: OK * zbeacon: OKlt-czmq_selftest: zgossip.c:411: zgossip_test:
Assertion `zgossip_msg_id (reply) == 4' failed. * zgossip: /bin/bash: line
5: 19083 Aborted ${dir}$tstFAIL:
czmq_selftest============================================1 of 1 test
failedPlease report to
zeromq-dev at lists.zeromq.org============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140719/91032d5e/a
ttachment.html
------------------------------
Message: 2
Date: Sun, 20 Jul 2014 00:29:53 +0200
From: Pieter Hintjens <ph at imatix.com>
Subject: Re: [zeromq-dev] CZMQ self test fail.
To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
Message-ID:
<CADL5_sgOBu_Jb=WtH+aU+hoAngJyO7KdXDqj=sSqhxrysO9srg at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Does this happen systematically or sporadically?
You can temporarily delete the call to zgossip_test from czmq_selftest.c,
it's a new class and is presumably still unstable in some cases.
On Sat, Jul 19, 2014 at 7:25 PM, Stephen Gray <riskybizlive at live.com> wrote:
> Whilst building czmq on Debian (Wheezy) I ran the 'make check' command
> and received the following output, so I'm reporting the error as
requested:
>
>
> Running CZMQ selftests...
> * zrex: OK
> * zsys: OK
> * zchunk: OK
> * zconfig: OK
> * zmutex: OK
> * zclock: OK
> * zdir_patch: OK
> * zdir: OK
> * zdigest: OK
> * zframe: OK
> * zstr: OK
> * zmsg: OK
> * zfile: OK
> * zhash: OK
> * zlist: OK
> * zuuid: OK
> * zctx: OK
> * zsocket: OK
> * zsockopt: OK
> * zsock: OK
> * zsock_option: OK
> * zsock_monitor: OK
> * zactor: OK
> * zpoller: OK
> * zthread: OK
> * zloop: OK
> * zproxy: OK
> * zbeacon: OK
> lt-czmq_selftest: zgossip.c:411: zgossip_test: Assertion
> `zgossip_msg_id
> (reply) == 4' failed.
> * zgossip: /bin/bash: line 5: 19083 Aborted ${dir}$tst
> FAIL: czmq_selftest
> ============================================
> 1 of 1 test failed
> Please report to zeromq-dev at lists.zeromq.org
> ============================================
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
------------------------------
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
End of zeromq-dev Digest, Vol 79, Issue 18
******************************************
More information about the zeromq-dev
mailing list