Subject: | Mac::Carbon 0.81 does not make on OS-X 10.4.11 w/ perl 5.10.0 darwin-2level |
Date: | Sun, 4 Oct 2009 20:29:36 -0400 |
To: | bug-Mac-Carbon [...] rt.cpan.org |
From: | M W487 <mw487.yahoo.com [...] gmail.com> |
I would be happy to work more to isolate this problem or test other
versions; suggestions welcome.
localhost:~/Desktop/Mac-Carbon-0.81 cpan-testing$ uname -a
Darwin localhost 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
powerpc
localhost:~/Desktop/Mac-Carbon-0.81 cpan-testing$
~/Documents/perl-5.10.0/perl-5.10.0/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Mac::AppleEvents
Writing Makefile for Mac::Components
Writing Makefile for Mac::Files
Writing Makefile for Mac::Gestalt
Writing Makefile for Mac::InternetConfig
Writing Makefile for MacPerl
Writing Makefile for Mac::Memory
Writing Makefile for Mac::MoreFiles
Writing Makefile for Mac::Notification
Writing Makefile for Mac::OSA
Writing Makefile for Mac::Processes
Writing Makefile for Mac::Resources
Writing Makefile for Mac::Sound
Writing Makefile for Mac::Speech
Writing Makefile for Mac::Types
Writing Makefile for Mac::Carbon
localhost:~/Desktop/Mac-Carbon-0.81 cpan-testing$ make
cp Carbon.pm blib/lib/Mac/Carbon.pm
cp AppleEvents.pm ../blib/lib/Mac/AppleEvents.pm
cp AppleEvents.pod ../blib/lib/Mac/AppleEvents.pod
/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/bin/perl
../xsubpps/xsubpp-5.8.0 -noprototypes -typemap
/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/lib/5.10.0/ExtUtils/typemap
AppleEvents.xs > AppleEvents.xsc && mv AppleEvents.xsc AppleEvents.c
cc -c -I/Developer/Headers/FlatCarbon/ -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -I/opt/local/include
-fpascal-strings -arch ppc -O3 -DVERSION=\"1.32\"
-DXS_VERSION=\"1.32\"
"-I/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/lib/5.10.0/darwin-2level/CORE"
AppleEvents.c
In file included from AppleEvents.xs:63:
../Carbon.h: In function 'GUSIFSpDown':
../Carbon.h:252: warning: pointer targets in passing argument 1 of
'MacPerl_CopyC2P' differ in signedness
../Carbon.h: In function 'GUSIFSp2FullPath':
../Carbon.h:303: warning: pointer targets in passing argument 2 of
'strncpy' differ in signedness
../Carbon.h:310: warning: pointer targets in assignment differ in signedness
../Carbon.h:312: warning: pointer targets in passing argument 1 of
'sprintf' differ in signedness
../Carbon.h: In function 'GUSIPath2FSp':
../Carbon.h:392: warning: pointer targets in passing argument 2 of
'GUSIFSpDown' differ in signedness
../Carbon.h: In function 'GUSIFS2FullPath':
../Carbon.h:429: warning: pointer targets in return differ in signedness
cc -c -I/Developer/Headers/FlatCarbon/ -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -I/opt/local/include
-fpascal-strings -arch ppc -O3 -DVERSION=\"1.32\"
-DXS_VERSION=\"1.32\"
"-I/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/lib/5.10.0/darwin-2level/CORE"
PerlAEUtils.cpp
PerlAEUtils.cpp: In function 'OSErr PAEGetEventHandler(OSType, OSType,
SV*, SV*, Boolean)':
PerlAEUtils.cpp:347: warning: enumeral mismatch in conditional
expression: '<anonymous enum>' vs '<anonymous enum>'
PerlAEUtils.cpp: In function 'OSErr PAERemoveEventHandler(OSType,
OSType, Boolean)':
PerlAEUtils.cpp:357: warning: enumeral mismatch in conditional
expression: '<anonymous enum>' vs '<anonymous enum>'
Running Mkbootstrap for Mac::AppleEvents ()
chmod 644 AppleEvents.bs
rm -f ../blib/arch/auto/Mac/AppleEvents/AppleEvents.bundle
c++ -bundle -undefined dynamic_lookup -L/opt/local/lib -bundle
-flat_namespace -undefined suppress -framework Carbon -arch ppc
AppleEvents.o PerlAEUtils.o -o
../blib/arch/auto/Mac/AppleEvents/AppleEvents.bundle \
\
/usr/bin/ld: more than one value specified for -undefined
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/Mac/AppleEvents/AppleEvents.bundle] Error 1
make: *** [subdirs] Error 2
localhost:~/Desktop/Mac-Carbon-0.81 cpan-testing$
~/Documents/perl-5.10.0/perl-5.10.0/bin/perl -v
This is perl, v5.10.0 built for darwin-2level
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
localhost:~/Desktop/Mac-Carbon-0.81 cpan-testing$
~/Documents/perl-5.10.0/perl-5.10.0/bin/perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=darwin, osvers=8.11.0, archname=darwin-2level
uname='darwin localhost 8.11.0 darwin kernel version 8.11.0: wed
oct 10 18:26:00 pdt 2007; root:xnu-792.24.17~1release_ppc power
macintosh powerpc '
config_args='-Dprefix=~/Documents/perl-5.10.0/perl-5.10.0 -de'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include
-I/opt/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build
5367)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_LARGE_FILES USE_PERLIO
Built under darwin
Compiled at May 6 2008 22:38:01
@INC:
/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/lib/5.10.0/darwin-2level
/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/lib/5.10.0
/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/lib/site_perl/5.10.0/darwin-2level
/Users/cpan-testing/Documents/perl-5.10.0/perl-5.10.0/lib/site_perl/5.10.0
.
localhost:~/Desktop/Mac-Carbon-0.81 cpan-testing$