Subject: | MacOSX-File 0,66 (with patch applied) won't build in Panther (OS10.3) |
MacOSX-File version 0,66 patched with the panther.pat patch does not build under Panther (MacOS 10.3).
Perl version is out-of-the-box perl 5.8.1 RC3.
terminal output is attched.
Regards.
Landry
.../MacOSX-File-0.66 user$ patch -p1 <panther.pat
patching file Copy/filecopy.c
patching file Spec/Spec.xs
patching file common/util.c
.../MacOSX-File-0.66 user$ 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
.../MacOSX-File-0.66 user$ make CC=gcc2
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
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.64\" -DXS_VERSION=\"0.64\" "-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