Re: [q-lang-users] Error compiling Q on Mac
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2006-12-03 01:13:51
|
Tim Haynes wrote: > This is fairly well known on the mac. For some reason, the logic concerning > `#ifdef HAVE_SYS_SOCKET_H' on clib.c:149 seems a bit borked. That seems to be an issue with Apple's system headers. A proper fix can be found in Andrew Berg's post (I'll include that in the next release): http://sourceforge.net/mailarchive/forum.php?thread_id=31075130&forum_id=36790 What's bizarre is that on OSX (at least on recent versions, I don't remember seeing this the last time I compiled Q on OSX) you apparently have to *#undef* _POSIX_C_SOURCE to get AF_LOCAL defined. I always thought that AF_LOCAL was mandated by POSIX (rather than AF_UNIX)? BTW, can anyone confirm that clib.c compiles under *BSD? Or does it need a similar workaround? Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |