Towards the middle:
c/generic.c:62: warning: format not a string literal and no format arguments
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
That's what clued me in to the potential problem.
It's a fresh build, OS 10.6.7 with the included Perl (5.10.0) and gcc 4.2.1. It's only the CPAN module I needed that wouldn't compile; everything else (including IO::Event, which is what I actually needed) seems fine. And again, removing "-arch ppc" from the three lines where it appears in the Makefile seems to cure all my ills—it compiles and installs without problems after that.
My older Mac still had the PPC Rosetta emulator installed. That's probably why it works there and it doesn't work on newer Macs now that they don't install PPC emulator support by default, and I'd be surprised if the XCode 4 toolchain includes any support for it either. On all my other machines, I upgraded XCode 3 to XCode 4; not sure what version of gcc, et al it comes with, but I always also installed support for older SDKs, which generally also meant PPC support. I guess XCode 4 doesn't allow for that any more. —DKT
On May 18, 2011, at 1:12 PM, Joshua Pritikin via RT wrote:
Show quoted text> <URL:
http://rt.cpan.org/Ticket/Display.html?id=68290 >
>
> On Wed, May 18, 2011 at 11:48:21AM -0400, Davin K. Tanabe via RT wrote:
>> lipo: can't open input file: /var/tmp//ccefkSW1.out (No such file or directory)
>
> Hm, I don't see any errors except for here. The problem may not be due
> to Event. Is your compiler toolchain able to compile other perl modules?
>
This email and any attachments may contain information which is confidential and/or privileged. The information is intended exclusively for the addressee and the views expressed may not be official policy, but the personal views of the originator. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents is prohibited. If you have received this email and any file transmitted with it in error, please notify the sender by telephone or return email immediately and delete the material from your computer. Internet communications are not secure and Lab49 is not responsible for their abuse by third parties, nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defect. Lab49 accepts no liability or responsibility arising out of or in any way connected to this email.