Opened 15 years ago
Closed 15 years ago
#22187 closed defect (invalid)
p5-template-toolkit 2.22 wrong architecture error on snow leopard
Reported by: | macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | macports@… | |
Port: | p5-template-toolkit |
Description
Trying to run ttree from p5-template-toolkit after snow leopard upgrade results in the following error:
ttree 2.9 (Template Toolkit version 2.21) Source: src/ Destination: pub/ Include Path: [ lib/ ] Ignore: [ \b(CVS|RCS)\b, ^#, \.swp$ ] Copy: [ \.png$, \.gif$, \.jpg$, \.pdf$ ] Accept: [ ] Suffix: [ ] failed to create context: failed to create context: failed to load Template/Stash/XS.pm: Couldn't load Template::Stash::XS 2.21: Can't load '/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Template/Stash/XS/XS.bundle' for module Template::Stash::XS: dlopen(/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Template/Stash/XS/XS.bundle, 1): no suitable image found. Did find: /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Template/Stash/XS/XS.bundle: mach-o, but wrong architecture at /opt/local/lib/perl5/5.8.9/darwin-2level/DynaLoader.pm line 230. at /opt/local/lib/perl5/5.8.9/darwin-2level/DynaLoader.pm line 31 BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/Template/Stash/XS.pm line 31. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/Template/Config.pm line 82.
Bit confused as I thought perl was interpreted and I can't see any universal variant or architecture options on perl or this package.
Change History (5)
comment:1 Changed 15 years ago by macports@…
Cc: | macports@… added |
---|
comment:2 follow-up: 3 Changed 15 years ago by danielluke (Daniel J. Luke)
Replying to macports@…:
Trying to run ttree from p5-template-toolkit after snow leopard upgrade results in the following error:
Did you follow the migration guide (ie, did you uninstall all of your ports and install them again?)
Bit confused as I thought perl was interpreted and I can't see any universal variant or architecture options on perl or this package.
perl modules can contain compiled code (and often do for performance reasons).
comment:3 Changed 15 years ago by macports@…
Replying to dluke@…:
Did you follow the migration guide (ie, did you uninstall all of your ports and install them again?)
Yes - I followed the guide and did -f uninstall installed before reinstalling. It's possible I had some things installed from CPAN though - could that be interfering? How would I clear them out.
comment:4 Changed 15 years ago by macports@…
I had some modules including an old version of template toolkit that must have been installed from cpan in /opt/local/lib/perl5/site_perl/5.8.8. I removed this directory and it works now.
Sorry for the noise, thanks for your help.
comment:5 Changed 15 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Cc Me!