Skip Menu |

This queue is for tickets about the MacOSX-File CPAN distribution.

Report information
The Basics
Id: 6409
Status: resolved
Priority: 0/
Queue: MacOSX-File

People
Owner: Nobody in particular
Requestors: andrew [...] kurtz.ws
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



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
From: andrew [...] kurtz.ws
So, if it's resolved, what do I change to get it to build? Andy
From: andrew [...] kurtz.ws
Ok, I noticed there was a new version that uses gcc2. I installed gcc2 and now get this error. [~/Desktop/MacOSX-File-0.68] ajkurtz% make gcc2 -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/CoreFoundation.framework/Headers/CFBase.h:13, from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:8, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, 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: /usr/include/gcc/darwin/2.95.2/g++/../stdbool.h:10: warning: empty declaration Catalog.xs: In function `XS_MacOSX__File__Catalog_xs_setcatalog': Catalog.xs:263: warning: assignment makes pointer from integer without a cast Running Mkbootstrap for MacOSX::File::Catalog () chmod 644 Catalog.bs rm -f ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -flat_namespace -undefined suppress -framework Carbon Catalog.o -o ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle /usr/bin/ld: -undefined: unknown argument: -lbundle1.o make[1]: *** [../blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle] Error 1 make: *** [subdirs] Error 2