richard5mith / usermesh

Your blog posts and your Twitter, Facebook and Foursquare posts all in one single self-hosted stream.
www.usermesh.org
GNU General Public License v2.0
3 stars 0 forks source link

how to solve the error: Can't locate Net/Twitter/Lite.pm #2

Open luckypoem opened 10 years ago

luckypoem commented 10 years ago

hi.

wget http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-LibYAML-0.41.tar.gz tar zxvf YAML-LibYAML-0.41.tar.gz cd YAML-LibYAML-0.41 perl Makefile.PL  make  make test make install

wget http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Text-Unidecode-0.04.tar.gz tar zxvf Text-Unidecode-0.04.tar.gz cd Text-Unidecode-0.04 perl Makefile.PL  make  make test make install

cpan App::cpanminus (遇到提问时,统统输入yes,回车)

wget http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-0.4007.tar.gz tar zxvf Module-Build-0.4007.tar.gz cd Module-Build-0.4007 perl Makefile.PL  make  make test make install

wget http://search.cpan.org/CPAN/authors/id/M/MM/MMIMS/Net-Twitter-Lite-0.12004.tar.gz tar zxvf Net-Twitter-Lite-0.12004.tar.gz cd Net-Twitter-Lite-0.12004 cpanm Test::Fatal cpanm Net::OAuth perl Build.PL 

as3:~/usermesh# ./setadminpassword.pl yourpassword as3:~/usermesh# nano config/main.yaml as3:~/usermesh# hypnotoad usermesh.pl

then i met the error: Can't locate Net/Twitter/Lite.pm in @INC... then i run: cd /usr/lib/perl5 find -type d | xargs chmod o+rx find -type f | xargs chmod o+r cpan LWP::UserAgent

as3:/usr/lib/perl5# cd ~/usermesh as3:~/usermesh# hypnotoad usermesh.pl (i still met the error.SO HOW TO FIX THE ERROR?TKS)

richard5mith commented 10 years ago

Did you actually install Net::Twitter::Lite? It looks like you downloaded it, then didn't do the build and install step you did on the rest.

Also, with the current version uploaded here, it won't work since Twitter changed their API. So after you have that module installed, so there are still errors when you try and use the Twitter integration.

I have a significantly updated version to commit that will fix that problem and a few others, but it's going to be November before that goes up due to other commitments.

luckypoem commented 10 years ago

hi. i'm expecting ur significantly updated version...

luckypoem commented 10 years ago

hi.

can u provide a version without twitter component?

richard5mith commented 10 years ago

It won't make any difference, your error is because you don't have the module installed properly. From your commands, you didn't install it.

Even if you had installed it properly, this Github release still wouldn't work. It doesn't generate pages properly, and Twitter have also changed their API meaning that it's using the wrong version of that module. I simply haven't had time to do something about all of these issues.

luckypoem commented 10 years ago

hi. now do u have time to fix the issues?