[zeromq-dev] Mountain Lion build issues: strndup error, and 'make check' gave "1 of 20 tests failed" on test_shutdown_stress
Lucas Hope
lucas.r.hope at gmail.com
Tue Sep 3 00:47:44 CEST 2013
Hi there,
I recently did a fresh install of this version too (clean latest Mountain
Lion). Except I used homebrew (http://brew.sh/) to install it. There was a
patch shipped with the brew install to fix an issue, likely this one.
I have had no problems at all with zeromq on my system thus far.
Cheers,
Luke
On Tue, Sep 3, 2013 at 7:06 AM, Peter Jurgensen <phjurgensen at gmail.com>wrote:
> Hi,
>
> This is my first exercise with 0MQ. I've read the guide, and watched a
> bunch of video lectures/interviews on 0MQ. I didn't expect these bugs.
>
> I downloaded 3.2.3. This is on a new clean install on Mountain Lion.
> After a ./configure, then make it produced:
>
> test_disconnect_inproc.cpp: In function ‘int main(int, char**)’:
> test_disconnect_inproc.cpp:48: error: ‘strndup’ was not declared in this
> scope
> test_disconnect_inproc.cpp:52: error: ‘strndup’ was not declared in this
> scope
> test_disconnect_inproc.cpp:72: error: ‘strndup’ was not declared in this
> scope
> make[1]: *** [test_disconnect_inproc.o] Error 1
> make: *** [all-recursive] Error 1
>
> It looked like debugging code, so I commented it out, then it built and I
> installed it with sudo make install.
>
> I then did make check. (Yea, I should have done the make check before
> the make install.)
>
> Mountain Lion 'make check' gave "1 of 20 tests failed".
>
> arch:~/Downloads/zeromq-3.2.3$ make check
> ...
> test_shutdown_stress running...
> Invalid argument (tcp.cpp:52)
> /bin/sh: line 1: 8609 Abort trap: 6 ${dir}$tst
> FAIL: test_shutdown_stress
> …
> ============================================
> 1 of 20 tests failed
> Please report to zeromq-dev at lists.zeromq.org
> ============================================
> make[2]: *** [check-TESTS] Error 1
> make[1]: *** [check-am] Error 2
> make: *** [check-recursive] Error 1
>
> I read the README and the INSTALL files. I searched the jira bugs. No
> joy.
>
> Peter
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
---------------------------------------------------
Dr Lucas Hope - lucas.r.hope at skype
Machine Learning and Software Engineering Consultant
Melbourne, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130903/c459b991/attachment.htm>
More information about the zeromq-dev
mailing list