Opened 12 years ago

Last modified 9 years ago

#36554 closed defect

zmq +pgm fails to build on 10.8.2 — at Version 2

Reported by: kyle.tarplee@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: zmq

Description (last modified by mf2k (Frank Schima))

XCode 4.5.1 it configures but does not build. The log is attached.

The errors look like

:info:build In file included from list.c:22:
:info:build In file included from ./include/impl/framework.h:66:
:info:build In file included from ./include/impl/notify.h:46:
:info:build In file included from ./include/impl/sockaddr.h:38:
:info:build ./include/pgm/in.h:33:8: error: redefinition of 'group_req'
:info:build struct group_req
:info:build        ^
:info:build /usr/include/netinet/in.h:536:8: note: previous definition is here
:info:build struct group_req {
:info:build        ^
:info:build In file included from list.c:22:

Change History (3)

Changed 12 years ago by kyle.tarplee@…

Attachment: main.log added

comment:1 Changed 12 years ago by kyle.tarplee@…

Looks like the version of pgm that comes with zmq 2.2 is bad. You need to replace it like so:

We need a Portfile that does something like this:

wget http://download.zeromq.org/zeromq-2.2.0.tar.gz
tar -xvf zeromq-2.2.0.tar.gz 
cd zeromq-2.2.0/
cd foreign/openpgm/
wget http://openpgm.googlecode.com/files/libpgm-5.2.121~dfsg.tar.gz
cd ../..
./configure --with-pgm=libpgm-5.2.121~dfsg
make -j8
sudo make install
Last edited 12 years ago by kyle.tarplee@… (previous) (diff)

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: zmq removed
Note: See TracTickets for help on using tickets.