--On Wednesday, 2002 March 27 13:19 -0700 Michael Bartosh 
<[EMAIL PROTECTED]> wrote:

> ...I'm using 2.0.16, since I ldap doesn't work with libsasl2 yet.
>
> Running with these flags:
>
>> [sstout:~] admin% printenv | grep FLAGS
>> CPPFLAGS=-I/sw/include
>> LDFLAGS=-flat_namespace -L/sw/lib
>> CFLAGS=-fno-common
>
> ...sasl is working correctly.
>
>
> make all is dying on this error:
>
>> mboxlist.c
>> mboxlist.c:65: header file 'sys/msg.h' not found
>> mboxlist.c:250: syntax error, found `__attribute__'
>> mboxlist.c:250: illegal function definition, found `)'
>> cpp-precomp: warning: errors during smart preprocessing, retrying in
>> basic mode
>> make[1]: *** [mboxlist.o] Error 1
>> make: *** [all] Error 1
>
>
> ...google can't tell me anything about the error, so I was wondering if
> anyone else has seen this.

OS X doesn't have anything at sys/msg.h, but the code in mboxlist.c, 
imtest.c and request.c will compile if you just comment out this line. 
Similarly setproctitle.c uses sys/resource.h that in OS X doesn't include 
sys/time.h and needs it, but you can add it and that works. (from some 
notes I made last summer but haven't gotten around to publishing).

Cheers,
Mark

Reply via email to