This version of POSIX::RT::MQ has not beed tested on 'darwin' platform. If you are lucky enough to get it working please drop me a note. If not (and you know POSIX message queues are supported on this platform) please inform me anyway - maybe we'll be able to do a port. Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lrt Writing Makefile for POSIX::RT::MQ cp MQ.pm blib/lib/POSIX/RT/MQ.pm /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap -typemap typemap MQ.xs > MQ.xsc && mv MQ.xsc MQ.c gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" MQ.c MQ.xs:5:20: error: mqueue.h: No such file or directory MQ.xs: In function 'XS_POSIX__RT__MQ_mq_open': MQ.xs:55: error: 'mqd_t' undeclared (first use in this function) MQ.xs:55: error: (Each undeclared identifier is reported only once MQ.xs:55: error: for each function it appears in.) MQ.xs:55: error: parse error before 'mqdes' MQ.c:113: error: parse error before 'RETVAL' MQ.xs:62: error: 'mqdes' undeclared (first use in this function) MQ.xs:64: error: 'RETVAL' undeclared (first use in this function) MQ.c: In function 'XS_POSIX__RT__MQ_mq_close': MQ.c:147: error: 'mqd_t' undeclared (first use in this function) MQ.c:147: error: parse error before 'mqdes' MQ.xs:72: error: 'mqdes' undeclared (first use in this function) MQ.xs:5:20: error: mqueue.h: No such file or directory MQ.c: In function 'XS_POSIX__RT__MQ_mq_attr': MQ.c:197: error: 'mqd_t' undeclared (first use in this function) MQ.c:197: error: parse error before 'mqdes' MQ.xs:91: error: storage size of 'old_mqa' isn't known MQ.xs:97: error: 'mqdes' undeclared (first use in this function) MQ.c: In function 'XS_POSIX__RT__MQ_mq_send': MQ.c:243: error: 'mqd_t' undeclared (first use in this function) MQ.c:243: error: parse error before 'mqdes' MQ.xs:119: error: 'mqdes' undeclared (first use in this function) MQ.xs: In function 'XS_POSIX__RT__MQ_mq_open': MQ.xs:55: error: 'mqd_t' undeclared (first use in this function) MQ.xs:55: error: (Each undeclared identifier is reported only once MQ.xs:55: error: for each function it appears in.) MQ.xs:55: error: parse error before 'mqdes' MQ.c:113: error: parse error before 'RETVAL' MQ.xs:62: error: 'mqdes' undeclared (first use in this function) MQ.xs:64: error: 'RETVAL' undeclared (first use in this function) MQ.c: In function 'XS_POSIX__RT__MQ_mq_receive': MQ.c:277: error: 'mqd_t' undeclared (first use in this function) MQ.c:277: error: parse error before 'mqdes' MQ.xs:134: error: 'mqdes' undeclared (first use in this function) MQ.c: In function 'XS_POSIX__RT__MQ_mq_close': MQ.c:147: error: 'mqd_t' undeclared (first use in this function) MQ.c:147: error: parse error before 'mqdes' MQ.xs:72: error: 'mqdes' undeclared (first use in this function) MQ.c: In function 'XS_POSIX__RT__MQ_mq_notify': MQ.c:314: error: 'mqd_t' undeclared (first use in this function) MQ.c:314: error: parse error before 'mqdes' MQ.xs:158: error: 'mqdes' undeclared (first use in this function) MQ.c: In function 'XS_POSIX__RT__MQ_mq_attr': MQ.c:197: error: 'mqd_t' undeclared (first use in this function) MQ.c:197: error: parse error before 'mqdes' MQ.xs:91: error: storage size of 'old_mqa' isn't known MQ.xs:97: error: 'mqdes' undeclared (first use in this function) MQ.xs: In function 'XS_POSIX__RT__MQ_mq_attr_pack': MQ.xs:171: error: storage size of 'mqa' isn't known MQ.c: In function 'XS_POSIX__RT__MQ_mq_send': MQ.c:243: error: 'mqd_t' undeclared (first use in this function) MQ.c:243: error: parse error before 'mqdes' MQ.xs: In function 'XS_POSIX__RT__MQ_mq_attr_unpack': MQ.xs:190: error: dereferencing pointer to incomplete type MQ.xs:191: error: dereferencing pointer to incomplete type MQ.xs:119: error: 'mqdes' undeclared (first use in this function) MQ.xs:192: error: dereferencing pointer to incomplete type MQ.xs:193: error: dereferencing pointer to incomplete type MQ.c: In function 'XS_POSIX__RT__MQ_mq_receive': MQ.c:277: error: 'mqd_t' undeclared (first use in this function) MQ.c:277: error: parse error before 'mqdes' MQ.xs:134: error: 'mqdes' undeclared (first use in this function) MQ.c: In function 'XS_POSIX__RT__MQ_mq_notify': MQ.c:314: error: 'mqd_t' undeclared (first use in this function) MQ.c:314: error: parse error before 'mqdes' MQ.xs:158: error: 'mqdes' undeclared (first use in this function) MQ.xs: In function 'XS_POSIX__RT__MQ_mq_attr_pack': MQ.xs:171: error: storage size of 'mqa' isn't known MQ.xs: In function 'XS_POSIX__RT__MQ_mq_attr_unpack': MQ.xs:190: error: dereferencing pointer to incomplete type MQ.xs:191: error: dereferencing pointer to incomplete type MQ.xs:192: error: dereferencing pointer to incomplete type MQ.xs:193: error: dereferencing pointer to incomplete type lipo: can't open input file: /var/tmp//cceydSKs.out (No such file or directory) make: *** [MQ.o] Error 1