User Control Panel
Advertisements

HELP US, HELP YOU!

Problems Running Net::OSCAR on SSH

 
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions
View unanswered posts
Author Message
erasmus
Newbie
Newbie


Joined: 29 Dec 2005
Posts: 5

Reputation: 4.4Reputation: 4.4Reputation: 4.4Reputation: 4.4

PostPosted: Thu Dec 29, 2005 1:31 am    Post subject: Problems Running Net::OSCAR on SSH Reply with quote

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
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Thu Dec 29, 2005 6:55 pm    Post subject: Reply with quote

Why are you trying to run the module, you run it via your perl script Rolling Eyes ?
Back to top
erasmus
Newbie
Newbie


Joined: 29 Dec 2005
Posts: 5

Reputation: 4.4Reputation: 4.4Reputation: 4.4Reputation: 4.4

PostPosted: Thu Dec 29, 2005 8:40 pm    Post subject: Reply with quote

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
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Fri Dec 30, 2005 10:23 pm    Post subject: Re: Problems Running Net::OSCAR on SSH Reply with quote

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
Newbie


Joined: 29 Dec 2005
Posts: 5

Reputation: 4.4Reputation: 4.4Reputation: 4.4Reputation: 4.4

PostPosted: Sat Dec 31, 2005 10:11 pm    Post subject: Reply with quote

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
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sat Dec 31, 2005 10:29 pm    Post subject: Reply with quote

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
Newbie


Joined: 29 Dec 2005
Posts: 5

Reputation: 4.4Reputation: 4.4Reputation: 4.4Reputation: 4.4

PostPosted: Sun Jan 01, 2006 5:13 am    Post subject: Reply with quote

I'm not the root, so I can't install a new version of Perl.
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sun Jan 01, 2006 4:48 pm    Post subject: Reply with quote

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
Newbie


Joined: 29 Dec 2005
Posts: 5

Reputation: 4.4Reputation: 4.4Reputation: 4.4Reputation: 4.4

PostPosted: Sun Jan 01, 2006 8:24 pm    Post subject: Reply with quote

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
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sun Jan 01, 2006 10:21 pm    Post subject: Re: Problems Running Net::OSCAR on SSH Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group