[zeromq-dev] 0MQ/0.6.1 released

Pavol Malosek malosek at fastmq.com
Mon Jun 1 10:33:41 CEST 2009


----- Original Message ----- 
From: "Conrad Steenberg" <conrad.steenberg at gmail.com>
Sent: Friday, May 29, 2009 10:17 PM
> Hi Martin,
>
> Thanks for the new release, I was waiting for the ruby bindings :-)
>
> I put a source rpm for Fedora 11 at
> http://clarens.caltech.edu/wiki/2009/05/29/10.48 if anyone is
> interested. It contains a small patch to allow building using gcc-4.4 -
> see attached.

Hello Conrad,

We knew about this issue and it was already fixed in the trunk (r1506).

> It would a a little bit more human-friendly to rather call these
> libraries both zmq.so, in order for the modules to be referred to simply
> as 'zmq', e.g.
> In python:
> import zmq
>
> In ruby:
> require "zmq"

This is generally not good idea since we are creating quite a lot of libraries 
(libzmq, libcmzq, libclrzmq, libjzmq, libvmszmq ...) and therefore we would like 
to have simply way how to distinguish them.

> Additionally, the ruby librbzmq.so.* files are installed in PREFIX/lib
> whereas such modules should rather go in the site_ruby directory. On
> Fedora (and likely most unices), this would be
> PREFIX/lib/ruby/site_ruby/VERSION/ in analogy to the python
> site_packages installation.

We are using autotools for building 0MQ, AFAIK there is no ruby support in 
autoconf (2.61) similar to the python.
Since we need to keep build system as simple and portable as possible we are 
avoiding to add 3rd party m4 files.

So the easiest way how to specify install dir would be to add --with-rubydir 
configure option (the same like --with-clrdir)
Would it be useful for you?

malo




More information about the zeromq-dev mailing list