shunwang / openpgm

Automatically exported from code.google.com/p/openpgm
0 stars 0 forks source link

Mac OS X install of 5.1.118 #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ran ./configure
2. ran make

What is the expected output? What do you see instead?
In file included from ./include/impl/sockaddr.h:38,
                 from ./include/impl/notify.h:46,
                 from ./include/impl/framework.h:66,
                 from thread.c:23:
./include/pgm/in.h:34: error: redefinition of ‘struct group_req’
./include/pgm/in.h:40: error: redefinition of ‘struct group_source_req’
make: *** [libpgm_noinst_la-thread.lo] Error 1

What version of the product are you using? On what operating system?
Version 5.1.118 on Mac OS X Lion i7 Processor

Please provide any additional information below.

Original issue reported on code.google.com by gabe.del...@gmail.com on 27 Jun 2012 at 8:03

GoogleCodeExporter commented 9 years ago
For reference its OS X 10.7.4

Original comment by gabe.del...@gmail.com on 27 Jun 2012 at 8:11

GoogleCodeExporter commented 9 years ago
Attempted to install libpgm 3 and same exact problem. I am guessing that Apple 
changed something and now there is something getting redefined without 
intention... It most likely has to do with the upgrade to version 10.7 of OS X 
Lion

Original comment by gabe.del...@gmail.com on 27 Jun 2012 at 8:13

GoogleCodeExporter commented 9 years ago
Noted, I have a patch waiting to apply to trunk.

Original comment by fnjo...@gmail.com on 28 Jun 2012 at 1:43

GoogleCodeExporter commented 9 years ago
Any idea as to when this will be applied? Would be very helpful to be able to 
test zeromq code on my mac before uploading to my server........

Original comment by gabe.del...@gmail.com on 28 Jun 2012 at 3:43

GoogleCodeExporter commented 9 years ago
OS X 10.7 may work with trunk when using Autoconf, I can see I already 
reference that version in the following file:

http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/include/pgm/in.
h

The question arises whether __APPLE_USE_RFC_3542 or __APPLE_USE_RFC_2292 need 
to be defined for subsequent versions.

Original comment by fnjo...@gmail.com on 29 Jun 2012 at 1:37

GoogleCodeExporter commented 9 years ago
I tried r1466: Compilation works now, but the examples are seg faulting:

./purinsend -lp 7555 -n "en0;239.192.1.1"
Warn: file socket.c: line 2360 (pgm_connect): assertion `sock->recv_gsr_len > 
0' failed

pgm_err is 0x0 and causes the seg fault at purinrecv.c:440

Any ideas what could be wrong?
Best regards

Original comment by chris02...@gmail.com on 16 Jul 2012 at 7:38

GoogleCodeExporter commented 9 years ago
Trunk is working fine with Autoconf and SConstruct.OSX107.  Not sure how to fix 
SCons Autoconf.

Original comment by fnjo...@gmail.com on 22 Jul 2012 at 5:00

GoogleCodeExporter commented 9 years ago
Issue 24 has been merged into this issue.

Original comment by fnjo...@gmail.com on 19 Aug 2012 at 1:16