Re: MacOSX-File-0.71

[email protected] (John Delacour)
Newsgroups perl.macosx
Message-ID <p06240800c958b3c919f6@[192.168.1.68]>
At 10:42 +0000 16/01/2011, Alan Fry wrote:


>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...


I get a different sort of failure with 5.12.2 on 10.6.6:


14:30:58 User:jd   Cwd: ~
➔ cd /usr/local/bin

14:31:07 User:jd   Cwd: /usr/local/bin
➔ sudo ./cpan


Writing Makefile for MacOSX::File
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/local/bin/perl /usr/local/lib/perl5/5.12.2/ExtUtils/xsubpp 
-typemap /usr/local/lib/perl5/5.12.2/ExtUtils/typemap  Catalog.xs > 
Catalog.xsc && mv Catalog.xsc Catalog.c
cc -c  -I../ -I/Developer/Headers/FlatCarbon -fno-common 
-DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe 
-fstack-protector -I/opt/local/include -O3   -DVERSION=\"0.70\" 
-DXS_VERSION=\"0.70\" 
"-I/usr/local/lib/perl5/5.12.2/darwin-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
make[1]: *** [Catalog.o] Error 1
make: *** [subdirs] Error 2
   DANKOGAI/MacOSX-File-0.71.tar.gz
   /usr/bin/make -- NOT OK


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

[email protected]


JD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.