Oh man. This is going to be a general problem. It turns out that we are using "powerpc" as the value for %m, but /usr/bin/arch wants "ppc" instead.
There are three possible solutions to this, and I'd like to open it up to general discussion which one we should adopt. One solution is to exclude powerpc architecture for perl 5.10.0. After all, the main reason for having perl 5.10.0 on OS X 10.5 is to get ready for <redacted>, and this is irrelevant for powerpc for reasons that are well-known but shouldn't be discuseed. The second solution would be to define a new fink percent expansion (perhaps %M ?) which would agree with %m on intel hardware, but be different on powerpc. The third solution would be to definition a special case within the definition of the default compilescript for Type: perl (5100), using %m most of the time, but using "ppc" when %m=powerpc. The drawback of this one is that when people have to modify this and "roll their own", they are quite likely to make a mistakes. Any thoughts on this? -- Dave On Apr 12, 2009, at 2:31 PM, Alexander Hansen wrote: > 10.5.6/PowerPC: > ... > ARCHFLAGS="" /usr/bin/arch -powerpc perl5.10.0 Makefile.PL > PERL="/usr/bin/arch -powerpc perl5.10.0" PREFIX=/sw > INSTALLPRIVLIB=/sw/lib/perl5/5.10.0 > INSTALLARCHLIB=/sw/lib/perl5/5.10.0/darwin-thread-multi-2level > INSTALLSITELIB=/sw/lib/perl5/5.10.0 > INSTALLSITEARCH=/sw/lib/perl5/5.10.0/darwin-thread-multi-2level > INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 > INSTALLSITEMAN1DIR=/sw/share/man/man1 > INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin > INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin > arch: Unknown architecture: powerpc > ... > > -- > Alexander Hansen > Fink User Liaison > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Fink-devel mailing list > Fink-devel@lists.sourceforge.net > http://news.gmane.org/gmane.os.apple.fink.devel ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel