MacOSX-File-0.71

2011-01-16 Thread Alan Fry
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











Re: MacOSX-File-0.71

2011-01-16 Thread Chas. Owens
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 dankogai+c...@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.


Re: MacOSX-File-0.71

2011-01-16 Thread John Delacour

At 10:42 + 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?


dankogai+c...@gmail.com


JD



Re: MacOSX-File-0.71

2011-01-16 Thread Kino

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.t2   512 7   14  1-7
t/copy.t   2   512 5   10  1-5
t/info.t   2   51210   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



MacOSX::File 0.71 released!

2005-08-19 Thread Dan Kogai

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Iyanaga-san,

On Aug 19, 2005, at 14:54 , Iyanaga Nobumi wrote:

Hello,

I downloaded and installed MacOS::File 0.70, but was unable to run  
psync.


[snip]

I could run psync which came with the version 0.69.  The first  
lines are different:


0.69:
#!/usr/bin/perl

eval 'exec /usr/bin/perl  -S $0 ${1+$@}'
if 0; # not running under some shell
#
# $Id: psync,v 0.67 2004/05/03 14:53:30 dankogai Exp $
#

[snip]

0.70:
#
# $Id: psync,v 0.70 2005/08/09 15:47:00 dankogai Exp dankogai $
#


Mia culpa.  make test does not check to see if shebang is rewritten.
I have just released MacOSX::File 0.71 as follows:

=pod

=head1 NAME

MacOSX::File - A collection of modules to manipulate files on MacOS X

=head1 AVAILABILITY

http://www.dan.co.jp/~dankogai/cpan/MacOSX-File-0.71.tar.gz

and CPAN near You

=head1 CHANGES

$Revision: 0.71 $ $Date: 2005/08/19 06:11:26 $
! bin/psync
  Addressed: #!/usr/local/bin/perl missing, causing unsuable
  script being installed.  Ouch!
  Message-Id: [EMAIL PROTECTED]
! bin/psync
  POD fixes by Jean-Louis Fuchs
  Message-Id: [EMAIL PROTECTED]

=head1 AUTHOR

Dan Kogai [EMAIL PROTECTED]

=cut

Dan the Maintainer of MacOSX::File

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDBXqzErJia/WXtBsRAu3FAJ97/g2lTfbwTC/2bf6OJLZ8syhwIQCffqB3
+yGZe4UuOMp+dY5UHF7hBYI=
=eI6r
-END PGP SIGNATURE-