À (At) 18:07 -0500 14/12/02, Chris Nandor écrivait (wrote) :
In article <p05200f0dba2013320b77@[192.168.0.2]>,
 [EMAIL PROTECTED] (Emmanuel. M. Decarie) wrote:

 Mac-Carbon-0.02 01 doesn't compile on my machine. I get this error:

 /usr/include/gcc/darwin/2.95.2/g++/../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
Could you search your system headers for "keyReplyPortAttr"?
Hmm, not sure what you are saying here. I just know basic C and I'm
not familiar with the Carbon framework. Where are my system headers?

I tried that though:

% grep -r "keyReplyPortAttr"  /System/Library/Frameworks/*

But it take forever to run. If you give me more details, I'll try again.

If you can't find it, try (in Carbon.h, or AppleEvents.xs):

   #define keyReplyPortAttr 'repp'
Ok, in Carbon.h, in the beginning of the file:

#ifndef _MAC_CARBON_H
#define _MAC_CARBON_H
#define keyReplyPortAttr 'repp'

See if that works.
Well it pass most of the tests (btw, these tests are very funny)

t/Carbon......................._ComponentCacheableInitialize
t/Carbon.......................ok
Components/t/Components........_ComponentCacheableInitialize
Components/t/Components........ok
Files/t/Files..................ok
Gestalt/t/Gestalt..............ok
MacPerl/t/MacPerl..............ok 3/13_ComponentCacheableInitialize
Argument "10.1.2" isn't numeric in numeric ge (>=) at
MacPerl/t/MacPerl.t line 40.
MacPerl/t/MacPerl..............ok 10/13#     Failed test
(MacPerl/t/MacPerl.t at line 88)
#          got: '2'
#     expected: '3'
MacPerl/t/MacPerl..............ok 12/13# Looks like you failed 1 tests of 13.
MacPerl/t/MacPerl..............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 11
        Failed 1/13 tests, 92.31% okay
Memory/t/Memory................ok
MoreFiles/t/MoreFiles..........ok
Notification/t/Notification....ok
Processes/t/Processes..........ok
        2/6 skipped: No parent
Resources/t/Resources..........ok
Sound/t/Sound.................._ComponentCacheableInitialize
Sound/t/Sound..................ok
Speech/t/Speech................ok 3/8_ComponentCacheableInitialize
Speech/t/Speech................ok
Types/t/Types..................ok
Failed Test         Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
MacPerl/t/MacPerl.t    1   256    13    1   7.69%  11
2 subtests skipped.
Failed 1/13 test scripts, 92.31% okay. 1/85 subtests failed, 98.82% okay.
make: *** [test_dynamic] Error 35

I didn't do a make install.

Cheers
-Emmanuel

--
______________________________________________________________________
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
Frontier - Perl - PHP - Javascript - XML  <http://scriptdigital.com/>

Reply via email to