Subject: | Cannot locate Scribe/Thrift/FacebookService.pm |
Date: | Thu, 9 Feb 2012 15:54:54 -0800 |
To: | bug-File-Tail-Scribe [...] rt.cpan.org |
From: | Bernie David <bernie [...] speedshiftmedia.com> |
This is, I admit, probably not a bug but a failing of my installation process.
I have installed thrift (0.4.0) and scribe and they are working. I believe I have followed the steps in http://notes.jschutz.net/2009/04/perl-client-for-facebooks-scribe-logging-software/ to make the Scribe::, Thrift::, and Facebook::FB303:: modules work, but I am getting the example error below with scribe_cat.pl or tail_to_scribe.pl:
$ perl -I/usr/local/lib/perl5 /usr/local/bin/scribe_cat.pl
Can't locate Scribe/Thrift/FacebookService.pm in @INC (@INC contains: /usr/local/lib/perl5/x86_64-linux-thread-multi /usr/local/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at /usr/local/lib/perl5/Scribe/Thrift/scribe.pm line 12.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/Scribe/Thrift/scribe.pm line 12.
Compilation failed in require at /usr/local/share/perl5/Log/Dispatch/Scribe.pm line 11.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Log/Dispatch/Scribe.pm line 11.
Compilation failed in require at /usr/local/bin/scribe_cat.pl line 10.
BEGIN failed--compilation aborted at /usr/local/bin/scribe_cat.pl line 10.
The modules are:
tree /usr/local/lib/perl5/Scribe/
/usr/local/lib/perl5/Scribe/
└── T
├── Constants.pm
├── scribe.pm
└── Types.pm
tree /usr/local/lib/perl5/Thrift
/usr/local/lib/perl5/Thrift
├── BinaryProtocol.pm
├── BufferedTransport.pm
├── FramedTransport.pm
├── HttpClient.pm
├── MemoryBuffer.pm
├── Protocol.pm
├── Server.pm
├── Socket.pm
└── Transport.pm
tree /usr/local/lib/perl5/Facebook/
/usr/local/lib/perl5/Facebook/
└── FB303
├── Constants.pm
├── FacebookService.pm
└── Types.pm
Thanks for your help.
Regards
Bernie David
Web Developer, Speed Shift Media
bernie@speedshiftmedia.com
tel 604.520.6587 | fax 1.866.597.5016