You are not logged in.

#1 2004-05-13 18:35:13

bigh
Member
From: Zurich, Switzerland
Registered: 2004-03-23
Posts: 62

perl script for xchat doesnt work

I like to start a perl script for xchat.

Thats my problem:

Can't locate Socket.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i686-linux /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 3) line 31.

line 31 is "use Socket;"

I tried also use IO::Socket; but that changes nothing.
Anyone knows whats the problem or wich perl-modul isnt on my system?

btw: sry for the bad english..

Offline

#2 2004-05-13 20:47:39

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: perl script for xchat doesnt work

[i'm a newbie in perl]

what pkg has IO::Socket in it? (it do not come with perl, that's sure, because i also cannot load it)

[/i'm a newbie in perl]


The impossible missions are the only ones which succeed.

Offline

#3 2004-05-14 06:46:31

bigh
Member
From: Zurich, Switzerland
Registered: 2004-03-23
Posts: 62

Re: perl script for xchat doesnt work

I just found and installed the following package:

io-socket-ssl 0.95-3

Perl Module: Nearly transparent SSL encapsulation for IO::Socket::INET.

But it doesnt work eighter.

Offline

#4 2004-05-14 11:47:34

zezaz
Member
From: Bordeaux, France
Registered: 2004-04-26
Posts: 80
Website

Re: perl script for xchat doesnt work

bigh wrote:

Thats my problem:

line 31 is "use Socket;"

I tried also use IO::Socket; but that changes nothing.
Anyone knows whats the problem or wich perl-modul isnt on my system?

Hello  bigh,

Socket and IO::Socket are standard perl modules:

me@here:~/tmp]$ tar tvzf perl-5.8.4.tar.gz  | grep Socket.pm
-r--r--r-- nwc10/nwc10   11882 2003-08-13 21:55:04 perl-5.8.4/ext/IO/lib/IO/Socket.pm
-r--r--r-- nwc10/nwc10    9801 2004-04-01 17:58:43 perl-5.8.4/ext/Socket/Socket.pm

In Arch they should belong to the perl package (i don't have an Arch box at the moment to confirm it more explicitely). So it is strange that neither Socket.pm nor IO/Socket.pm can be found in your @INC on your host.

Hope it helps anyway smile

Offline

#5 2004-05-14 15:39:31

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: perl script for xchat doesnt work

xchat probably needs to be compiled for the new version of perl.  Try recompiling it (or the perl scripts that it uses) and see if that fixes it.  If it does, you can submit a bug to have the official package recompiled.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB