Still no go for me. I believe the things about precompiled headers are just warnings, i.e. it'll compile it from scratch rather than using the precompiled version. But then some real errors follow.

Chris, do you know where 'keyReplyPortAttr' is defined?


[pe-242:~/Downloads/perl/Mac-Carbon-0.02_01] ken% make test
cp Carbon.pm blib/lib/Mac/Carbon.pm
cp AppleEvents.pm ../blib/lib/Mac/AppleEvents.pm
cp AppleEvents.pod ../blib/lib/Mac/AppleEvents.pod
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl ../xsubpps/xsubpp-5.6.1 -noprototypes -typemap /System/Library/Perl/ExtUtils/typemap AppleEvents.xs > AppleEvents.xsc && mv AppleEvents.xsc AppleEvents.c
cc -c -I/Developer/Headers/FlatCarbon/ -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"1.24\" -DXS_VERSION=\"1.24\" -I/System/Library/Perl/darwin/CORE AppleEvents.c
/Developer/Headers/FlatCarbon//Events.h:1: warning: could not use precompiled header '/System/Library/Frameworks/Carbon.framework/Headers/Carbon.p', because:
/Developer/Headers/FlatCarbon//Events.h:1: warning: macro 'bool' defined by /System/Library/Perl/darwin/CORE/handy.h conflicts with precomp
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20: warning: could not use precompiled header '/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.p'
, because:
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20: warning: macro 'bool' defined by /System/Library/Perl/darwin/CORE/handy.h conflicts with precomp
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24: warning: could not use precompiled header '/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.
p', because:
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24: warning: macro 'bool' defined by /System/Library/Perl/darwin/CORE/handy.h conflicts with precomp
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:28,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.
h:5,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/
Headers/CarbonCore.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from /Developer/Headers/FlatCarbon//Events.h:2,
from ../Carbon.h:32,
from AppleEvents.xs:41:
/usr/include/stdbool.h:10: warning: useless keyword or type name in empty declaration
/usr/include/stdbool.h:10: warning: empty declaration
AppleEvents.xs: In function `XS_Mac__AppleEvents_AESend':
AppleEvents.xs:624: `keyReplyPortAttr' undeclared (first use in this function)
AppleEvents.xs:624: (Each undeclared identifier is reported only once
AppleEvents.xs:624: for each function it appears in.)
make[1]: *** [AppleEvents.o] Error 1
make: *** [subdirs] Error 2
[pe-242:~/Downloads/perl/Mac-Carbon-0.02_01] ken%


On Friday, December 13, 2002, at 09:18 AM, Chris Nandor wrote:

http://dev.macperl.org/tmp/Mac-Carbon-0.02_01.tar.gz

If you have the time, please try this build out, compiling and testing.
It's been tested with perl 5.6.0 and gcc2/gcc3 on Mac OS X 10.2, but I
imagine it should work with any combination of perl 5.6.0/5.6.1/5.8.0,
gcc2/gcc3, and Mac OS X 10.1/10.2.

Thanks,

--
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/


 -Ken

Reply via email to