Subject: | MacOSX-File-0.67 won't build |
I'm getting the following error when trying to build MacOSX-File-0.67.
[~/Desktop/MacOSX-File-0.67] ajkurtz% perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for MacOSX::File::Catalog
Writing Makefile for MacOSX::File::Copy
Writing Makefile for MacOSX::File::Info
Writing Makefile for MacOSX::File::Spec
Writing Makefile for MacOSX::File
[~/Desktop/MacOSX-File-0.67] ajkurtz% make
cp File/Constants.pm blib/lib/MacOSX/File/Constants.pm
AutoSplitting blib/lib/MacOSX/File/Constants.pm (blib/lib/auto/MacOSX/File/Constants)
cp File.pm blib/lib/MacOSX/File.pm
cp Catalog.pm ../blib/lib/MacOSX/File/Catalog.pm
AutoSplitting ../blib/lib/MacOSX/File/Catalog.pm (../blib/lib/auto/MacOSX/File/Catalog)
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap Catalog.xs > Catalog.xsc && mv Catalog.xsc Catalog.c
cc -c -I../ -I/Developer/Headers/FlatCarbon -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"0.67\" -DXS_VERSION=\"0.67\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Catalog.c
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:113,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from /Developer/Headers/FlatCarbon/Files.h:1,
from ../common/util.c:10,
from Catalog.xs:16:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h:285:2: #else without #if
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h:287:2: #endif without #if
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Debugging.h:301:1: missing binary operator before token "enum"
Catalog.c:313:1: unterminated #if
make[1]: *** [Catalog.o] Error 1
make: *** [subdirs] Error 2
Here are the versions of everything I'm using...
MacOSX-File-0.67
This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
gcc version 3.3 20030304 (Apple Computer, Inc. build 1640)
Xcode 1.2