Installation of MacOSX-File-0.71 on 10.6.6 (Perl 5.10.0) fails with the 
following errors:

Kanga:MacOSX-File-0.71 alanfry$ 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
Kanga:MacOSX-File-0.71 alanfry$ make
cp File.pm blib/lib/MacOSX/File.pm
cp File/Constants.pm blib/lib/MacOSX/File/Constants.pm
AutoSplitting blib/lib/MacOSX/File/Constants.pm 
(blib/lib/auto/MacOSX/File/Constants)
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.10.0/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.10.0/ExtUtils/typemap  Catalog.xs > Catalog.xsc && mv 
Catalog.xsc Catalog.c
gcc-4.2 -c  -I../ -I/Developer/Headers/FlatCarbon -arch x86_64 -arch i386 -arch 
ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing 
-I/usr/local/include -Os   -DVERSION=\"0.70\" -DXS_VERSION=\"0.70\"  
"-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"   Catalog.c
Catalog.xs: In function ‘xs_getcatalog’:
Catalog.xs:70: error: subscripted value is neither array nor pointer
Catalog.xs: In function ‘xs_setcatalog’:
Catalog.xs:181: error: subscripted value is neither array nor pointer
Catalog.xs: In function ‘XS_MacOSX__File__Catalog_xs_setcatalog’:
Catalog.xs:263: warning: assignment makes pointer from integer without a cast
In file included from Catalog.xs:17:
../common/macdate.c: In function ‘D2UDT’:
../common/macdate.c:30: warning: integer constant is too large for ‘long’ type
Catalog.xs: In function ‘xs_setcatalog’:
Catalog.xs:155: warning: ‘FSpRstFLock’ is deprecated (declared at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10257)
Catalog.xs:231: warning: ‘FSpSetFLock’ is deprecated (declared at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10241)
Catalog.xs: In function ‘XS_MacOSX__File__Catalog_xs_setcatalog’:
Catalog.xs:263: warning: assignment makes pointer from integer without a cast
In file included from Catalog.xs:17:
../common/macdate.c: In function ‘D2UDT’:
../common/macdate.c:30: warning: integer constant is too large for ‘long’ type
Catalog.xs: In function ‘xs_setcatalog’:
Catalog.xs:155: warning: ‘FSpRstFLock’ is deprecated (declared at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10257)
Catalog.xs:231: warning: ‘FSpSetFLock’ is deprecated (declared at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10241)
Catalog.xs: In function ‘XS_MacOSX__File__Catalog_xs_setcatalog’:
Catalog.xs:263: warning: assignment makes pointer from integer without a cast
lipo: can't open input file: 
/var/folders/N8/N8iepXMZEmGqNnd+KxwGgE+++TI/-Tmp-//ccyaLHkm.out (No such file 
or directory)

Can anyone suggest a fix? Or does anyone know how to contact the author?

The module was used in various script on 10.5.8 (Perl 5.8.0). The difficulties 
seem to have arisen in the system upgrade to Snow Leopard.

I would be grateful for any help.

Alan Fry









Reply via email to