[zeromq-dev] python binding error:Function not implemented fd!= -1(ysocketpair.cpp:34)

Pavol Malosek malosek at fastmq.com
Mon Jul 20 14:21:45 CEST 2009


Hello,

To run autogen.sh you have to have installed

pkg-config
libtool
autoconf
automake
make & compilers

malo
  ----- Original Message ----- 
  From: bawbaw hu 
  To: zeromq-dev at lists.zeromq.org ; Pavol Malosek 
  Sent: Monday, July 20, 2009 1:36 PM
  Subject: Re: [zeromq-dev] python binding error:Function not implemented fd!= -1(ysocketpair.cpp:34)


  Hello Malo,

  when i use (rev. 1600).

   sudo ./configure --with-python --disable-eventfd

  some error happend:
  checking for ifaddrs.h... yes
  checking for pkg-config... no
  ./configure: line 22091: syntax error near unexpected token `DUMMY,'
  ./configure: line 22091: `    PKG_CHECK_MODULES(DUMMY, dummy,dummy=yes,dummy=no)'


  2009/7/20 Pavol Malosek <malosek at fastmq.com>

    Hello Hu,

    We have added --disable-eventfd configure option. More, eventfd functionality is now detected by headers presence checking together with running simple eventfd test program from configure (rev. 1600). 
    This should prevent to use eventfd on systems where it is not 100% functional.

    Thanks for report!

    malo


      ----- Original Message ----- 
      From: bawbaw hu 
      To: Pavol Malosek ; zeromq-dev at lists.zeromq.org 
      Sent: Tuesday, July 14, 2009 12:26 AM
      Subject: Re: [zeromq-dev] python binding error:Function not implemented fd!= -1(ysocketpair.cpp:34)


      Hi,
      It is Ok,I can Run 0MQ 1.0 when i edit ./libzmq/zmq/platform.hpp and comment out line #define ZMQ_HAVE_EVENTFD 1

      Thank you.

      bawbaw hu


      2009/7/14 Pavol Malosek <malosek at fastmq.com>

        Hello,

        Problem seems to be related to Debian's eglibc switch (I'll investigate it more).

        Simple workaround is:
        1. run ./configure --with...
        2. edit ./libzmq/zmq/platform.hpp and comment out line #define ZMQ_HAVE_EVENTFD 1
        3. make
        ...

        malo

          ----- Original Message ----- 
          From: bawbaw hu 
          To: Pavol Malosek ; zeromq-dev at lists.zeromq.org 
          Sent: Monday, July 13, 2009 4:44 PM
          Subject: Re: [zeromq-dev] python binding error:Function not implemented fd!= -1(ysocketpair.cpp:34)


          Hi,

          $ dpkg -l | grep libc6

          ii  libc6                             2.9-12                     GNU C Library: Shared libraries
          ii  libc6-dev                         2.9-12                     GNU C Library: Development Libraries and Hea
          ii  libc6-i686                        2.9-12                     GNU C Library: Shared libraries [i686 optimi

          $ cat /etc/debian_version
          squeeze/sid





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090720/95bcbf45/attachment.htm>


More information about the zeromq-dev mailing list