Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MacOSX-File-0.71

2 views
Skip to first unread message

Alan Fry

unread,
Jan 16, 2011, 5:42:56 AM1/16/11
to Mac OS X perl
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

Chas. Owens

unread,
Jan 16, 2011, 9:34:05 AM1/16/11
to Alan Fry, Mac OS X perl
On Sun, Jan 16, 2011 at 05:42, Alan Fry <a...@afco.demon.co.uk> wrote:
snip

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

Have you tried dankog...@gmail.com ?

His CPAN author's page is http://search.cpan.org/~dankogai/

You can find an author's CPAN page on the right under the CPAN logo
(the link is the author's name).


--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

John Delacour

unread,
Jan 16, 2011, 9:47:00 AM1/16/11
to Mac OS X perl
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?

dankog...@gmail.com


JD

Kino

unread,
Jan 16, 2011, 10:29:39 AM1/16/11
to Alan Fry, Mac OS X perl

On 2011-01-16 [+0900 JST], at 7:42 PM, Alan Fry wrote:

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

defaults write com.apple.versioner.perl Version 5.8.9
make Makefile.PL
make
make test

[...]

Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/catalog.t 2 512 7 14 1-7
t/copy.t 2 512 5 10 1-5
t/info.t 2 512 10 20 1-10
t/spec.t 2 512 5 10 1-5
Failed 4/5 test scripts. 27/29 subtests failed.
Files=5, Tests=29, 1 wallclock secs ( 0.15 cusr + 0.05 csys = 0.20 CPU)

You can still install it by 'sudo make install' but...


Kino

0 new messages