perl5 +-threads @INC

Bradley Giesbrecht pixilla at macports.org
Mon Sep 19 11:43:41 PDT 2011


I have perl5 installed with and without threads and p5 modules built against both versions.
Upgrades and installs are failing because port sees the p5-* modules as installed but the modules are not in perls @INC path.
I guess it doesn't really work to change perl5+-threads.

Should I force upgrade all p5-* modules?


pillbox:dports brad$ sudo port activate perl5.12 @5.12.3_2+universal
pillbox:dports brad$ /opt/local/bin/perl -V
...
 @INC:
   /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level
   /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level
   /opt/local/lib/perl5/site_perl/5.12.3
   /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level
   /opt/local/lib/perl5/vendor_perl/5.12.3
   /opt/local/lib/perl5/5.12.3/darwin-multi-2level
   /opt/local/lib/perl5/5.12.3
   /opt/local/lib/perl5/site_perl
   /opt/local/lib/perl5/vendor_perl
   .
...


pillbox:dports brad$ sudo port activate perl5.12 @5.12.3_2+threads
pillbox:dports brad$ /opt/local/bin/perl -V
...
 @INC:
   /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level
   /opt/local/lib/perl5/site_perl/5.12.3/darwin-thread-multi-2level
   /opt/local/lib/perl5/site_perl/5.12.3
   /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-thread-multi-2level
   /opt/local/lib/perl5/vendor_perl/5.12.3
   /opt/local/lib/perl5/5.12.3/darwin-thread-multi-2level
   /opt/local/lib/perl5/5.12.3
   /opt/local/lib/perl5/site_perl
   /opt/local/lib/perl5/vendor_perl
   .
...


Regards,
Brad


More information about the macports-dev mailing list