From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 12:34:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC28C16A4CE for ; Wed, 7 Jul 2004 12:34:35 +0000 (GMT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73DB443D2D for ; Wed, 7 Jul 2004 12:34:35 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (103-62-118-80.kaptech.net [80.118.62.103]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id E785914B650; Wed, 7 Jul 2004 14:37:07 +0200 (CEST) Message-ID: <019c01c4641e$c204fdc0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Andrew Nelson" , References: Date: Wed, 7 Jul 2004 14:34:32 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: FreeBSD 5.2.1 - P5-Proc::ProcessTable and other modules notworking? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 12:34:36 -0000 "Andrew Nelson" wrote: > > I've upgraded from FreeBSD 4.8 to 5.2.1 and have > noticed a number of script don't work... One perl > module i've found so far is: which perl version are you using ? # type perl # perl -V do you still have the old FreeBSD 4.8 base system perl ? or are you running perl from ports ? # ls -l /usr/bin/perl* lrwxr-xr-x 1 root wheel 19 May 1 13:42 /usr/bin/perl -> /usr/local/bin/perl lrwxr-xr-x 1 root wheel 19 Dec 4 2003 /usr/bin/perl5 -> /usr/local/bin/perl lrwxr-xr-x 1 root wheel 19 May 1 13:42 /usr/bin/perl5.8.2 -> /usr/local/bin/perl > Proc::ProcessTable. The subroutines just return > no result (even the examples given at CPAN). it works, here ! PID TTY STAT START COMMAND ... 52884 /dev/ttyp0 pause Sun Jun 20 02:27:50 2004 -ksh ... do you have /proc mounted ? # mount -t procfs procfs on /proc (procfs, local) do you install p5-Proc-ProcessTable from ports or packages ? is it in the right place (mine goes in /usr/local/lib/perl5/site_perl/5.8.4 instead of /usr/local/lib/perl5/site_perl/5.8.2 since I don't have an up-to-date perl) ? # pkg_info -L p5-Proc-ProcessTable* > Another script (which uses flow-tools) has started > using an enormous amount of memory.. All versions > are the same except for actual FreeBSD. don't know this one. > Can anyone help? Do I need to re-install FreeBSD > to a lower version? If so, what version? Cyrille Lefevre. -- mailto:clefevre-lists@9online.fr