Last edit
Summary: Rollback to 2008-05-14 10:04 UTC
Changed:
< When I check my Pidgin About box, I see that Perl is enabled. But see below! I have a [http://www.cygwin.com/ Cygwin] Perl and an [http://www.activestate.com/Products/activeperl/ ActivePerl] installed. When I run perl from the command line, I get Cygwin Perl. I don't see the Twitter plugin in my list at Tools -> Plugins. :(
< == Start Fixing Your Environment ==
to
> When I check my Pidgin About box, I see that Perl is enabled. I have a [http://www.cygwin.com/ Cygwin] Perl and an [http://www.activestate.com/Products/activeperl/ ActivePerl] installed. When I run perl from the command line, I get Cygwin Perl. I don't see the Twitter plugin in my list at Tools -> Plugins. :(
Deleted:
< Same output but now I get a message box about failing to start because *perl58.dll* was not found. Damn, I installed Perl 5.10! But you can find it on the net. [http://www.dlllab.com/getdll/23823.html]
< I put it into the Pidgin\perlmod directory where Pidgin.dll and Purple.dll are.
< Try again...
I was trying to use twitter.pl from pidgin-twitterstatus according to a blog post by Daily Gian but had some problems. Here’s how I solved them. I’ve sent this stuff to the plugin maintainer; I’m not sure what he’ll do with this.
Anyway… Gian says the following:



When I check my Pidgin About box, I see that Perl is enabled. I have a Cygwin Perl and an ActivePerl installed. When I run perl from the command line, I get Cygwin Perl. I don’t see the Twitter plugin in my list at Tools → Plugins. 
When I switch to C:\Program Files\Pidgin\plugins and try to run Perl on twitter.el (just to check that everything works fine) I get the following problem:
C:\Program Files\Pidgin\plugins>perl -I ../perlmod twitter.pl Can't load '../perlmod/Purple.dll' for module Purple: No such file or directory at /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230. at twitter.pl line 1 Compilation failed in require at twitter.pl line 1. BEGIN failed--compilation aborted at twitter.pl line 1.

Try again:
C:\Program Files\Pidgin\plugins>set Path=C:/Perl/bin;%Path% C:\Program Files\Pidgin\plugins>perl -I ../perlmod twitter.pl Can't load '../perlmod/Purple.dll' for module Purple: load_file:The specified mo dule could not be found at C:/Perl/lib/DynaLoader.pm line 230. at twitter.pl line 1 Compilation failed in require at twitter.pl line 1. BEGIN failed--compilation aborted at twitter.pl line 1.
Plus I get a message box about failing to start because libglib-2.0-0.dll was not found.
I find that Gimp comes with this library.
Try again:
C:\Program Files\Pidgin\plugins>set Path=C:\Program Files\GIMP-2.0\bin;%Path% C:\Program Files\Pidgin\plugins>perl -I ../perlmod twitter.pl
Same output but now I get a message box about failing to start because libpurple.dll was not found. This one comes with Pidgin!
Try again, this time in the same directory as purple.dll:
C:\Program Files\Pidgin>perl -I perlmod plugins\twitter.pl
Same output but now I get a message box about failing to start because perl.dll was not found. This one is in the plugins directory.
Try again, adding all the paths:
C:\Program Files\Pidgin\plugins>set Path=C:\Program Files\Pidgin;C:\Program Files\Pidgin\plugins;%Path%
Now we’re getting somewhere:
C:\Program Files\Pidgin>perl -I perlmod plugins\twitter.pl Can't locate XML/XPath.pm in @INC (@INC contains: perlmod C:/Perl/lib C:/Perl/si te/lib .) at plugins\twitter.pl line 4. BEGIN failed--compilation aborted at plugins\twitter.pl line 4.
I probably installed XML::XPath for the other Perl installation. Using ppm3.bat to install XML-XPath and trying again…
Now I finally get no output.
So now I’m prepending this to my system’s Path environment variable: C:\Program Files\Pidgin;C:\Program Files\Pidgin\plugins;C:\Program Files\GIMP-2.0\bin;C:\Perl\bin 
And I get a Twitter Status Feed 0.1 plugin listed! 
I configured it by setting my Twitter name, added myself as my own buddy just to double check, waited for a minute, but apparently my latest Twitter status is not showing up. I check http://code.google.com/p/pidgin-twitterstatus/downloads/list again and find that there is a 0.2.1 version listed that doesn’t match what I downloaded. Weird. 
I close Pidgin, copy the new one into my plugins directory, delete the existing twitter.pl, restart Pidgin, reenable the plugin, check the configuration (my name is still there), and it works! My Pidgin status message is changed to my latest Twitter status message.
