forum.netbsd.se - NetBSD Sweden

You are not logged in.

#1 2009-05-14 21:46:35

billy
Member
From: Bulgaria
Registered: 2009-05-14
Posts: 1
Website

NetBSD 5.0 and Perl

Hello everyone, I am running NetBSD os and can't  install perl script for using sysinfo at my eggdrop. I have install perl from pkgsrc and after have download and install perl, but when I type !sysinfo in irc eggdrop tells me "Perl script is not executable or doesn't exist." but when I try to run local this perl script from eggdrop/scripts dir, nbsd tells me:

nt001# ./sysinfo278.10.pl
Use of uninitialized value $cpu[0] in join or string at ./sysinfo278.10.pl line 275.
Use of uninitialized value $cpu in substitution (s///) at ./sysinfo278.10.pl line 371.
Use of uninitialized value $cpu in substitution (s///) at ./sysinfo278.10.pl line 372.
Use of uninitialized value $cpu in concatenation (.) or string at ./sysinfo278.10.pl line 390.
Hostname: nt001 - OS: NetBSD 5.0/i386 - CPU:  - Processes: 38 - Uptime: 21h 4m - Users: 1 - Load Average: 0.02 - Memory Usage: 248.68MB/511.56MB (48.61%) - Disk Usage: 2.24GB/17.46GB (12.85%)
nt001#

I think there have some problems who I must fix, but dunno what to install more sad can anybody help please:?

Last edited by billy (2009-05-14 21:47:38)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB