You are not logged in.

#1 2005-07-29 17:59:50

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Strange perl behaviour

I had no problems in my box, but this is what happened on a new Arch installation:

[root@desktop webmin]# ./start
Starting Webmin server in /opt/webmin
Can't locate Socket.pm in @INC (@INC contains: /opt/webmin /usr/lib/perl5/5.8.7/i686-linux-thread-multi /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at /opt/webmin/miniserv.pl line 6.
BEGIN failed--compilation aborted at /opt/webmin/miniserv.pl line 6.
[root@desktop webmin]# pacman -S perl
:: perl-5.8.7-1: is up to date.  Upgrade anyway? [Y/n] y

Targets: perl-5.8.7-1

Total Package Size:   11.8 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading perl... done.
adapting old version: 5.8.6... done
[root@desktop webmin]# ./start
Starting Webmin server in /opt/webmin
[root@desktop webmin]#


Needless to say, perl 5.8.6 was NEVER installed in that machine...
Is it normal for the first perl installation to behave like that?


Microshaft delenda est

Offline

#2 2005-07-29 18:55:59

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Strange perl behaviour

perl does that sometimes... someone explained the error to me, but I forgot what it was because I rarely use perl apps....

needless to say, when this does happen, a perl reinstall fixes it in like 5 seconds

Offline

#3 2005-07-29 19:28:56

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Strange perl behaviour

Ah, OK, thanks... indeed the reinstall fixed the issue, but such an error just looked not very natural to me.
The new installation runs without issues (ATM) after the perl re-install, so I don't have any real reasons to complain.
I just marked it for the case I encounter it again.
Needless to say I'm happy that a perl reinstallation is a matter of seconds in Arch, while on several popular distros it's just a huge pain in the butt...


Microshaft delenda est

Offline

Board footer

Powered by FluxBB