[mythtv-users] FaceBook Status Updates in MythTV
Brad DerManouelian
myth at dermanouelian.com
Wed Feb 11 01:51:14 UTC 2009
On Feb 10, 2009, at 2:54 PM, Harry Devine wrote:
> Brad,
>
> Forgive me for jumping in here, but out of curiosity, I thought I'd
> give that script a try since I'm on Facebook (not Twitter though).
> I don't have any Perl experience at all, and after some Googling, I
> saw how to use CPAN to install Net::Twitter. However, I can't get
> it to install. Since I have 0 Perl knowledge, does any of the
> following errors make sense?
>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> t/00.load................NOK 1/1
> # Failed test 'use Net::Twitter;'
> # at t/00.load.t line 4.
> # Tried to use 'Net::Twitter'.
> # Error: Can't locate JSON/Any.pm in @INC (@INC contains: /home/
> hdevine/.cpan/build/Net-Twitter-2.06-qbl28P/inc /home/hdevine/.cpan/
> build/Net-Twitter-2.06-qbl28P/blib/lib /home/hdevine/.cpan/build/Net-
> Twitter-2.06-qbl28P/blib/arch /etc/perl /usr/local/lib/perl/5.10.0 /
> usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/
> perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/perl /
> usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/
> perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/
> local/lib/site_perl .) at /home/hdevine/.cpan/build/Net-Twitter-2.06-
> qbl28P/blib/lib/Net/Twitter.pm line 13.
If you're not going to use Twitter, you can comment out the use
Net::Twitter at the top of the script and try to run again. If it
complains about any other line that uses it, just comment it out.
However, if you want to get Net::Twitter installed, you'll need to
first get JSON::Any installed. CPAN will generally install all
dependencies if you tell it to. If it's still failing, all I can
recommend is installing JSON::Any manually (download, make, make
install)
-Brad
More information about the mythtv-users
mailing list