Re: [zeromq-dev] Pear Channel seems to by buggy

2013-10-29 Thread Mikko Koppanen
On Wed, Oct 30, 2013 at 1:39 AM, Jonathan Masmejean 
jonat...@decideurstv.com wrote:



 Someone have an idea ?


Hi,

the extension was recently moved to PECL. Use the normal pecl.php.netchannel.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] what do I do bad with zmq_threadstart ?

2013-10-22 Thread Mikko Koppanen
On Wed, Oct 23, 2013 at 12:29 AM, Laurent Alebarde l.aleba...@free.frwrote:

  Hi Devs,

 I am trying to use zmq_threadstart. My first test passing ctx as args
 works, but I need now to pass two arguments. So I tried many ways and all
 the time it ends with a compilor insult :

 error: invalid conversion from 'void (*)(void**)' to 'void (*)(void*)'
 [-fpermissive]
 In file included from ../tests/testutil.hpp:24:0,
  from ../tests/test_concurrency_parano.cpp:20:
 ../tests/../include/zmq_utils.h:94:18: error:   initializing argument 1 of
 'void* zmq_threadstart(void (*)(void*), void*)' [-fpermissive]
 make: *** [tests/test_concurrency_parano.o] Error 1



Hi,

looking at the compiler output: is client_task defined as client_task (void
**) ? The parameter should be void *.

-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Using PHP 5.4

2013-06-26 Thread Mikko Koppanen




On 26 Jun 2013, at 05:30, James Marcus marcus.ja...@gmail.com wrote:

 the thing is... I need to deploy this to 400 servers. I'll keep
 looking.  thanks for the suggestion.
 

During ./configure process check which php-config is picked. ./configure 
--with-php-config=/path/to/correct/zendapi/php-config should do the trick.

Thanks,
Mikko


Sent from my iPhone



 James
 
 On Tue, Jun 25, 2013 at 4:59 PM, Ian Barber ian.bar...@gmail.com wrote:
 Maybe try building from pecl (via pear.zero.mq) rather than the RPM?
 
 Ian
 
 
 On Tue, Jun 25, 2013 at 8:20 PM, James Marcus marcus.ja...@gmail.com
 wrote:
 
 Hi,
 I haven't gotten any further on this issue, anyone have any ideas how
 I change/update/downgrade the Zend API version when compiling ZeroMQ
 3.2.2?
 
 Thanks
 James
 
 On Mon, Jun 24, 2013 at 12:37 PM, James Marcus marcus.ja...@gmail.com
 wrote:
 I think I have found some stuff on PECL that my point me in the right
 direction.
 
 James
 
 On Mon, Jun 24, 2013 at 12:32 PM, James Marcus marcus.ja...@gmail.com
 wrote:
 Hi,
 When running phpize
 
 build machine:
 [jmarcus@ohitu001 SPECS]$ phpize -v
 Configuring for:
 PHP Api Version: 20100412
 Zend Module Api No:  20100525
 Zend Extension Api No:   220100525
 
 target install machine:
 [root@ws300 x86_64]# phpize -v
 Configuring for:
 PHP Api Version: 20100412
 Zend Module Api No:  20100525
 Zend Extension Api No:   220100525
 
 I rebuilt the zeromq rpm, but I can't run phpize before because there
 is no config.m4 in the source directory.
 
 [jmarcus@ohitu001 zeromq-3.2.2]$ phpize
 Cannot find config.m4.
 Make sure that you run '/usr/bin/phpize' in the top level source
 directory of the module.
 
 Are there any environment variables I can set to force the Zend Module
 Api No:
 
 Thanks
 James
 
 
 
 On Mon, Jun 24, 2013 at 12:03 PM, Ian Barber ian.bar...@gmail.com
 wrote:
 Watch out for phpize etc. being from the older version - that's an
 easy
 mistake to make. Maybe uninstall the previously installed version to
 clear
 out any associated components.
 
 
 On Mon, Jun 24, 2013 at 5:01 PM, James Marcus marcus.ja...@gmail.com
 wrote:
 
 Hi Ian,
 Thanks for the quick reply.  So Built PHP 5.4.16 and then installed
 it
 on my build server and then created the ZeroMQ binaries.  I'll give
 it
 another go incase I did something out of order.
 
 Thanks
 James
 
 On Mon, Jun 24, 2013 at 11:45 AM, Ian Barber ian.bar...@gmail.com
 wrote:
 You'll need to build php-zmq with the version you're running -
 looked
 like
 the ZMQ extension was built with an older version of PHP.
 
 Ian
 
 
 On Mon, Jun 24, 2013 at 4:36 PM, James Marcus
 marcus.ja...@gmail.com
 wrote:
 
 Hi,
 I have compiled my own PHP version, 5.4.16 and ZeroMQ 3.2.2, and
 rolled my own RPMs.  When I start php-fpm I get the following
 message:
 
 Starting php-fpm: [24-Jun-2013 11:01:49] NOTICE: PHP message: PHP
 Warning:  PHP Startup: zmq: Unable to initialize module
 Module compiled with module API=20090626
 PHPcompiled with module API=20100525
 
 I'm assuming this is related to Zend, anyone know how to get rid
 of
 this message?
 
 Thanks,
 James
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 
 
 
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 
 
 
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 
 
 
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] C examples do not work on my PC, either with ipc or tcp, except ipc with server client executed in the same console

2013-06-26 Thread Mikko Koppanen
On Wed, Jun 26, 2013 at 9:06 PM, Laurent Alebarde l.aleba...@free.frwrote:


 console server :
 $ ./flserver1 ipc://test.ipc 
 [1] 17822
 $ I: echo service is ready at ipc://test.ipc


ipc://test.ipc is a relative path. If you working directory is not the same
then IPC pipe would be created in different directories. Try using absolute
path such as ipc:///tmp/test.ipc (notice three slashes, two for protocol
and one starting the path.)

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Using PHP 5.4

2013-06-26 Thread Mikko Koppanen
On Wed, Jun 26, 2013 at 10:05 PM, James Marcus marcus.ja...@gmail.comwrote:

 Hi,
 So I edited the config line in my spec file to add the php-config:

 %build
 %ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
   %configure --with-pgm --with-php-config=/usr/bin/php-config
 %else
   %configure
 %endif

 I see it being called correctly in the config.status, but still no
 luck, I still have the problem. I'm open to suggestions.


Hi,

can you post the spec file somewhere (gist.github.com or so)? I am not
quite sure from which spec file that insert is from because PHP extension
doesn't have --with-pgm option. That looks more like a libzmq spec file.
You can see the reference spec-file for the PHP extension here:
https://github.com/mkoppanen/php-zmq/blob/master/php-zmq.spec




-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] (no subject)

2013-05-20 Thread Mikko Koppanen
Hello,

the instructions for building on Windows are available here:
https://wiki.php.net/internals/windows/stepbystepbuild. They apply to
pretty much all PECL extensions that have config.m4. Tiny bit older
binaries are available here: http://valokuva.org/~mikko/php-zmq-20130203.tgz

Thanks,
Mikko


On Tue, May 21, 2013 at 6:32 AM, Uli Köhler
ulikoehler@googlemail.comwrote:

 Hi,
 I agree, this should be fixed somehow.
 Maybe the PEAR page here:
 http://pear.zero.mq/
 or the PHP 0MQ repository https://github.com/mkoppanen/php-zmq
 can help you, the

 Mikko Koppanen also has a 0MQ snapshots repository:
 https://github.com/mkoppanen/zeromq-snapshots

 The last activity is 2 years ago, but there might be a build script for
 0MQ-PHP somewhere.

 Best regards

 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev




-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] C++ syntax for new ZMQ objects

2012-12-15 Thread Mikko Koppanen
On Sun, Dec 16, 2012 at 12:34 AM, Claudio Carbone erup...@libero.it wrote:

  On 15/12/12 16:28, Claudio Carbone wrote:


 Exact failing point is in socket_base.cpp at line 323:
 *rc = parse_uri (addr_, protocol, address);
 if (rc != 0)
 return -1;*

 Even if rc is effectively 0 (checked in GDB), the if (don't know why)
 returns true.
 I'm at a loss here...


 My bad, it's not there, rather somewhere deeper down the flow.
 Anyway I've attached my simple library if anyone is feeling particularly
 altruistic and wants to help me.


Hello Claudio,

looks like your bind dsn is incorrect: tcp://*. instead
of tcp://*: (notice dot vs colon).

thanks,
mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] pear.zero.mq down?

2012-09-01 Thread Mikko Koppanen
On Sat, Sep 1, 2012 at 9:02 PM, Ian Barber ian.bar...@gmail.com wrote:

 FYI - I quickly chucked up the pear channel earlier, but note the DNS
 change might take some time to make it through cache expiries.


Thanks Ian. Looks like it's been updated here and things are slowly getting
back up and running.

-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] pear.zero.mq down?

2012-08-30 Thread Mikko Koppanen
Hi,

sorry about this and thanks for the offer Ben. I've been super-busy for the
past days and haven't had time to put things back up. I got alternative box
ready, just needs setting up which Ian can probably do. I think we can get
things back running during today.

-- Mikko

On Fri, Aug 31, 2012 at 7:34 AM, Ben Scharp b...@gmx.3crowd.com wrote:

 Looks like the box is still down. Any ETA? My company is interested in
 hosting this if that would be helpful. Please let me know.

 -Ben

 On Thu, Aug 23, 2012 at 8:21 PM, Mikko Koppanen 
 mikko.koppa...@gmail.comwrote:

 On Fri, Aug 24, 2012 at 9:44 AM, Ben Scharp b...@gmx.3crowd.com wrote:

 Greetings,

 The http://www.zeromq.org/bindings:php page says that the PHP zeromq
 binding can be obtained/built via PEAR at pear.zero.mq. This resource
 appears to be unreachable. If it truly is down, is it going to return? Or
 is the only way to obtain the binding through GitHub? I'd like to install
 the binding via a chef recipe so using the PEAR channel is preferred.

 Thanks in advance,


 Hi,

 the box hosting pear.zero.mq is currently dead (or at least not
 responding). I will take a look at relocating it as soon as I have time.

 --
 Mikko Koppanen

 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev



 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev




-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] ZeroMQ conference, this Saturday in Portland, OR!

2012-02-22 Thread Mikko Koppanen
hi,

pieter will have video camera with him and has promised to take video.

On Wednesday, February 22, 2012, Mark Wotton m...@ninjablocks.com wrote:
 don't suppose there's going to be a video feed for those of us not in the
Staes?
 mark

 On Tue, Feb 21, 2012 at 10:41 AM, Michel Pelletier 
pelletier.mic...@gmail.com wrote:

 Well, in case you haven't heard, this saturday is the day for the
 Portland, OR, ZeroMQ Conference.  A whole day dedicated to discussing
 our favorite messaging technology with fantastic presentations given
 by some seriously smart people.

 For those of you who haven't heard and would like to go, please sign
 up on our wiki page here:

 http://www.zeromq.org/event:pdxconf2012

 Due to some logistical issues, not the least of which is what looks to
 be an excellent turnout, we have moved the conference venue about 10
 blocks.  Here is the new location:

 collective agency, portland, or

 I have updated the wiki page with the new location and hopefully will
 be able to have a sign at the old location door directing anyone to
 the new venue.  Again I'd like to thank our sponsors Twilio and iMatix
 for their financial support!

 As usual, any questions please contact me.

 See you saturday!

 -Michel
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev



-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Common questions and answers

2012-02-18 Thread Mikko Koppanen
On Sat, Feb 18, 2012 at 12:06 PM, Marco Trapanese
marcotrapan...@gmail.com wrote:
 Is there a convenient way to search in all old posts?

Hi,

this might work for you: http://dir.gmane.org/gmane.network.zeromq.devel

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] zmq::tcp_listener_t::get_address

2012-02-18 Thread Mikko Koppanen
On Sat, Feb 18, 2012 at 3:23 PM, john skaller
skal...@users.sourceforge.net wrote:

 On 19/02/2012, at 1:52 AM, Brian Knox wrote:

 tcp_listener.cpp: In member function ‘int 
 zmq::tcp_listener_t::get_address(std::string*)’:
 tcp_listener.cpp:148: error: dereferencing pointer ‘sa.120’ does break 
 strict-aliasing rules

Hi,

I think the following should work:

https://github.com/mkoppanen/libzmq/commit/b0573486c7abf89b79d30aa4d29b0dac3d789619


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] zmq::tcp_listener_t::get_address

2012-02-18 Thread Mikko Koppanen
On Sat, Feb 18, 2012 at 7:49 PM, Mikko Koppanen
mikko.koppa...@gmail.com wrote:
 Hi,

 I think the following should work:

 https://github.com/mkoppanen/libzmq/commit/b0573486c7abf89b79d30aa4d29b0dac3d789619


Missed ntohs, updated now in tcp-get-address branch:
https://github.com/mkoppanen/libzmq/tree/tcp-get-address

Can you test, Brian?

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] ZeroMQ (and clrzmq) on Windows Mobile

2012-02-16 Thread Mikko Koppanen
On Thu, Feb 16, 2012 at 11:39 AM, Boris Gulay bo...@boressoft.ru wrote:
 27.01.2012 19:30, Pieter Hintjens пишет:
 See http://www.zeromq.org/docs:contributing for submitting the
 patches. You can attach comments to a github pull request, or use this
 list to discuss your changes. Both will work fine.
 Whet repo should I use to submit a patch?
 zeromq2-1 is OK? I have made my port to WM on ZeroMQ 2.1 source.


Hi,

please submit the patch againts libzmq repo. 2.1 is closed for new
features and receives only bug fixes.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Clear socket's cache

2012-02-15 Thread Mikko Koppanen
On Wed, Feb 15, 2012 at 12:28 PM, Dorin Ciobanu (dciobanu)
dciob...@cisco.com wrote:
 Hi!



 My application uses a session oriented design.  I have a PULL socket in a
 client app and a PUSH socket in a server app. Sometimes my client app goes
 away, and I do not know a way to detect this in my server, so I keep sending
 messages into the PUSH socket (using non-blocking flag).

 When client application starts, it asks for the queue address from the
 server app (using a non-ZMQ mechanism). At that moment, I do something to
 close the old session and initialize a new session, then tell the client the
 address to connect to for pulling messages.

 Unfortunately, my client app gets a few “old” messages before getting new
 ones.



 What is the best solution for this? Is there a way to “clear the cache” on
 the socket? Or is there a way to detect a client is no longer connected?

 I would like to avoid close/bind because it’s a multi-user machine (windows)
 with concurrent processes that quite actively take and release TCP ports. I
 could end up with the port occupied by competition and that leads to a whole
 list of things I have to take care about.


Hello,

without knowing more about the application here are some options that
come into mind:

1. If you can rely on clocks on the client and the server you could
timestamp the messages and expire them on the client side if the
delivery has taken too long. This would effectively allow you to not
process the messages even though they are delivered.

2. Use HWM [1] to limit amount of messages that get pushed into the
pipe. For example setting HWM to very low value you should get EAGAIN
if the client is not there to receive them.

3. Use a different socket type, such as PUB/SUB where the HWM action
is to drop the messages [2]. This is more of a radio broadcast model
(which you seem to be after) where messages are delivered to everyone
listening and when clients tune off they won't get the messages.

Thanks,
Mikko

[1] http://api.zeromq.org/2-1:zmq-setsockopt#toc3
[2] http://api.zeromq.org/2-1:zmq-socket#toc9 (HWM action)
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Questions about Coding Style

2012-02-12 Thread Mikko Koppanen
On Sun, Feb 12, 2012 at 9:28 PM, Gary Wright at2002+...@me.com wrote:
 ruby client code = ruby binding = libzmq C binding = C++ core

 So I would just apply the principle described above to each interface.

 The C++ code should use error codes/exceptions according to C++ idioms.
 The libzmq C interface should translate C++ exceptions into error codes.
 A Ruby binding, for example, should translate some errors back into 
 exceptions.

Hello,

I don't necessarily agree that the library code should take care of
validating every argument passed to it. In your example the ruby
binding should take care of the sanity of the arguments passed to
lower level or the ruby binding can be built on top of czmq, which
does more validation.
Adding more validation and cruft on the critical path means additional
CPU cycles wasted, which is not desirable in all cases. In my opinion
the raw library can and should assume that sane arguments are being
passed in and the higher level interfaces (czmq for example) can and
should do the validation on top of it if necessary.

-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] xpub.cpp line 82

2012-02-03 Thread Mikko Koppanen
On Fri, Feb 3, 2012 at 11:02 AM, Lourens Naudé
lour...@methodmissing.com wrote:
 Hi Guys,

 I've been using Travis CI ( http://travis-ci.org/ ) for a Ruby binding that
 wraps czmq ( https://github.com/methodmissing/rbczmq ) and also bundles both
 libzmq and czmq as vendor'ed tarballs.

 Both frameworks build without any
 issues https://github.com/methodmissing/rbczmq/blob/master/ext/rbczmq/extconf.rb#L45-57 .
 Their VMs are Ubuntu based, with various build and notification hooks
 supported. I can get pull requests up for Travis CI integration against both
 zeromq and czmq repositories if there's enough votes in favor of using it as
 a CI environment.

Hi,

we currently got Jenkins builds here: http://build.zero.mq/. We are
building on daily basis on Linux (x86_64, s390x, i386). Solaris,
FreeBSD and hopefully at some point we can get the Windows builds back
online as well.

-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Patch build issues on old-linux

2012-01-27 Thread Mikko Koppanen
On Fri, Jan 27, 2012 at 5:34 PM, Martin Sustrik sust...@250bpm.com wrote:
 Hi Michael,

 Note that id3lib_strings.h is GPL-licensed. It cannot be turned into LGPL.

Hi Martin,

http://id3lib.cvs.sourceforge.net/viewvc/id3lib/id3lib-devel/include/id3/id3lib_strings.h?revision=1.8view=markup

it looks like id3lib_strings.h is under LGPL (not sure if this is the
file in question).

-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] What's wrong with this sample?

2012-01-20 Thread Mikko Koppanen
On Fri, Jan 20, 2012 at 6:26 AM, Rick  Nellie Flower n...@ca-flower.com 
wrote:
 Any ideas on what I'm missing?  The version of 0MQ I'm using
 is 2.1.1 (latest stable).

 The code is here :
 http://pastebin.com/eiZnABd2

Hi Rick,

it looks like you are using the C++ bindings. If you look at the
definition of send and recv:

https://github.com/zeromq/zeromq2-1/blob/master/include/zmq.hpp#L314
https://github.com/zeromq/zeromq2-1/blob/master/include/zmq.hpp#L324

They will return true or false or thow error_t based on status. This
would probably break the following assertion in your code:

assert(socket.send (request)== 0);

Changing the socket.send and socket.recv assertions to == true gives
me the following output on Mac OS X:

$ ./a.out
Starting workers..
Sending Data...
Sending Data...
Sending Data...
Sending Data...
status = 35
Received: Ghiasd!
status = 35
Received: Ghiasd!
status = 35
Received: Ghiasd!
status = 35
Received: Ghiasd!

-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] List Guidelines and Project/Source modifications - Windows/MSVC

2012-01-19 Thread Mikko Koppanen
On Thu, Jan 19, 2012 at 2:39 PM,  raf...@soscpd.net wrote:
 Output is silent now. Hopefully, will work too - tests are still
 running.

 How can I contribute? Any interest in those files?

Hi,

can you open a pull request on Github for these? I think the constant
should be named ZMQ_WIN_STATIC or similar as it affects only windows
builds.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Compiling zmq inside program

2012-01-11 Thread Mikko Koppanen
On Wed, Jan 11, 2012 at 5:30 AM, Martin Sustrik sust...@250bpm.com wrote:
 c) To be able to compile in windows I need to change manually zmq.h
 and zmq_utils.h from: #   if defined DLL_EXPORT #       define
 ZMQ_EXPORT __declspec(dllexport) #   else #       define ZMQ_EXPORT
 __declspec(dllimport) #   endif to: #   if defined DLL_EXPORT #
 define ZMQ_EXPORT #   else #       define ZMQ_EXPORT #   endif I
 would like to have one more define (NO_ZMQ_EXPORT?), is it too much
 trouble to change this?

 What would such macro mean? What is a library good for it doesn't export
 any symbols?

Hi,

as far as I know the __declspecs are used to export/import symbols in
the DLL. At one point we decided against adding this to build as we
didn't expect there to be a lot of need for static libs on Windows. I
think something like this change would be needed:

diff --git a/include/zmq.h b/include/zmq.h
index 5dc1146..9b65526 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -35,7 +35,9 @@ extern C {

 /*  Handle DSO symbol visibility */
 #if defined _WIN32
-#   if defined DLL_EXPORT
+#   if defined ZMQ_WIN_STATIC
+#   define ZMQ_EXPORT
+#   elif defined DLL_EXPORT
 #   define ZMQ_EXPORT __declspec(dllexport)
 #   else
 #   define ZMQ_EXPORT __declspec(dllimport)

and a new build configuration that defines ZMQ_WIN_STATIC and builds a
static library instead of DLL.


-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Contributing native InfiniBand/RDMA support to 0MQ

2011-12-16 Thread Mikko Koppanen
On Fri, Dec 16, 2011 at 10:28 AM, Gabriele Svelto
gabriele.sve...@gmail.com wrote:
 Looking at configure.in instead of having --with-pgm and
 --with-system-pgm I would use something like:

 --with-pgm=(yes|no|system)

 That fits well because AC_ARG_WITH always accepts a parameter, for
 RDMA it's currently an on-off flag so I would use --enable-rdma and
 eventually adding --with-rdma-prefix to specify a non-standard path
 for the sources.


Hi,

in general a good thumb rule is if external libraries are needed then
--with (--with-pgm, --with-something-else etc) and if it's a feature
that is just enabled then --enable (--enable-debug etc).

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] idea for perf enhancement in user code

2011-12-14 Thread Mikko Koppanen
On Wed, Dec 14, 2011 at 8:32 AM, Martin Sustrik sust...@250bpm.com wrote:
 In theory we can add something like zmq_msg_add_ref() to get that
 functionality.

 The question is whether more explicit reference management using
 separate zmq_msg_t per reference doesn't lead to better coding style.

Hi,

I would be hesitant to expose reference counting via the API as this
is a very special case. Maybe we could rather have a send flag called
ZMQ_DONTCLOSE or something similar so that message can be reused if
necessary?

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] 2.1.11 release schedule

2011-12-14 Thread Mikko Koppanen
On Tue, Dec 13, 2011 at 11:55 PM, Pieter Hintjens p...@imatix.com wrote:
 We're waiting for one or two critical fixes, then we release it. It's overdue.

Hi,

I think we need the OpenPGM update in 2.1.x as well, as it fixes
building on Solaris when Solaris Studio is used.

http://build.zero.mq/view/libzmq%202.1/job/libzmq2-1_solstudio-solaris10/496/console

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Multiple PUB - one SUB?

2011-12-12 Thread Mikko Koppanen
On Mon, Dec 12, 2011 at 6:30 PM, Andrei Zmievski and...@zmievski.org wrote:
 I actually don't need to do subscription filtering, but I also don't want to
 block on HWM, so that's why I was thinking of PUB-SUB model.


Hi,

pub-sub will work for this scenario. If the Java process is something
that can be distributed you could explore PUSH (clients) and PULL
(server) for high-availability and splitting the load. You can still
do non-blocking writes or polling with timeout with PUSH.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] ZMQ_FD with request sockets

2011-12-09 Thread Mikko Koppanen
On Fri, Dec 9, 2011 at 1:02 AM, Yi Ding yi.s.d...@gmail.com wrote:
 I guess there is a difference in behavior to how ZMQ_FD works and
 zmq_poll.  When using ZMQ_FD I don't even get the signal if I don't call
 recv first (the timing doesn't matter, I can send out a reply 10 seconds
 later and I still won't get a notification on the ZMQ_FD unless I've
 called recv before.

just to clarify this further: ZMQ_FD is edge-triggered where as
zmq_poll operates on level-triggered way. I tripped on this some time
ago as well. ZMQ_FD will only trigger state changes, which means that
3 messages in the pipe will only trigger one POLLIN event and all
messages need to be read in the callback in non-blocking fashion. With
zmq_poll the POLLIN is triggered as long as there are messages in the
pipe so if you don't read the messages in the callback the event will
trigger over and over.

 Another thing is that calling recv on a ZMQ_REQ socket that I've already
 recv'd from, even if NOBLOCK is enabled, will return EFSM.

You should look into ROUTER and DEALER sockets which don't force
strict pattern like REQ/REP.

Thanks,
Miko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Bind to local ip address

2011-12-08 Thread Mikko Koppanen
On Thu, Dec 8, 2011 at 11:43 PM, fredrik danerklint
fredan-...@fredan.se wrote:
 What about using PGM-like format for the address:

 zmq_connect (s, tcp://eth0;192.168.0.111:);

 That could work.

 zmq_connect(s, tcp://127.0.0.2:;127.0.0.1);

Hi,

I guess another option would be to use zmq_setsockopt/zmq_getsockopt.
This would work a bit like HWM so it would affect subsquent connects /
binds.

-- 
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] MSVC10 project files

2011-11-25 Thread Mikko Koppanen
On Fri, Nov 25, 2011 at 7:53 AM, Martin Sustrik sust...@250bpm.com wrote:
 What do you think about moving 3.1 to MSVC2010 and leaving 2.1 as is?

Hi,

for 3.1 this is fine, as it's not released as stable yet. Would it be
beneficial to add static builds on Windows as well? Is there demand
for this?


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] MSVC10 project files

2011-11-24 Thread Mikko Koppanen
On Thu, Nov 24, 2011 at 10:13 PM, Stuart Webster sw_webs...@hotmail.com wrote:
 I think those are practical suggestions. Mikko raised the point that we
 shouldn't drop support for VC9 in a point release of 0MQ 2.1 for reasons
 of backwards compatibility. I'm not sure whether he was referring to
 compatibility with other components or other toolsets. Could you please
 elaborate, Mikko? I can't see how backwards compatibility is a
 significant issue.

Hi,

2.1 series is currently stable and we cannot change the build files to
MSVC10 format (which is not backwards compatible with the earlier
versions) in the middle of the cycle. In my opinion stable doesn't
mean just the code but also the tools around it including builds.

We had a discussions about moving to CMake earlier but I don't think
we can give up the autotools due to better cross compilation support.
The impression I got from Steven is that CMake is not quite there yet
regarding cross builds. Therefore I see very little benefit in adding
CMake unless we replace the Windows project files with CMake
completely. If not, this just adds another build system to maintain.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] MSVC10 project files

2011-11-20 Thread Mikko Koppanen
On Sun, Nov 20, 2011 at 5:20 PM, Stuart Webster sw_webs...@hotmail.com wrote:
 That's basically what these patches provide. 32-bit configurations build
 free of warnings with /W3. 64-bit configurations generate several legitimate
 conversion from 'size_t' to 'int', possible loss of data warnings which I
 intend to address with a subsequent patch. Note that this patch does not
 remove the MSVC9 project files, but I appreciate that maintaining both sets
 is not an appealing prospect. I would suggest that they are removed if this
 patch or some variant thereof is accepted.

Hi,

having to maintain multiple sets of Windows build files is the problem
indeed. It seems like for each iteration of Visual Studio we need to
create another set of project files as the conversion doesn't seem to
work as expected (at least import library location is lost during
conversion).

This is the reason why something like CMake as an abstraction would be
a lot more appealing. As far as I understand it's possible to generate
Visual Studio project files using CMake. If this works well nothing
would prevent us from distributing the project files separately. Does
this sound acceptable?

I don't think we can drop MSVC9 support in the middle 2.1 cycle as
this would be a major backwards compatibility break.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] libzmq: broken VPATH builds

2011-11-19 Thread Mikko Koppanen
On Sat, Nov 19, 2011 at 7:12 PM, Philip Kovacs kovac...@comcast.net wrote:

 Curious as to why my patch was not accepted.  The vpath build errors
 are quite real and my patch fixes them.  Reattached.  Please provide
 some feedback if the fix is unacceptable.

Hi,

I took a quick look at the patch and it looks good to me. There are
probably some VPATH breakages in --with-pgm build that need to be
addressed at some point.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] C++11 move constructor/assignment operator for socket_t and context_t

2011-11-19 Thread Mikko Koppanen
On Sat, Nov 19, 2011 at 10:50 PM, Botond Ballo botond_ba...@yahoo.ca wrote:
 (It's my first time using git, so please let me know if I did something 
 wrong.)

Hi,

the pull request looks good. I added a few comments about indentation
in the pull request. I wonder if it would make sense to even add a
test in to the build so that this functionality would automatically
work if supported by the compiler. I'm wondering this preprocessor
definition: __GXX_EXPERIMENTAL_CXX0X__ and whether GCC is going to
change that when C++11 is stable.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP Extension For Windows

2011-11-16 Thread Mikko Koppanen
On Wed, Nov 16, 2011 at 9:49 AM,  lawillas4e...@yahoo.com wrote:
 I myself to can't seem to build the DLLs. I think that should be something 
 that the ZMQ guys should do. I tried the build process severally but to no 
 avail.

There is a build available in http://snapshot.zero.mq/



-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] ASP.NET Issue

2011-11-16 Thread Mikko Koppanen
On Wed, Nov 16, 2011 at 9:47 AM,  lawillas4e...@yahoo.com wrote:
 Yes I understand that. But the thing is on the clr-zmq binding page, there's 
 really not much detailed documentation about how to select for the correct 
 platform. This is something I find very disturbing about ZMQ. Its not 
 properly documented at all. They don't even tell you what folder to look in 
 to find the correct dll files for 32bits or 64bits. You guys need to 
 understand that not everybody has gone through these kind of processes before 
 so its only fair if you give proper step-by-step processes. I'll be glad if 
 someone does that here. I just went into one of the folders and copied out a 
 dll without knowing what architecture it was for.

Hello,

The process of choosing the target platform is no different from any
other Visual Studio project. I am not sure whether our documentation
efforts are best spent creating documentation for platform specific
tools, especially when this information is fairly easy to find online:

http://stackoverflow.com/questions/3661368/how-can-i-choose-between-32-bit-or-64-bit-build-in-c-sharp-express
http://msdn.microsoft.com/en-us/library/ms185328(v=vs.80).aspx

For the locations of the DLLs and import libraries you should again
refer to your IDEs documentation, as you can easily check this from
project configuration.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP Extension For Windows

2011-11-16 Thread Mikko Koppanen
On Wed, Nov 16, 2011 at 4:39 PM, lanre lawal lawillas4e...@yahoo.com wrote:
 Hi Mikko,
     I had already visited the URL you pointed me to previously and i
 downloaded the snapshot for 64-bit as thats what my machine is. However i
 copied the libzmq.dll file included in the download into my PHP extension
 directory but I got a message in the apache error log that its not a PHP
 library. Please can you tell me what i need to do after downloading the
 snapshot. Thanks.

Hello,

The http://snapshot.zero.mq/ page contains a link called php53-ext,
which has the extension built for PHP 5.3. It contains both
thread-safe and non-threadsafe versions of the extension (php_zmq.dll)
alongside with libzmq.dll, which is needed as a dependency.

You need to place libzmq.dll in the search path for runtime libraries
and load php_zmq.dll in your php.ini. This build will only work with
PHP 5.3.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP Extension For Windows

2011-11-16 Thread Mikko Koppanen
On Wed, Nov 16, 2011 at 7:13 PM, lanre lawal lawillas4e...@yahoo.com wrote:
 Hello Mikko,
       Thanks for your last suggestion. I tried it out but I got the
 following error in my apache_error_log:
 PHP Warning:  PHP Startup: Unable to load dynamic library
 'c:/wamp/bin/php/php5.3.8/ext/php_zmq.dll' - %1 is not a valid Win32
 application.\r\n in Unknown on line 0. What could be the cause of this. I'm
 indeed running PHP 5.3.8 and Apache2.2.21.

Hello,

If I would have to guess you are running 64bit PHP where as the
extension is built for 32bit.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP Extension For Windows

2011-11-16 Thread Mikko Koppanen
On Wed, Nov 16, 2011 at 9:49 PM,  lawillas4e...@yahoo.com wrote:
 Hi Mikko,
    I got a 32bit computer and tried the same setup process. This time it 
 gives this error:
 PHP Warning: PHP Startup: Unable to load dynamic library 
 'c:/wamp/bin/php/php5.3.8/ext/php_zmq.dll' - The specified module could not 
 be found. Has anyone successfully used this build before. Mikko I'm sure you 
 know what is wrong here.

Hello,

You need to place libzmq.dll in the search path for runtime libraries
and load php_zmq.dll in your php.ini.

Have you done these both?

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] libzmq - includedir and broken VPATH builds

2011-11-15 Thread Mikko Koppanen
On Tue, Nov 15, 2011 at 9:56 AM, Luca Fascione lu...@wetafx.co.nz wrote:
 Also, note that if you have a header a.h inside zmq/ you can slightly
 alter the CPPFLAGS and the files that say #include a.h still work
 fine, whereas the opposite is quite a bit harder :-)

Hi,

while moving the headers into their own sub-directories is nicer from
packaging point of view I would be hesitant to implement this in
stable releases.

While this change is easy to implement for experienced C and C++
developers we do have large amount of user's that struggle compiling
the guide examples. Applying this change would force them to use the
-I flag / not being able to compile the examples in a way that they
have used to.

Also, this would potentially break large amount of builds that rely on
the header being deployed to the default include path.

You should be able to achieve the same result by packaging your local copy with:

./configure --prefix=/usr --includedir=/usr/include/zmq

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] x64 build target for Windows?

2011-11-11 Thread Mikko Koppanen
On Fri, Nov 11, 2011 at 7:47 AM, Pieter Hintjens p...@imatix.com wrote:
 We should get these into the 2-1 and 3-x packaging.
 -Pieter

Hi,

we definitely should. Looking at
http://code.google.com/p/encmq/source/browse/trunk/src/zeromq/CMakeLists.txt
it's under GPL license. Is this problematic for us? Maybe we could
start from Steven's CMakeLists and expand from there.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] x64 build target for Windows?

2011-11-09 Thread Mikko Koppanen
On Wed, Nov 9, 2011 at 4:12 PM, AJ Lewis aj.le...@quantum.com wrote:
 Hey all,

 Would you be willing to take a patch that adds the x64 build target to
 zeromq2-1 (and 3-0 if you want)?  Currently the msvc sln file only
 supports 32-bit builds, but it's nice to not have to load up Visual
 Studio to change it for every build, and just specify it on the
 commandline to devenv.com.

Hi,

I think this would be useful. VS10 builds also need a bit of work at
some point as it seems that the import library location gets lost
during the project conversion. I wonder if Steven's CMake based
Windows build would be a better way forward.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] 0MQ/3.1

2011-11-09 Thread Mikko Koppanen
On Wed, Nov 9, 2011 at 2:06 PM, Pieter Hintjens p...@imatix.com wrote:
 Could you explain what the essential disadvantage of having multiple
 repos, each working with their own master branch and supporting
 branches as required, and a single repo with multiple organized
 branches?

Hello,

my 2cents:

the single biggest disadvantage from my point of view is related to
the workflow using three separate repositories. If everything was in a
single repository we could finally get rid of manually having to
export/merge diff files between directories. Also, at the moment
people working on all repositories have to go through three different
directories to make sure that git clones are up to date before
starting to work on something.

Another added benefit of a single repository is being able to follow
progress and commits through different branches with more ease. As far
as I know most of the tools, such as gitk, are also geared towards a
single repository.

Take a look at for example the following simple commits:

https://github.com/zeromq/zeromq2-1/commit/b75c06c34f991d96a3b21d48b74efc029df7c800
https://github.com/zeromq/libzmq/commit/68ab5f87edd2436757ab92b22238a5a4114d7b0d

These are both committed with the same commit message but the
contents, hashes etc are totally different in both. There is really
very little visibility over the boundaries of the different
repositories.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] 0MQ/3.1

2011-11-09 Thread Mikko Koppanen
On Wed, Nov 9, 2011 at 9:01 PM, Paul Colomiets p...@colomiets.name wrote:
 It may be harder to follow work on github, but not on local copy. just do

 git remote add zeromq2-1 git://github.com/zeromq/zeromq2-1
 git remote add zeromq2-2 git://github.com/zeromq/zeromq2-2
 git remote add libzmq git://github.com/zeromq/libzmq

 (exact urls are untested)

 And you can do all of the following:

 # show combined log of all projects
 git log --all
 # update data from all repositories
 git fetch --all
 # work on any version's master branch
 git checkout -b master zeromq2-1/master
 # merge changes from all the master branches into current branch
 git merge zeromq2-1/master zeromq2-2/master libzmq/master
 # pull also works
 git pull zeromq2-1 master; git pull zeromq2-2 master

 Sure, you can cherry-pick from any branch, and gitk will also show all
 of them. What else do you want?

Hi,

I never got the merge to work well but I can't remember what the issue
was back then. With this setup from github perspective am I still
maintaining three different forks from which I send pull requests to
three different repos?


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Mikko Koppanen
On Mon, Nov 7, 2011 at 10:22 AM, Martin Sustrik sust...@250bpm.com wrote:
 Other bindings for languages with GCs do the same thing. See, for
 exmaple, here;

 https://github.com/zeromq/jzmq/blob/master/src/org/zeromq/ZMQ.java#L334


Hi,

as far as I understand majority of the language with GC leave the
closing to GC. Otherwise this would cause annoying issues where the
object for the socket is valid but the underlying socket is invalid.
There should be no need for explicit close as usually object going out
of scope closes the socket.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Configuration cannot find libzmq.so.1?

2011-11-01 Thread Mikko Koppanen
On Tue, Nov 1, 2011 at 5:16 AM, Dave Johnson davej10...@yahoo.com wrote:
 Hey all,
 I'm stuck on an error when running a config script for a library that
 depends on zmq.  Specifically, it cannot find libzmq.so.1.
 I installed zmq with the following commands:
 cd zeromq-2.1.10
 ./configure --prefix=/usr/local  make
 sudo make install
 And I then added the following to my environment variable, .bash_profile,
 and yes, I definitely sourced the bash profile again:
 LD_LIBRARY_PATH=/home/ec2-user/zeromq-2.1.10

 This didn't help.  Anyone know what to do here?  I've been stuck for days
 scouring Google, trying stuff, not sure what to do...
 ERROR LOG:

 Error running version detection script:
 detect/vers: error while loading shared libraries: libzmq.so.1: cannot open
 shared object file: No such file or directory
 Fatal:
     Failed to run ZMQ test program.  Please check to make sure:


     * You have a C compiler installed
     * A development version of Python is installed (including header files)
     * A development version of ZMQ = 2.1.4 is installed (including header
 files)
     * If ZMQ is not in a default location, supply the argument --zmq=path
     * If you did recently install ZMQ to a default location,
       try rebuilding the ld cache with `sudo ldconfig`
       or specify zmq's location with `--zmq=/usr/local`

Hi,

really no idea which library this is but did you try passing the
option '--zmq=path' as the instructions tell?

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-29 Thread Mikko Koppanen
On Sat, Oct 29, 2011 at 4:44 PM, Pieter Hintjens p...@imatix.com wrote:
 Github doesn't allow forking of repos within the same organization,
 which was the reason we created separate repos per main version. The
 separate gits allowed different processes per version which IMO has
 worked very well. E.g. patches to ML for libzmq, pull requests for
 zeromq2-1. All we've lost is a single history, which really no-one has
 ever proven necessary.

Hi,

from contributors (my) view the multiple repos and processes has never
worked really well. There is certain amount of confusion of how to get
patch into different repositories and how to follow a patch throughout
different versions.

I am all in (as I have been always) for single repository and single
process for all the development. There should be no need to create
multiple forks inside a single organisation for things that can be
done in branches inside a single repository.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] C Based ZeroMQ Aggregation Server Problems...

2011-10-24 Thread Mikko Koppanen
On Mon, Oct 24, 2011 at 8:59 PM, Henry Geddes hged...@zynga.com wrote:
 We have also seen that when a SIGINT signal is handled it kicks the program 
 out of the dead lock and it starts taking traffic again.

Hi,

out of interest: is this a RHEL5 system? There was someone on IRC the
other day with similar style problem on CentOS5.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Cross-compiling zmq for PowerPC-405

2011-10-19 Thread Mikko Koppanen
On Wed, Oct 19, 2011 at 3:04 PM, Tergeist P tergeis...@gmail.com wrote:
 But, it doesn't change anything... Would you mind helping me please?


Hi,

have you seen the following post:
http://lists.zeromq.org/pipermail/zeromq-dev/2011-October/013789.html
?


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] (no subject)

2011-10-11 Thread Mikko Koppanen
On Tue, Oct 11, 2011 at 3:00 PM, Martin Sustrik sust...@250bpm.com wrote:
 I guess it's the same problem as build.zero.mq being currently down.
 Mikko Koppanen who owns the boxes is aware of the problem and will
 hopefully be able to solve it soon.


Hi,

from what I can see it looks pretty severe hardware failure (hope it's
not). No ETA at the moment.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP Error on Ubuntu

2011-10-11 Thread Mikko Koppanen
On Wed, Oct 12, 2011 at 12:24 AM, lanre lawal lawillas4e...@yahoo.com wrote:
 Hello Ali,
   Well for what iḿ trying to achieve I really don´t need to send any
 messages, All i need to do is receive the messages so am thinking maybe the
 send() part would have to go off. The documentation site is currently down
 so I can´t access the documentation. Is there a soft copy of the
 documentation that I can get from somewhere else. Maybe you can help me from
 your experience. I´ll explain what I actually want to achieve.

 There´s a dedicated IP address that is currently receiving messages from
 some devices, now I want to connect to this address and receive these
 messages. Thats just what I want to do. Can you give me steps on how to do
 this or better still send me a soft copy of the documentation.

Hi,

if you want to just receive message then REQ/REP is the wrong pattern
for you. You should use PUB/SUB for this scenario. The
http://zguide.zeromq.org/ contains examples in PHP as well.

-- mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP Error on Ubuntu

2011-10-11 Thread Mikko Koppanen
On Wed, Oct 12, 2011 at 1:21 AM, lanre lawal lawillas4e...@yahoo.com wrote:
 Ok Ali. But i'm pretty new to this whole socket thing. The guy am working
 with actually achieved the same thing as I want to on C#. The code is pretty
 much the same as what I have and he says he's receiving the messages. You
 said the send and recv methods are in block mode by default. How can I
 unblock it so that the messages come in. This task is pretty easy as I'm not
 doing any complex socket implementation. Can you go through my short code to
 see where I could have gone wrong? Thank you

Hi,

setSockOpt takes two arguments rather than one. $socket-setsockopt
(ZMQ::SOCKOPT_SUBSCRIBE, ). As mentioned before the
http://zguide.zeromq.org/page:all contains examples in PHP as well,
including publish-subscribe examples.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP Error on Ubuntu

2011-10-11 Thread Mikko Koppanen
On Wed, Oct 12, 2011 at 1:55 AM, lanre lawal lawillas4e...@yahoo.com wrote:
 Now I have a question, for an AJAX implementation, would it
 be better to receive the messages through a loop say 20loops or to just
 receive the messages one per AJAX request

This is something that you just have to try out and see what suits the scenario.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] ZeroMQ binding for PHP not working on WAMPSERVER

2011-10-10 Thread Mikko Koppanen
On Sun, Oct 9, 2011 at 9:31 PM, lanre lawal lawillas4e...@yahoo.com wrote:
 I want to use the ZMQ library for a PHP project. I have downloaded the files
 and done a build with visual studio. When I type the pear command to get the
 pecl extension i get an error that says: ERROR: The DSP zmq.dsp does not
 exist. Also when I try the windows build from source, at the stage when you
 do configure --enable-zmq, it says the zmq option is invalid. Please i need
 urgent help on this

Hello,

as I mentioned yesterday the option is called '--with-zmq' rather than
'--enable-zmq'. You also need to make sure that you have got the
required dependencies built (zeromq). The configure line probably
looks something like this:

configure --disable-all --enable-cli --with-zmq=shared
--with-extra-includes=C:\path\to\libmzq2-1\include
--with-extra-libs=C:\path\to\libmzq2-1\lib

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] OpenPGM 5.1.118 - maintenance release

2011-10-10 Thread Mikko Koppanen
On Mon, Oct 10, 2011 at 8:16 PM, Steven McCoy steven.mc...@miru.hk wrote:
 A repackaging with Debian 7 based Autotools instead of OSX 10.6.8, this
 might fix some platform specific issues that have arisen.
 http://code.google.com/p/openpgm/downloads/detail?name=libpgm-5.1.118-1~dfsg.tar.gz
 Normally the configure scripts are built by running ./bootstrap.sh on a
 clean SVN checkout.

This package seems to fix silent rules and building on solaris 10
using solaris studio 12.2.

-- Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[zeromq-dev] libzmq tests blocking

2011-10-09 Thread Mikko Koppanen
Hi,

ever since this build: http://build.zero.mq/job/libzmq_GCC-debian/772/
the tests for libzmq seem to get stuck. The test that gets stuck seems
to be: test_reqrep_tcp

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] ZeroMQ binding for PHP not working on WAMPSERVER

2011-10-09 Thread Mikko Koppanen
On Sun, Oct 9, 2011 at 9:36 PM, lanre lawal lawillas4e...@yahoo.com wrote:
 I want to use the ZMQ library for a PHP project. I have downloaded the files
 and done a build with visual studio. When I type the pear command to get the
 pecl extension i get an error that says: ERROR: The DSP zmq.dsp does not
 exist. Also when I try the windows build from source, at the stage when you
 do configure --enable-zmq, it says the zmq option is invalid. Please i need
 urgent help on this

Hi,

you can use these instructions to build on Windows:
https://wiki.php.net/internals/windows/stepbystepbuild. The option for
is --with-zmq rather than --enable-zmq. I committed a fix a few
minutes ago that adds the needed files to the windows build. However,
it's been a while since I've built on Windows so not sure in what
state it is.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] zmq_poll not working on Windows

2011-10-04 Thread Mikko Koppanen
On Tue, Oct 4, 2011 at 4:12 PM,  marko.dieckm...@gmx.de wrote:
 Hello everyone,

 I tried to make zmq_poll work in my zmq 2.1.9 sample application for Windows
 7 (x64), but without success.

 For this test I have a PUB/SUB setup between 2 threads.

      // open INPROC socket to communicate with main thread
     m_pInprocSocket = new zmq::socket_t(m_pZMQContext, ZMQ_SUB);
     m_pInprocSocket-connect(inproc://thread_com);
     m_pInprocSocket-setsockopt(ZMQ_SUBSCRIBE, , 0);

 Then in thread that opened the SUB socket I want to poll, like:

     zmq_pollitem_t pi[] = { m_pInprocSocket, 0, ZMQ_POLLIN, 0 };

Hi,

if you look at the poll examples carefully
(http://zguide.zeromq.org/cpp:mspoller) you need to pass the actual
object to the poll_item_t rather than a pointer to it. Try:

zmq_pollitem_t pi[] = { *m_pInprocSocket, 0, ZMQ_POLLIN, 0 };

thanks,
mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] CMake for ØMQ part x+1

2011-10-03 Thread Mikko Koppanen
On Mon, Oct 3, 2011 at 10:12 PM, Steven McCoy steven.mc...@miru.hk wrote:
 Well, CPack is useful for creating packages.  Hopefully someone will find
 these useful.

Hi Steven,

pretty amazing work here. CMake has been on my endless todo list for
quite some time. I'll definitely give these a spin at some point.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [BUG] zmq_assert causes BOOM if you breath on OSX Lion kqueue wrong.

2011-09-30 Thread Mikko Koppanen
On Fri, Sep 30, 2011 at 11:22 PM, Zed Shaw zed.s...@gmail.com wrote:
 I was asked to report all asserts I encounter.  I went to the JIRA to
 submit this as a bug, but it looks like I have to create an account,
 or something, can't really figure it out even though I've used JIRA
 before.  I'm guessing this is the next place to report a bug, so here
 you go.

 If I run ZeroMQ 2.1.9 for even a reasonably complex load on OSX Lion I get 
 this:

 No such file or directory
 rc != -1 (kqueue.cpp:76)
 Abort trap: 6

 I'll just report it here and then maybe someone can fix this.

Hi Zed,

I think I ran into the same issue:
https://zeromq.jira.com/browse/LIBZMQ-261. This usually happened to me
if the other peer disconnected. I haven't seen this issue after
applying the patch mentioned in the issue.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] network topology sketch -- off topic

2011-09-29 Thread Mikko Koppanen
On Thu, Sep 29, 2011 at 3:33 PM, Whit Armstrong
armstrong.w...@gmail.com wrote:
 Does anyone know of a tool that allows one to easily draw network
 topology in ascii (other than a text editor)?

Hi,

check out http://ditaa.org/ditaa/. I think this is used in the zguide.

Regards,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] libzmq dylib versioning

2011-09-22 Thread Mikko Koppanen
On Thu, Sep 22, 2011 at 5:08 PM, Pieter Hintjens p...@imatix.com wrote:
 Does the 3.0 API count as a new version (2.0.0?) Or rather an updated
 of version 1?

It's not backwards compatible so I think it should be 2.0.0.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] libzmq dylib versioning

2011-09-22 Thread Mikko Koppanen
On Thu, Sep 22, 2011 at 6:51 PM, Pieter Hintjens p...@imatix.com wrote:
 OK, I've make that change and pushed it to 3-0 master.

Thanks,

I think 4.0 needs to be 3.0.0 in that case..?


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] libzmq dylib versioning

2011-09-22 Thread Mikko Koppanen
On Thu, Sep 22, 2011 at 8:44 PM, MinRK benjami...@gmail.com wrote:
 Let's slow down - is the *ABI* actually different?  I'm still not 100% clear
 on what ABI really means, even after rereading some definitions, but I do
 know that ABI != API.

Hi,

please correct me if I am wrong but a program linked with zeromq 2.1
won't work if you switch the underlying ZeroMQ library to 3.0 without
rebuilding against 3.0. I think the biggest change here is
zmq_(send|recv) vs zmq_(send|recv)msg.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] libzmq dylib versioning

2011-09-22 Thread Mikko Koppanen
On Thu, Sep 22, 2011 at 9:26 PM, MinRK benjami...@gmail.com wrote:
 That's true.  And there is not such a difference, that I know of, between
 3.0 and 4.0 (yet).  So, 3.0 and 4.0 should both be 2.0.0, then?

Hi,

if I remember correctly ZMQ_DEALER constant was dropped from 4.x,
which kinda makes it incompatible. I haven't had time to catch up with
the latest changes on 4.x though.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] libzmq dylib versioning

2011-09-22 Thread Mikko Koppanen
On Thu, Sep 22, 2011 at 9:35 PM, Pieter Hintjens p...@imatix.com wrote:
 Not really... the major ABI change was in 3.0. 4.0 keeps the same ABI,
 possibly with minor changes. The ABI in 4.0 hasn't changed afaik.
 Dropping ZMQ_DEALER changes the API but not the binary interface (i.e.
 you can load a 4.0 library and use it from 3.0 code, and will get
 error return codes, but not stack dumps).

Cool, I'll give this a spin at some point.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Anyone managed to use zeromq with Qt (QSocketNotifier) ?

2011-09-19 Thread Mikko Koppanen
On Mon, Sep 19, 2011 at 7:41 PM, Gaspard Bucher gasp...@teti.ch wrote:
 My guess is that there is something I do not understand regarding the ZMQ_FD
 file descriptor.
 Maybe it only retriggers read-ready if the queue has been emptied ?

Hi,

the ZMQ_FD is edge-triggered rather than level triggered, which means
that if you have multiple messages pending the readable state will be
triggered once, rather than continuously. If you read all messages in
your callback the ZMQ_FD should trigger readable event again on new
messages.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] too many open files error in zmq/jzmq

2011-09-08 Thread Mikko Koppanen
2011/9/8 Igor 'Lo' (И.L.) bombsiteunres...@gmail.com:
 Hi all.

 What can cause an REQ/REP pair to crash (after doing multiple requests
 from Java to C++, crashing both sides at random choice) with following
 message:

 Too many open files
 rc == 0 (mailbox.cpp:375)
 (END)

 C++ side:

        zmq::context_t context (1);
        zmq::socket_t socket (context, ZMQ_REP);
        socket.bind (tcp:://localhost:1234);

        while (true) {
                void *context = zmq_init(1);
                zmq::message_t *request = new zmq::message_t;
                socket.recv (request);
 ... // parse request, prepare reply: unsigned char data with length dsize
                zmq::message_t reply (dsize+1);
                memcpy((void *)reply.data(), data, dsize);
                memset((void *)reply.data()+dsize, '\0', 1);
                socket.send(reply);
       }

Hi,

I notice that you are creating a new context in while loop in the C++
code. Is this intentional? I think each context creates at least one
socket for the internal logging, which would cause it to run out of
handles eventually as these contexts are not closed in that piece of
code. The Java side could run out of file handles if you are rapidly
opening and closing large amounts of sockets. It might be better to
create one socket per thread and use it for a longer period.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Option for choosing polling system

2011-09-07 Thread Mikko Koppanen
On Wed, Sep 7, 2011 at 4:18 AM, Steven McCoy steven.mc...@miru.hk wrote:

 Does this break Cygwin again?

Hi Steven,

I tested on latest version of Cygwin and the build succeeds. The
detected polling system is 'poll' and make check works as well. Are
you seeing problems with the build after this patch?

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] ZMQ.Poller in Java: how to do timeout check for REQ/REP?

2011-09-06 Thread Mikko Koppanen
2011/9/6 Igor 'Lo' (И.L.) bombsiteunres...@gmail.com:
 Hi all.

 I have ZMQ.REP socket sitting in some unstable C++ application, so
 Java client (doing ZMQ.REQ) can occasionally hang on socket.recv(),
 blocking the application.
 What I want is to have a recv() timeout of two seconds, returning an
 error if other party didn't either responds all all (TCP error on
 connection, adopted via LINGER) or responce time is bigger than 2
 seconds (have poll() to timeout after 2 seconds waiting).

 Following code does not work (hangs at polling):

 package TestPack;
 import java.util.ArrayList;
 import java.util.List;
 import java.io.*;
 import java.util.*;
 import java.math.BigInteger;

 import org.zeromq.ZMQ;
 import org.msgpack.*;

 class TestPack {
        private static void doTest(String tester)
        {
                byte[] raw = MessagePack.pack(tester);

                ZMQ.Context context = ZMQ.context(1);
                ZMQ.Socket jsocket = context.socket(ZMQ.REQ);
                jsocket.setLinger(0);
                jsocket.connect (tcp://localhost:1234);
                jsocket.send(raw, 0);

                ZMQ.Poller it = context.poller(1);
                it.register(jsocket, ZMQ.Poller.POLLIN);

                System.out.println(Started polling);
                boolean got = false;
                it.poll(); // --- hangs here.
                System.out.println(Done polling);
                if (it.pollin(0)) {
                    byte[] reply = jsocket.recv(0);
                    String decode = new String(reply,0,reply.length-1);
                    System.out.println(decode);
                    got = true;
                }
                if (got == false) {
                    System.out.println(Received nothing);
                }
                jsocket.close();
        }

        public static void main(String[] args)
        {
          doTest(hello world);
        }
 }


Hi,

try calling setTimeout for the poll in java code. The default
behaviour is to block until there is activity in the socket:

https://github.com/zeromq/jzmq/blob/master/src/org/zeromq/ZMQ.java#L1147

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Option for choosing polling system

2011-09-04 Thread Mikko Koppanen
On Sun, Sep 4, 2011 at 11:54 AM, Pieter Hintjens p...@imatix.com wrote:
 Any benefit backporting this to 2-1 or 3-0?

Hi,

I think this shouldn't go into 2.1 as this is a completely new
feature. I think it would make sense to backport this into 2-2 and
3-0. Do you want me to go ahead?

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Option for choosing polling system

2011-09-04 Thread Mikko Koppanen
On Sun, Sep 4, 2011 at 11:58 AM, Pieter Hintjens p...@imatix.com wrote:
 On Sun, Sep 4, 2011 at 12:57 PM, Mikko Koppanen
 mikko.koppa...@gmail.com wrote:

 I think this shouldn't go into 2.1 as this is a completely new
 feature. I think it would make sense to backport this into 2-2 and
 3-0. Do you want me to go ahead?

 Yes, that'd be great. You have commit access, so go for it. :)

Hi,

it's in daca108769c4fe2e400b.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev



[zeromq-dev] Fix polling system detection on mingw32

2011-09-04 Thread Mikko Koppanen
Hello,

attached is additional patch for polling system detection on Windows
mingw32 builds where the header for the select is different. Also
fixes a copy-paste error a few lines down. I committed this fix to
2-2, 3-0 as well.

-- 
Mikko Koppanen


0001-Fix-polling-system-detection-on-mingw32-build.patch
Description: Binary data
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[zeromq-dev] Option for choosing polling system

2011-09-03 Thread Mikko Koppanen
Hello,

attached is a patch for the build system to allow choosing the
internal polling system using a switch. This patch also adds checking
for available polling systems in priority order and uses the one thats
found first.

Thanks,
Mikko


0001-Added-option-to-choose-internal-polling-system.patch
Description: Binary data
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Cross -Compiling with gcc-3.3.1

2011-08-29 Thread Mikko Koppanen
On Mon, Aug 29, 2011 at 9:02 PM, Alex Ramirez alex.r.rami...@gmail.com wrote:
 Hi,

 Have been attempting to cross compile libzmq.a for a PowerPC-405
 processor which uses the following tool set versions:

 gcc 3.3.1
 glibc 2.3.2

 As expected, have received multiple linking errors relating to
 features not available with libstdc++.so.5 (gcc 3.3.1). The
 PopwerPC-405 is prepackaged with a custom linux installation that is
 provided by a third party vendor. I've contacted them about support
 for upgrading to newer versions of gcc and glibc, tough it's likely
 this will not be an option.

 Has any had any experience/success cross compiling zeromq libraries
 with these older toolsets?


Hi Alex,

which features specifically are not available?

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Cross -Compiling with gcc-3.3.1

2011-08-29 Thread Mikko Koppanen
On Tue, Aug 30, 2011 at 12:48 AM, Alex Ramirez alex.r.rami...@gmail.com wrote:
 The link errors of interest I'm seeing in this example are:
 undefined reference to `std::char_traitsunsigned char::copy(unsigned
 char*, unsigned char const*, unsigned)'
 undefined reference to `epoll_create'
 undefined reference to `epoll_ctl'
 undefined reference to `epoll_wait'
 All these calls appear to link to libstdc++.so.6, and gcc-3.3.1 is only
 compatible with libstdc++.so.5.
 Any support is greatly appreciated!

Hi,

the epoll errors are caused because there is no epoll available on the
target platform. If you add -DZMQ_FORCE_POLL to CPPFLAGS it should
take care of those. I think the second error (I assume) is because too
old toolchain and ZeroMQ blob.hpp, which has the following:

typedef std::basic_string unsigned char blob_t;

You might be able to fix this by similar fashion to:
http://www.google.com/codesearch#NpsCNDAcr4w/MorphKad/id3lib/include/id3/id3lib_strings.h
(haven't got this old toolchain to test so just guessing here).

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] confusing!!! Does pgm/epgm supported in Windows/zeromq?

2011-08-17 Thread Mikko Koppanen
On Wed, Aug 17, 2011 at 3:41 AM, Steven McCoy steven.mc...@miru.hk wrote:
 You used to be able to pull 0mq binaries from the automated builds.  I
 cannot recall the correct link though.

Hi,

the link is http://snapshot.zero.mq/msvc2008/


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Cross compiling - uuid

2011-08-17 Thread Mikko Koppanen
On Wed, Aug 17, 2011 at 1:27 PM, BLOTTIERE Paul
paul.blotti...@fr.thalesgroup.com wrote:
 Hi,

 I spent yesterday trying to cross-compile zeroMQbut with a compiler for 
 powerpc (my embeded system). The development host is a Debian installation. 
 Note that I already use ZMQ on the same computer but not in cross compiling, 
 and I didn't have any problem.

 So, in order to make cross compiling, I configure again zmq (after a 'make 
 uninstall'):

 ./configure --prefix=/home/moi/local --target=powerpc-linux  
 host=x86_64-linux CC=../bin/powerpc-405-linux-gnu-gcc

 And I have the line following whereas uuid-dev is installed :
 checking for uuid_generate in -luuid... no
 configure: error: cannot link with -luuid, install uuid-dev.

 In the config.log, I have the same error and I saw it was trying to find 
 libuuid in the /lib of my compiler's folder so I made a symlink :
 ln -s /lib/libuuid.so
 ln -s /lib/libuuid.so.1


Hi Paul,

you need to cross-compile libuuid for your target architecture. The
process should be similar as with Android
(http://www.zeromq.org/distro:android#toc1) but with different target
arch.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Android support in 2.1 master

2011-08-11 Thread Mikko Koppanen
On Thu, Aug 11, 2011 at 4:28 PM, Pieter Hintjens p...@imatix.com wrote:
 Thanks. There's no native building on Android, only cross-compilation.
 I'd tried adding a section in configure.in, but I've no idea how to
 get configure to use it. --build and --host don't do it.

Hi,

what do you mean --build and --host won't do it? You should be able to
cross-compile using autotools by setting up android cross-compilation
toolchain and using correct --host.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Android support in 2.1 master

2011-08-11 Thread Mikko Koppanen
On Thu, Aug 11, 2011 at 4:48 PM, Pieter Hintjens p...@imatix.com wrote:
 On Thu, Aug 11, 2011 at 5:34 PM, Mikko Koppanen
 mikko.koppa...@gmail.com wrote:

 what do you mean --build and --host won't do it? You should be able to
 cross-compile using autotools by setting up android cross-compilation
 toolchain and using correct --host.

 That's what I assumed, but adding an 'android' target and then using
 '--host android' just gives:

 checking host system type... Invalid configuration `android': machine
 `android' not recognized
 configure: error: /bin/bash config/config.sub android failed


Hi,

after running ./autogen.sh try updating config/config.sub and
config/config.guess with

http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
http://git.savannah.gnu.org/cgit/config.git/plain/config.guess

and check for linux-android* in the configure.in.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Long-term plan for ZeroMQ

2011-07-29 Thread Mikko Koppanen
On Fri, Jul 29, 2011 at 11:11 PM, Daniel Truemper
truem...@googlemail.com wrote:
 Maybe a silly question, but if you remove durable sockets, what is the
 use case for SWAP? Why not simply remove the SWAP as well?

 Am I getting something wrong here?

Hi Daniel,

I think Pieter is referring to the fact that SWAP has been removed in 3.x.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Blocking receive with timeout

2011-07-06 Thread Mikko Koppanen
On Wed, Jul 6, 2011 at 9:48 PM, Christian Martinez ch...@microsoft.com wrote:
 Quick question, am I missing a timeout option for a blocking receive perhaps
 in one of the flags? If it’s not there, is there a philosophical or
 technical reason for it not to exist?

Hi,

you can use zmq_poll with a timeout to see when the socket becomes readable.


Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] Fix incorrect include usage on Windows

2011-06-13 Thread Mikko Koppanen
On Mon, Jun 13, 2011 at 7:08 AM, Martin Sustrik sust...@250bpm.com wrote:
 Hi Steven,

 And the patch, ...

 With no comments from Mikko or Mato, I've took the liberty of committing
 the patch to the master.

 The patch breaks MSVC2010 build :(

 I've reverted it.


Hello,

Steven: what exactly is broken? It seems that mingw32 build history
shows all blue for debian and win7:

http://build.zero.mq/job/libzmq_mingw32-debian/

http://build.zero.mq/job/libzmq_mingw32-win7/

Or have I misconfigured the build?


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] What is the difference between libzmq.dll and libzmq.lib under windows?

2011-06-05 Thread Mikko Koppanen
On Sun, Jun 5, 2011 at 7:38 PM, Seref Arikan
serefari...@kurumsalteknoloji.com wrote
 So what am I leaving out when I use the lib file from the dll compilation 
 setup?

Hi,

the .lib file generated during DLL build is called Import Library
and it's used when you want to link against the DLL version of the
library. For more information see:
http://msdn.microsoft.com/en-us/library/ms682592%28v=vs.85%29.aspx

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Comments do not match up on issues imported into JIRA

2011-05-20 Thread Mikko Koppanen
On Thu, May 19, 2011 at 4:37 PM, Martin Lucina m...@kotelna.sk wrote:
 Hi Mikko,

 it seems I spoke a bit too soon; I just noticed that the comments on the
 issues imported into JIRA don't match up with the issue descriptions.

 See e.g.

 https://zeromq.jira.com/browse/LIBZMQ-99
 https://zeromq.jira.com/browse/LIBZMQ-77

 Not sure what happened here, I can't see any pattern that makes sense.

 You have the original data used for the Github import; can you take a look
 and reopen the support request with Atlassian to get them to fix it?

Hi,

sorry, completely missed this email. I will inspect the data and open
a support request with Atlassian.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Comments do not match up on issues imported into JIRA

2011-05-20 Thread Mikko Koppanen
On Fri, May 20, 2011 at 7:12 PM, Mikko Koppanen
mikko.koppa...@gmail.com wrote:
 Hi,

 sorry, completely missed this email. I will inspect the data and open
 a support request with Atlassian.


Hi,

found the issue and fixing data now.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[zeromq-dev] Jira instance

2011-05-14 Thread Mikko Koppanen
Hi,

Jira instance is now up and running. The issues have been exported
from Github and they will be imported on Tuesday (after this Jira can
be opened for business). If there are issues being created / updated
in the meanwhile I'll add another import request later.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Just ran some tests with x64

2011-05-13 Thread Mikko Koppanen
On Fri, May 13, 2011 at 8:04 AM, Oliver Smith oli...@kfs.org wrote:
 Only problems I've seen with ZMQ under Windows, not x64 specific, are that
 it can be a bit tricky to coerce into building as a static library rather
 than a DLL.


Hi Oliver,

we made a decision not to support static libraries under windows as we
thought people don't have need for them. If this is a requirement I
can look into fixing this.



-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Unconference, Brussels, 10th May 2011, Minutes

2011-05-12 Thread Mikko Koppanen
On Thu, May 12, 2011 at 2:09 PM, Ilja Golshtein ilej...@narod.ru wrote:
 Martin,

 thanks.

 Interesting.

 If anyone has a more detailed script or may be audio/video/slides/whatever 
 (Lecture Recorder testrun?) let me know, please.
 The area I am particularly interested in is Monitoring.

Hi,

there was no test-run unfortunately, just six slides I made in the
train on the way to the conference. If you are interested in more
information the project is open source and available at
http://code.google.com/p/lecturerecorder/. I am in the process of
updating the wiki to reflect the current architecture. If you have
specific questions, feel free to mail me directly.

 I an not a CMake guru though I use it in my current project and got some 
 experience.
 Willingly assist in moving to CMake.


Cool. I will create a fork in github at some point and start testing
whether CMake gives us everything we can do with autotools.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Unconference, Brussels, 10th May 2011, Minutes

2011-05-12 Thread Mikko Koppanen
On Thu, May 12, 2011 at 3:55 PM, Steven McCoy steven.mc...@miru.hk wrote:
 I'd like to hear more detail on this direction considering the multitude of
 build tools I'm working with in OpenPGM.

Hi,

the main thing behind evaluating CMake from my perspective is being
able to build Visual Studio project files, debian packages, RPM
packages etc from single build definition rather than maintaining
these separately. I didn't really have much experience with CMake
before the current project and this far it's made cross-platform
builds and packages very easy.

So short-list of things I would like investigate with CMake:

 - Building Debian packages (and whether the generated packages comply
with debian policies)
 - Building RPMs
 - Windows installer
 - Building on Windows (currently visual studio project files are
maintained separately)
 - Cross-compiling



-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] 0MQ unconf, Brussels

2011-05-11 Thread Mikko Koppanen
On Wed, May 11, 2011 at 8:36 AM, Pieter Hintjens p...@imatix.com wrote:

 Thanks again to all who came, it was a long day yesterday but really 
 satisfying.


Hi,

thank you for organising the event. We couldn't have made it through
the day without the croissants you got from the bakery at 6am.
Regarding the Jira: I filled in the form to apply for Hosted Jira
Studio and should hear back from Atlassion within 14 days according to
their website.

Thanks,
Mikko
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Apparent queuing on PUB/SUB fan-in despite HWM=1

2011-05-11 Thread Mikko Koppanen
Hi Brian,

I had problems with pub-sub and hwm as well. The behaviour I was seeing was 
that despite the hwm messages were queued to publisher side and with large 
message size the memory usage sky rocketed within seconds after subscriber died.

I tested this with simple cpp code and could not reproduce. Are you able to 
isolate a reproducable test case?

-- 
Mikko Koppanen

On 11 May 2011, at 15:46, Brian Rossa rossa...@hotmail.com wrote:

 Hi all,
 
 Let me say first that I'm a newb, but that I *kinda* feel like I've grokked 
 ZeroMQ. I'm working on a real-time vision system and we're using ZeroMQ to 
 connect its major computational components. My review so far: ZeroMQ is 
 awesome!
 
 There are a number of design issues that I'd like help with in the medium 
 term. For now, though, there's one that needs some urgent attention: 
 *apparent* queuing of messages on PUB/SUB fan-in despite having HWM set to 1 
 for both the senders and receivers. I say apparent here to acknowledge that 
 problem is most likely with my implementation, and not ZeroMQ. I can't 
 isolate it on my side, though, and am generally at a loss to explain where 
 it's coming from.
 
 We use standard PUB/SUB-bind/connect socket pairs throughout the system, all 
 with HWM set to 1 on both sides. The alleged queuing is apparent at the 
 system endpoint, where messages from all the intermediate processing nodes 
 are collected and displayed as a movie. (For the most part, these messages 
 are small in size; they're JSON representations of bounding boxes). What we 
 are finding, though, is that messages from the fastest intermediate nodes -- 
 also the nodes that are generating the most messages as a consequence of 
 being fast -- tend to lag farther and farther behind messages from slower 
 nodes.
 
 My understanding of the HWM semantic is that, when the HWM is reached, new 
 messages will not be queued. That means that the queued messages are not the 
 newest messages. There are good reasons for why this has to be the case. 
 Fine. Still, this growing lag for prolific senders doesn't make any sense to 
 me. The message that I receive at the system endpoint should only be as old 
 as the last zmq_recv from that node. Yet, I am experiencing situations in 
 which one of the intermediate nodes will take a break -- eg, it won't send 
 any messages for a while -- and the endpoint will continue to process old 
 messages from it for a few more minutes. Shouldn't it process JUST ONE 
 message from a node that's taking a break if HWM is 1 on both sides of that 
 socket pair?
 
 My secret concern here is that there is some gotcha in the fair-queuing 
 semantics of PUB/SUB pairs that's causing this to manifest itself at the 
 fan-in point. But again, IT'S PROBABLY ME. Any intuition that you guys might 
 be able to share would be greatly appreciated. In the meantime I'll try to 
 cook up a toy example that clearly demonstrates the problem.
 
 Cheers! And great work on ZeroMQ!
 ~Brian
 ___
 zeromq-dev mailing list
 zeromq-dev@lists.zeromq.org
 http://lists.zeromq.org/mailman/listinfo/zeromq-dev
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] I'm a coder, Jim, not an administrator...

2011-04-28 Thread Mikko Koppanen
On Thu, Apr 28, 2011 at 8:18 PM, Martin Pales m.pa...@gmail.com wrote:
 Oliver,
 you can also check Mikko's auto builds here: http://build.valokuva.org/
 Martin

Hi,

if someone can give instructions on how to build debian packages out
of the debian/ directory in the source tree I can add i386 and x86_64
debian packages to snapshots (http://snapshot.zero.mq) as well.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] I'm a coder, Jim, not an administrator...

2011-04-28 Thread Mikko Koppanen
On Thu, Apr 28, 2011 at 11:16 PM, Christopher Nielsen
m4dh4t...@gmail.com wrote:
 make sure all the build dependencies are installed

 cd debian
 dpkg-buildpackage


Hi,

this was my initial idea:

dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1

Does the changelog need to be generated separately?


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[zeromq-dev] [PATCH] pkg-config

2011-04-04 Thread Mikko Koppanen
Hi,

after fiddling around a bit I think the attached patch works in making
the pkg-config dependency optional rather than mandatory. The
conditional dependency makes things a lot easier when building on Win
using MinGW(32|64).

-- 
Mikko Koppanen


0001-Make-pkg-config-dependency-conditional.patch
Description: Binary data
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] [PATCH] Build related enhancements to pre30

2011-04-02 Thread Mikko Koppanen
On Sat, Apr 2, 2011 at 10:10 PM, Martin Sustrik sust...@250bpm.com wrote:
 Whatever I do, I am getting following error:

 local_lat.o: In function `global constructors keyed to 65535_0_main':
 /home/sustrik/libzmq/perf/local_lat.cpp:108: undefined reference to
 `__gcov_init'
 local_lat.o:(.data+0x24): undefined reference to `__gcov_merge_add'

 To reproduce try building on a box where gcov is not installed.


Hi,

can you apply the attached patch on top of 0002 and see if this fixes the issue?

-- 
Mikko Koppanen


0004-Additional-gcov-changes.patch
Description: Binary data
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] zeromq2 repository rename

2011-03-26 Thread Mikko Koppanen
On Sat, Mar 26, 2011 at 6:20 AM, Martin Sustrik sust...@250bpm.com wrote:
 libzmq sounds ok. What I am interested in now is how the rename will
 affect the ecosystem. That's primarily auto-builds which will stop
 working at the moment of the rename, but also broken links for 3rd
 parties etc.

 Please do speak out in case you are affected by the name change!

Hi,

the daily builds can be updated to use the new name. I can do that as
soon as the repo has been renamed.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[zeromq-dev] [PATCH] OpenPGM builds from zeromq2-1

2011-03-26 Thread Mikko Koppanen
Hi,

attached is a patch to port the build changes from zeromq2-1 to
upstream. Let me know if anything is missing.


Thanks,
Mikko


0001-Upstream-the-openpgm-build-fixes.-Add-DSO-symbol-vis.patch
Description: Binary data
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] PHP bind problem

2011-03-25 Thread Mikko Koppanen
On Fri, Mar 25, 2011 at 10:23 AM, ALBERT HIDALGO BAREA aba...@tid.es wrote:
 I can run the version script example, but any other crashes. Maybe it is
 because I am running PHP 5.1.6? I think that this package requires version
 5.2.0.

Hi,

I have not tested with PHP 5.1.6 at all and it's very unlikely that
the binding would work with that version. It's unfortunate that Redhat
ships roughly five years old PHP version by default.


-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] porting to VxWorks

2011-03-25 Thread Mikko Koppanen
On Fri, Mar 25, 2011 at 2:16 PM, YAMOKOSKI, JOHN D.
(JSC-ER)[OCEANEERING SPACE SYSTEMS] john.d.yamoko...@nasa.gov wrote:
 I’ve done some searching but can’t find anyone who has ported zmq to
 VxWorks. I’d like to take on that challenge, however does anyone have any
 advice on where to start? Right now, I’ve just found a lot of links to gnu
 tools for cross compiling. Has anyone documented their port to another OS so
 I can follow along and attempt to replicate?


Hi,

I don't know VxWorks at all but assuming you can cross-compile for it
using autotools. In this case you need to setup a cross-compiler
toolchain and pass the required options for ./configure script. The
daily builds currently cross-compile Windows binaries on Linux using
mingw32 and the following configure line:

./configure --target=mingw32 --build=i686-linux --host=i586-mingw32msvc

I assume VxWorks would be something similar but I really don't know
the platform at all.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] OpenPGM build integration in the 2.1.3 release

2011-03-24 Thread Mikko Koppanen
On Thu, Mar 24, 2011 at 11:23 AM, Martin Lucina m...@kotelna.sk wrote:
 Is there a patch/commit I can try out to see if the fix works ok in the
 Debian build now?


Hi Martin,

yes, this has been recently fixed. The very latest changes in
https://github.com/zeromq/zeromq2-1 should contain small amount of
fixes. The openpgm build artifacts are no longer installed.

-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] OpenPGM build integration in the 2.1.3 release

2011-03-24 Thread Mikko Koppanen
On Thu, Mar 24, 2011 at 11:05 AM, Martin Lucina m...@kotelna.sk wrote:
 Hi Mikko,

 I'm updating the Debian package of 2.1.3, and have hit a small snag.

 It seems that as part of the upgrade to OpenPGM 5.1.114 in 2.1.3 the build
 system has been completely reworked and OpenPGM is no longer statically
 linked into libzmq, but instead is built as a separate shared library.

Hi,

sorry about this hassle, completely my fault not thinking about
recursive make install installing openpgm artifacts as well. OpenPGM
is still linked statically using libtool convenience archive, so that
.so is not actually used by libzmq.so. There is a fix now for
preventing automake from recursing into openpgm build dirs and this
has been added to zeromq2-1 today.

Let me know if something doesn't work as expected.




-- 
Mikko Koppanen
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


  1   2   >