|
| Author |
Message |
erasmus Newbie

Joined: 29 Dec 2005 Posts: 5
    
|
Posted: Thu Dec 29, 2005 1:31 am Post subject: Problems Running Net::OSCAR on SSH |
|
|
Hi. I've been trying to load a bot in Perl using Net::OSCAR and so far it works on a UNIX system with Perl 5.6.1 built for Sun4-Solaris. But I need to move it to an SSH server running Perl 5.6.1 built for Sun4-Solaris-64int, and I've been having problems loading it there.
Net::OSCAR seems to be having a problem loading the Digest::MD5 package. It says it can't find a loadable object module for it, but that problem vanished when I replaced MD5.pm with a different MD5.pm from my computer. And I'm not sure I was even supposed to do that. But now when loading Scalar::Util qw(dualvar), I get an error saying that dualvar is available on the XS version only. I've made sure that the XS package is installed on the server, and on the UNIX system, none of these errors occurred.
So my question is, does anyone have any idea what might be causing these errors? Or is it just that it's not possible to run Net::OSCAR on SSH? It's strange because it works perfectly on the UNIX system, but won't run on the SSH one. Does anyone have any help, ideas, anything? Any assistance would be greatly appreciated. |
|
| Back to top |
|
 |
mat007 Almost An Agent

Joined: 12 Jan 2004 Posts: 1375
   votes: 2
|
Posted: Thu Dec 29, 2005 6:55 pm Post subject: |
|
|
Why are you trying to run the module, you run it via your perl script ? |
|
| Back to top |
|
 |
erasmus Newbie

Joined: 29 Dec 2005 Posts: 5
    
|
Posted: Thu Dec 29, 2005 8:40 pm Post subject: |
|
|
| What I mean is, when I run my perl script, it gives me those errors. And through debugging and investigating, I've found that the errors occur when Perl reaches those lines of code in OSCAR/Common.pm that load Scalar::Util and Digest::MD5. |
|
| Back to top |
|
 |
alienz Almost An Agent

Joined: 22 Mar 2004 Posts: 1436 Location: Mars
 
|
Posted: Fri Dec 30, 2005 10:23 pm Post subject: Re: Problems Running Net::OSCAR on SSH |
|
|
| erasmus wrote: | Hi. I've been trying to load a bot in Perl using Net::OSCAR and so far it works on a UNIX system with Perl 5.6.1 built for Sun4-Solaris. But I need to move it to an SSH server running Perl 5.6.1 built for Sun4-Solaris-64int, and I've been having problems loading it there.
Net::OSCAR seems to be having a problem loading the Digest::MD5 package. It says it can't find a loadable object module for it, but that problem vanished when I replaced MD5.pm with a different MD5.pm from my computer. And I'm not sure I was even supposed to do that. But now when loading Scalar::Util qw(dualvar), I get an error saying that dualvar is available on the XS version only. I've made sure that the XS package is installed on the server, and on the UNIX system, none of these errors occurred.
So my question is, does anyone have any idea what might be causing these errors? Or is it just that it's not possible to run Net::OSCAR on SSH? It's strange because it works perfectly on the UNIX system, but won't run on the SSH one. Does anyone have any help, ideas, anything? Any assistance would be greatly appreciated. |
Try running the current version of Perl, that would probably help. _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com |
|
| Back to top |
|
 |
erasmus Newbie

Joined: 29 Dec 2005 Posts: 5
    
|
Posted: Sat Dec 31, 2005 10:11 pm Post subject: |
|
|
Unfortunately, Perl 5.6.1 is all that's available on the server I'm using. I thought that would be fine, since the Net::OSCAR module says 5.6.1 is all it requires.
What servers do you guys use to run your bots from that support 5.8? |
|
| Back to top |
|
 |
alienz Almost An Agent

Joined: 22 Mar 2004 Posts: 1436 Location: Mars
 
|
Posted: Sat Dec 31, 2005 10:29 pm Post subject: |
|
|
5.8 is available for Solaris. _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com |
|
| Back to top |
|
 |
erasmus Newbie

Joined: 29 Dec 2005 Posts: 5
    
|
Posted: Sun Jan 01, 2006 5:13 am Post subject: |
|
|
| I'm not the root, so I can't install a new version of Perl. |
|
| Back to top |
|
 |
alienz Almost An Agent

Joined: 22 Mar 2004 Posts: 1436 Location: Mars
 
|
Posted: Sun Jan 01, 2006 4:48 pm Post subject: |
|
|
| erasmus wrote: | | I'm not the root, so I can't install a new version of Perl. |
Well you're out of luck then, because your problems with MD5 likely have to do with your version of Perl, sorry. _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com |
|
| Back to top |
|
 |
erasmus Newbie

Joined: 29 Dec 2005 Posts: 5
    
|
Posted: Sun Jan 01, 2006 8:24 pm Post subject: |
|
|
| Well the UNIX server on which the Bot program does work is also using Perl 5.6.1 and the bot's working fine there. |
|
| Back to top |
|
 |
alienz Almost An Agent

Joined: 22 Mar 2004 Posts: 1436 Location: Mars
 
|
Posted: Sun Jan 01, 2006 10:21 pm Post subject: Re: Problems Running Net::OSCAR on SSH |
|
|
| erasmus wrote: | | for Sun4-Solaris-64int. |
If you meant to say this was a 64 bit version of Solaris, then that is likely part of the problem also. _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com |
|
| Back to top |
|
 |
|