[zeromq-dev] autoconf troubles, and perftest problems.

Omri Schwarz omri.schwarz at phasecap.com
Mon May 4 21:25:18 CEST 2009


Hi, all. I am trying to build a store&forward daemon using 0MQ & Python , and am just learning the ropes. 

I have ZMQ 0.6 on a Centos 5 system with Python 2.6. When I run the performance tests, I get this: 


[omri at gort1 zmq]$ python py_remote_lat.py localhost eth0 eth0 1 1024 
[omri at gort1 zmq]$ 

[omri at gort1 zmq]$ python py_local_lat.py localhost 1 1024 
message size: 1 [B] 
roundtrip count: 1024 
Your average latency is 115 [us] 

But up the message size, and this happens: 

[omri at gort1 zmq]$ python py_remote_lat.py localhost eth0 eth0 10 1024 
[omri at gort1 zmq]$ python py_local_lat.py localhost 10 1024 
message size: 10 [B] 
roundtrip count: 1024 
Traceback (most recent call last): 
File "py_local_lat.py", line 65, in <module> 
main () 
File "py_local_lat.py", line 57, in main 
assert msg_size == message_size 
AssertionError 

For some reason the incoming messages remain one byte long. 

To look at it further, I checked out the repository, but now it's configure that 
gives me grief: 

$ ./configure --with-python --with-gnuld --libdir=/usr/local/lib64 --with-amqp --with-c --with-java --with-sctp 

[...] 
checking ifaddrs.h presence... yes 
checking for ifaddrs.h... yes 
checking for pkg-config... yes 
./configure: line 17483: syntax error near unexpected token `SDL,' 
./configure: line 17483: ` PKG_CHECK_MODULES(SDL, sdl)' 

I'll be much obliged for any help. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090504/280f14d7/attachment.htm>


More information about the zeromq-dev mailing list