-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/6/10 4:52 PM, Koen van der Drift wrote: > Hi, > > I am trying to update most of my perlmodules to include the -pm5100 > variant. For module-build-pm5100, I now get the following error: > > sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.38.5B2RQl > /var/tmp/tmp.0.Ld9wPl > + exec > + perlversion=5.10.0 > + perlexe=perl5.10.0 > + '[' 5100 = 5100 ']' > + perlexe='/usr/bin/arch -powerpc perl5.10.0' > ++ /usr/bin/arch -powerpc perl5.10.0 -V:archname > arch: Unknown architecture: powerpc > + eval '' > + /usr/bin/arch -powerpc perl5.10.0 Build.PL --install_path arch=/sw/ > src/fink.build/root-module-build-pm5100-0.36.07-1/sw/lib/perl5/5.10.0/ > --install_path bin=/sw/src/fink.build/root-module-build- > pm5100-0.36.07-1/sw/bin --install_path bindoc=/sw/src/fink.build/root- > module-build-pm5100-0.36.07-1/sw/lib/perl5/5.10.0/man/man1 -- > install_path lib=/sw/src/fink.build/root-module-build-pm5100-0.36.07-1/ > sw/lib/perl5/5.10.0 --install_path libdoc=/sw/src/fink.build/root- > module-build-pm5100-0.36.07-1/sw/lib/perl5/5.10.0/man/man3 -- > install_path script=/sw/src/fink.build/root-module-build- > pm5100-0.36.07-1/sw/lib/module-build-pm5100/ > arch: Unknown architecture: powerpc > ### execution of /var/tmp/tmp.0.Ld9wPl failed, exit code 1 > ### execution of /var/tmp/tmp.38.5B2RQl failed, exit code 1 > > In this case -5100 was not added by me, so I never tested and seen > this before. For -pm588, I get the following and no errors: > > sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.2.Ri67M2 > /var/tmp/tmp.0.NOcwEP > + exec > + perlversion=5.8.8 > + perlexe=perl5.8.8 > + '[' 588 = 5100 ']' > ++ perl5.8.8 -V:archname > + eval 'archname='\''darwin-thread-multi-2level'\'';' > ++ archname=darwin-thread-multi-2level > > > Any suggestions on how to fix this? > > Thanks, > > - Koen. > >
You might check out svn-swig-pm, which was the most recent example where this issue was fixed that I know of. Perl-5.10 was a special case, because Snow Leopard's system perl5100 assumes that everything is going to build universally. The problem is that feeding the Architecture as used by fink doesn't work, since 'arch' is looking for 'ppc' rather than 'powerpc'. drm had mentioned some options for coding this into fink about a year ago, but they didn't happen as of yet. - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwMEfsACgkQB8UpO3rKjQ/GUwCeKukD/buXPkyEngtVNmpCwJIo m0oAoITha3icz2X8PJE/2RApIHnhwQhx =SU3k -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
