Subject: | Version 0.81 fails to install on Mac OS 10.4.11 |
Date: | Wed, 30 Sep 2009 23:50:40 +0100 |
To: | bug-Mac-Carbon [...] rt.cpan.org |
From: | Webmaster <nbofweb [...] btinternet.com> |
Tony-Waltons-MacBook:~/Desktop/Mac-Carbon-0.81 tonyw$
MAC_CARBON_SOUND=1 export MAC_CARBON_SOUND
Tony-Waltons-MacBook:~/Desktop/Mac-Carbon-0.81 tonyw$ 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
Tony-Waltons-MacBook:~/Desktop/Mac-Carbon-0.81 tonyw$ make test
cp Carbon.pm blib/lib/Mac/Carbon.pm
cp AppleEvents.pm ../blib/lib/Mac/AppleEvents.pm
cp AppleEvents.pod ../blib/lib/Mac/AppleEvents.pod
/usr/local/bin/perl ../xsubpps/xsubpp-5.8.0 -noprototypes -typemap /
usr/local/lib/perl5/5.10.1/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/usr/local/include -fpascal-
strings -arch ppc -O3 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/
usr/local/lib/perl5/5.10.1/darwin-thread-multi-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/usr/local/include -fpascal-
strings -arch ppc -O3 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/
usr/local/lib/perl5/5.10.1/darwin-thread-multi-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/usr/local/lib -bundle -
flat_namespace -undefined suppress -framework Carbon -arch ppc
AppleEvents.o PerlAEUtils.o -o ../blib/arch/auto/Mac/AppleEvents/
AppleEvents.bundle \
\
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/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
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=darwin, osvers=8.11.1, archname=darwin-thread-
multi-2level-64int-ld
uname='darwin tony-waltons-macbook.local 8.11.1 darwin kernel
version 8.11.1: wed oct 10 18:23:28 pdt 2007;
root:xnu-792.25.20~1release_i386 i386 i386 '
config_args=''
hint=previous, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=define, 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',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-
precomp -fno-strict-aliasing -pipe -I/usr/local/include -fno-common -
DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/
include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-
aliasing -pipe -I/usr/local/include -fno-common -DPERL_DARWIN -no-cpp-
precomp -fno-strict-aliasing -pipe -I/usr/local/include -fno-common -
DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/
include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build
5370)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, 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'
libpth=/usr/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'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_INT
USE_FAST_STDIO USE_ITHREADS USE_LARGE_FILES
USE_PERLIO
Built under darwin
Compiled at Sep 1 2009 00:22:32
@INC:
/usr/local/lib/perl5/5.10.1/darwin-thread-multi-2level
/usr/local/lib/perl5/5.10.1
/usr/local/lib/perl5/site_perl/5.10.1/darwin-thread-multi-2level
/usr/local/lib/perl5/site_perl/5.10.1
/usr/local/lib/perl5/site_perl
.
uname -a
Darwin Tony-Waltons-MacBook.local 8.11.1 Darwin Kernel Version
8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/
RELEASE_I386 i386 i386
cc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.