On 2006.4.4, at 07:37 AM, Cheryl Chase wrote:
On Apr 2, 2006, at 3:32 PM, Edward Moy wrote:
A native intel program can't load a ppc binary (like Expat.bundle).
Similarly, a ppc program running in Rosetta can't load an intel
binary. In the native or Rosetta environments, there can be no
mixing of binaries.
You should probably move aside (or remove) the stuff in
/Library/Perl/5.8.6 (leaving the AppendToPath file), or at least the
ones that have .bundle files. Then you'll have to reinstall those
CPAN modules.
Thanks Ed. That helped get me going. For others who may be
investigating the same problem, let me add that CPAN was not totally
successful at rebuilding some modules, for reasons I don't completely
understand, but which probably included needing some stuff like LWP
and HTTP in order to fetch things.
But I was able to download them manually from http://www.cpan.org,
move them to /var/root/.cpan/build, and manually build and install
them.
Even though it's not as necessary as it was when the system perl was at
v5.6 and we all wanted the Unicode stuff in v5.8, I'm still inclined to
build a separate install of perl for application use. That way I don't
have to worry as much about fine-tuning what gets installed, and I find
it's easier to get cpan to behave, as well.
(Not that you can ever ignore what gets installed, but it's easier to
protect the server if you keep the OS clean.)