gideondsouza has asked for the wisdom of the Perl Monks concerning the following question:
ok so I installed mac ports recently.
It then added this line into my .bash_profile
# MacPorts Installer addition on 2013-01-17_at_18:11:48: adding an app +ropriate PATH variable for use with MacPorts. export PATH=/opt/local/bin:/opt/local/sbin:$PATH
And now when I try to run lets say my dancer app, it goes and says:
Can't locate YAML.pm in @INC (@INC contains: /Users/gideon/Documents/C +oding/TryPerlMain/TryPerlApp/lib /opt/local/lib/perl5/site_perl/5.12. +4/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.12.4 /o +pt/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/darwi +n-thread-multi-2level /opt/local/lib/perl5/5.12.4 /opt/local/lib/perl +5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/per +l5/site_perl/5.12.4/Dancer/ModuleLoader.pm line 31, <DATA> line 1003.
If I comment the line out everything sort of works. But now because of this mishap I probably installed double copies of some modules on my opt/localand on my regular modules directory. (I'm generally new to perl and osx)
Questions:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I installed mac ports and now all my cpan dependencies cannot be found
by Anonymous Monk on Jan 26, 2013 at 09:44 UTC | |
by gideondsouza (Pilgrim) on Jan 26, 2013 at 09:56 UTC | |
by roboticus (Chancellor) on Jan 26, 2013 at 14:23 UTC | |
by Anonymous Monk on Jan 26, 2013 at 10:30 UTC |