in reply to Re^5: cpanm tk and Finance::GeniusTrader
in thread cpanm tk and Finance::GeniusTrader
I'm not sure, but I see 2 possible areas for error.
1. You seem to have perlbrew in your path. I don't use it, but from my understanding perlbrew allows you to switch between various Perl versions, which are not binary compatible.
2. You include an ominous "use lib" line:
use lib '/opt/perl5/perlbrew/bin/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/darwin-2level';
use Tk;
You should not need that long dir path line, and you may be incorporating a different Tk version. Why do you need that long use lib line? On most any install, just "use Tk;" should be fine, as the Perl interpretor knows where it's modules are.
I think you have a problem with PerlBrew.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: cpanm tk and Finance::GeniusTrader
by robertw (Sexton) on Aug 11, 2012 at 17:28 UTC | |
by zentara (Cardinal) on Aug 12, 2012 at 11:33 UTC |