Re: [q-lang-users] q 7.11 build fails on Mac OS X 10.3.9
Brought to you by:
agraef
From: Ryan S. <rya...@us...> - 2008-06-09 23:07:06
|
On Jun 9, 2008, at 06:37, Albert Graef wrote: > Ryan Schmidt wrote: > >> system.c: In function `__F__system_setpgrp': >> system.c:4860: error: too few arguments to function `setpgrp' > > Yes, that's another one of those POSIX incompatibilities in older OSX. > configure is supposed to check for this one, though. Can you please > send > me your config.log? Here you go... The relevant part seems to be: configure:32826: checking whether setpgrp takes no argument configure:32860: /usr/bin/gcc-3.3 -o conftest -O2 -I/mp/include -L/mp/ lib conftest.c -lm >&5 configure:32863: $? = 0 configure:32869: ./conftest configure:32872: $? = 0 configure:32888: result: no And it never says anything about having set SETPGRP_VOID. But then in system.c it says: /* configure might detect wrong interface on these systems */ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #undef SETPGRP_VOID #endif #if defined(__APPLE__) #define SETPGRP_VOID #endif So configure got it right, and then the source overrode it. Maybe setpgrp takes no arguments on 10.4 and later, but didn't on 10.3 and earlier? I'm not sure because on 10.4 and later I can't find a manpage for setpgrp. I found this slightly updated manpage on Apple's web site: http://developer.apple.com/documentation/Darwin/Reference/ManPages/ man2/setpgrp.2.html It says you should use setpgid instead of setpgrp? |