Chris Nandor wrote:
>  [EMAIL PROTECTED] (Ken Williams) wrote:
> 
> > Yeah, that looks like exactly what I want.  Now if I can just 
> > get Mac::Carbon working under 10.1.5! =)  Still haven't had any 
> > luck with that, it looks like a gcc 2/3 issue to me.
> 
> Yeah, I dunno.  :/  I've not had any opportunity to even test it.  What I 
> could try to do is release binaries next time, putting them on 
> SourceForge.net (I won't bother putting them on the CPAN).  I think those 
> should work on 10.1.5.  Let me know if you want me to try (I am aiming for a 
> 0.02 release of Mac::Carbon in the next 2 weeks).

For what it's worth, I had to "sudo gcc_select 3" to get Mac::Carbon to
compile under 10.2.2. Having changed gcc to "2" in order to get
curses.pm to work properly I was head-scratching for a couple of minutes
when Mac::Carbon wouldn't compile; then I noticed the 2.95.2 in the
output. So I think Ken's on the money here. 

I guess I could be a *little* more precise here... here's how the dummy
is spat when using gcc 2.95.2 

Cheers,
Paul
---------------------------------------------------------------------------
~/src/Mac-Carbon-0.01 % sudo gcc_select 2
Current default compiler is now gcc2.

~/src/Mac-Carbon-0.01 % perl Makefile.pl
Writing Makefile for Mac::Components
Writing Makefile for Mac::Files
Writing Makefile for Mac::Gestalt
Writing Makefile for MacPerl
Writing Makefile for Mac::Memory
Writing Makefile for Mac::MoreFiles
Writing Makefile for Mac::Notification
Writing Makefile for Mac::Processes
Writing Makefile for Mac::Resources
Writing Makefile for Mac::Sound
Writing Makefile for Mac::Speech
Writing Makefile for Mac::Types
Writing Makefile for Mac::Carbon
~/src/Mac-Carbon-0.01 % make
cc -c -I/Developer/Headers/FlatCarbon/ -g -pipe -pipe -fno-common
-no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -Os     -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\"
-I/System/Library/Perl/darwin/CORE  Components.c
In file included from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:13,
                 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:1,
                 from ../Carbon.h:23,
                 from Components.xs:32:
/usr/include/gcc/darwin/2.95.2/g++/../stdbool.h:10: warning: empty
declaration
In file included from Components.xs:32:
.../Carbon.h: In function `GUSIPath2FSp':
.../Carbon.h:168: parse error before `path'
.../Carbon.h:169: `path' undeclared (first use in this function)
.../Carbon.h:169: (Each undeclared identifier is reported only once
.../Carbon.h:169: for each function it appears in.)
make[1]: *** [Components.o] Error 1
make: *** [subdirs] Error 2

Reply via email to