Opened 12 years ago
Closed 10 years ago
#35666 closed defect (fixed)
[p5-net-twitter] [@3.180.10] missing dependency MooseX::Aliases
Reported by: | david.crook@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | david.crook@…, kurthindenburg (Kurt Hindenburg) | |
Port: | p5-net-twitter p5-moosex-aliases |
Description
I am on OS X 10.8 Mountain Lion and have XCode 4.4.1
I attempted to install p5-net-twitter package on perl 5.12.4. I got the following runtime/compilation error with perl when trying to run a script using the module, making the p5-net-twitter module unusable
Can't locate MooseX/Aliases.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.12.4 /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.4 /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/5.12.4 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter/Core.pm line 4. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter/Core.pm line 4. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter.pm line 5. Compilation failed in require at ./tweet_bin2ascii.pl line 4. BEGIN failed--compilation aborted at ./tweet_bin2ascii.pl line 4.
I think the following is the reason. While the portfile for p5-net-twitter includes a dependency for p5-moosex-multiinitarg ./Core.pm of Net::Twitter has :
use MooseX::Aliases;
so I think something like the following might solve the issue. Creation of a p5-moosex-aliases port and including that port in the portfile dependency map for p5-net-twitter
I left the 'Type' as defect, but it might involve submission/request tickets as well. This is my first ticket filed, and while I used the guidelines, I may have missed something.
Change History (3)
comment:1 Changed 12 years ago by david.crook@…
Cc: | david.crook@… added |
---|
comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've updated the port to use v4
Net-Twitter-4.01005/Changes: - Remove reliance on MooseX::Aliases (issue #35)
Cc Me!