Skip Menu |

This queue is for tickets about the Mac-Carbon CPAN distribution.

Report information
The Basics
Id: 49794
Status: open
Priority: 0/
Queue: Mac-Carbon

People
Owner: Nobody in particular
Requestors: pcfmis [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug with Mac::Carbon on Snow Leopard 10.6.1
Date: Thu, 17 Sep 2009 16:43:47 -0400
To: bug-Mac-Carbon [...] rt.cpan.org
From: Miscellaneous Related <pcfmis [...] gmail.com>

Message body is not shown because it is too large.

Download mcarb-err.rtf
application/rtf 13.9k

Message body not shown because it is not plain text.

Download mperl-v.rtf
application/rtf 3.3k

Message body not shown because it is not plain text.

Download mcomp.rtf
application/rtf 5.3k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #49794] bug with Mac::Carbon on Snow Leopard 10.6.1
Date: Thu, 17 Sep 2009 14:54:19 -0700
To: bug-Mac-Carbon [...] rt.cpan.org
From: Chris Nandor <pudge [...] pobox.com>
My guess is you've got a 64-bit perl running. I can't tell for sure. But Mac-Carbon does not compile in 64-bit mode. We're working on ways to get it to compile in 32-bit mode using the system perl. http://use.perl.org/~pudge/journal -- Chris Nandor pudge@pobox.com http://pudge.net/ Slashdot / SourceForge pudge@slashdot.org http://slashdot.org/
See also RT #43551.
Subject: Re: [rt.cpan.org #49794] bug with Mac::Carbon on Snow Leopard 10.6.1
Date: Sun, 27 Sep 2009 08:14:05 -0700
To: bug-Mac-Carbon [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
See Mac-Carbon 0.81, uploaded last night. On Sep 27, 2009, at 08:03, James E Keenan via RT wrote: Show quoted text
> Queue: Mac-Carbon > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=49794 > > > See also RT #43551.
-- Chris Nandor pudge@pobox.com http://pudge.net/ Slashdot / SourceForge pudge@slashdot.org http://slashdot.org/
On Sun Sep 27 11:14:25 2009, CNANDOR wrote: Show quoted text
> See Mac-Carbon 0.81, uploaded last night. > > On Sep 27, 2009, at 08:03, James E Keenan via RT wrote: >
> > Queue: Mac-Carbon > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=49794 > > > > > See also RT #43551.
I had the same error, but with 0.81, I get the following: --------------------------------------------------------------------- $ export VERSIONER_PERL_PREFER_32_BIT=yes $ perl Makefile.PL *** 64-BIT WARNING *** *** 64-BIT WARNING *** *** 64-BIT WARNING *** Mac-Carbon does not run under 64-bit perl, and it appears you're running a 64-bit perl. We can try to compile anyway, in case this is a fat binary: we'll try to leave out the 64-bit compilation. Give it a go? [Yn] y If you want to use these modules, it must be in 32-bit mode. For more information, see: http://use.perl.org/~pudge/journal/39596 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 Mac-Carbon-0.81 $ 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 /opt/local/bin/perl ../xsubpps/xsubpp-5.8.0 -noprototypes -typemap /opt/local/lib/perl5/5.8.9/ExtUtils/typemap AppleEvents.xs > AppleEvents.xsc && mv AppleEvents.xsc AppleEvents.c /usr/bin/gcc-4.2 -c -I/Developer/Headers/FlatCarbon/ -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/opt/local/include -fpascal-strings -arch ppc -O3 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE" AppleEvents.c In file included from AppleEvents.xs:63: ../Carbon.h: In function ‘SecondsMac2Unix’: ../Carbon.h:187: warning: ‘ConvertLocalTimeToUTC’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h:86) ../Carbon.h: In function ‘SecondsUnix2Mac’: ../Carbon.h:199: warning: ‘ConvertUTCToLocalTime’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UTCUtils.h:110) ../Carbon.h: In function ‘GUSIFSpUp’: ../Carbon.h:227: warning: ‘FSMakeFSSpec’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10096) ../Carbon.h: In function ‘GUSIFSpDown’: ../Carbon.h:249: warning: ‘PBGetCatInfoSync’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:8721) ../Carbon.h:252: warning: pointer targets in passing argument 1 of ‘MacPerl_CopyC2P’ differ in signedness ../Carbon.h:253: warning: ‘FSMakeFSSpec’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10096) ../Carbon.h: In function ‘GUSIFSp2FullPath’: ../Carbon.h:285: warning: ‘FSpMakeFSRef’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7501) ../Carbon.h:298: warning: ‘FSpMakeFSRef’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7501) ../Carbon.h:303: warning: pointer targets in passing argument 2 of ‘__builtin___strncpy_chk’ differ in signedness ../Carbon.h:303: warning: pointer targets in passing argument 2 of ‘__inline_strncpy_chk’ 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 ‘__builtin___sprintf_chk’ differ in signedness ../Carbon.h: In function ‘GUSIPath2FSp’: ../Carbon.h:344: warning: ‘FSMakeFSSpec’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10096) ../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 ../Carbon.h: In function ‘fsetfileinfo’: ../Carbon.h:445: warning: ‘FSpGetFInfo’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10207) ../Carbon.h:450: warning: ‘FSpSetFInfo’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10225) ../Carbon.h: In function ‘fgetfileinfo’: ../Carbon.h:463: warning: ‘FSpGetFInfo’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10207) In file included from AppleEvents.xs:64: CarbonAE.h: In function ‘pAEBuildError’: CarbonAE.h:150: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘UInt32’ /usr/bin/gcc-4.2 -c -I/Developer/Headers/FlatCarbon/ -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/opt/local/include -fpascal-strings -arch ppc -O3 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/opt/local/lib/perl5/5.8.9/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++ -L/opt/local/lib -bundle -undefined dynamic_lookup -bundle -flat_namespace -undefined suppress -framework Carbon -arch ppc AppleEvents.o PerlAEUtils.o -o ../blib/arch/auto/Mac/AppleEvents/AppleEvents.bundle \ \ ld: in /opt/local/lib/libxml2.2.dylib, file is not of required architecture collect2: ld returned 1 exit status make[1]: *** [../blib/arch/auto/Mac/AppleEvents/AppleEvents.bundle] Error 1 make: *** [subdirs] Error 2 --------------------------------------------------------------------- And my perl -V: --------------------------------------------------------------------- perl -V Summary of my perl5 (revision 5 version 8 subversion 9) configuration: Platform: osname=darwin, osvers=10.0.0, archname=darwin-2level uname='darwin curtis-poes-computer-3.local 10.0.0 darwin kernel version 10.0.0: fri jul 31 22:47:34 pdt 2009; root:xnu-1456.1.25~1release_i386 i386 ' config_args='-des -D prefix=/opt/local -D scriptdir=/opt/local/bin -D cppflags=-I/opt/local/include -D ldflags=-L/opt/local/lib -D vendorprefix=/opt/local -D man1ext=1pm -D man3ext=3pm -D cc=/usr/bin/gcc-4.2 -D ld=/usr/bin/gcc-4.2 -D man1dir=/opt/local/share/man/man1p -D man3dir=/opt/local/share/man/man3p -D siteman1dir=/opt/local/share/man/man1 -D siteman3dir=/opt/local/share/man/man3 -D vendorman1dir=/opt/local/share/man/man1 -D vendorman3dir=/opt/local/share/man/man3 -D inc_version_list=5.8.8 5.8.8/darwin-2level -U i_bind -U i_gdbm -U i_db' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/usr/bin/gcc-4.2', ccflags ='-fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include', optimize='-O3', cppflags='-I/opt/local/include -no-cpp-precomp -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='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 /usr/bin/gcc-4.2', ldflags ='-L/opt/local/lib -L/usr/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -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='-L/opt/local/lib -bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_FAST_STDIO USE_LARGE_FILES USE_PERLIO Built under darwin Compiled at Sep 21 2009 16:14:30 %ENV: PERL5LIB="lib" @INC: lib /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl/5.8.8 /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 . Cheers, Ovid
Subject: Re: [rt.cpan.org #49794] bug with Mac::Carbon on Snow Leopard 10.6.1
Date: Sun, 27 Sep 2009 14:39:39 -0700
To: bug-Mac-Carbon [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
Ah, I see what happened. OK, basically, as the warning says, your perl is 64-bit only, so it won't work with Mac-Carbon at all. It only works with FAT 64-bit perl (a perl that also has 32-bit in it). I should come up with a way to bail out more quickly, but ... it ain't gonna work, from what I can see there. If I am mistaken about the nature of your perl let me know. -- Chris Nandor pudge@pobox.com http://pudge.net/ Slashdot / SourceForge pudge@slashdot.org http://slashdot.org/