From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 01:46:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8C0116A4CE for ; Sat, 22 Nov 2003 01:46:30 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 606BC43FE0 for ; Sat, 22 Nov 2003 01:46:29 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.24 #1 (FreeBSD 4.9)) id 1ANULS-000IGZ-SE by authid for ; Sat, 22 Nov 2003 12:46:26 +0300 Date: Sat, 22 Nov 2003 12:46:26 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20031122094626.GB20469@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.4i (2003-03-19) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 12:42PM up 2 days, 18:52, 3 users, load averages: 1.95, 2.18, 2.39 User-Agent: Mutt/1.5.4i Subject: Perl configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 09:46:31 -0000 I decided that I did not want perl 5.8.1 directory hanging around on my box, so I hosed the directories referring to it. That did not look quite suicidal though, since I though thet everything is configurable. Now the only thing I'd like is to change the perl configuration - I don't want any appls I run to try including 5.8.1 in their search paths, but which file do I edit? For example this: beastie# apachectl graceful httpd not running, trying to start [Sat Nov 22 12:34:32 2003] [error] Can't locate strict.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.1/mach /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.1/BSDPAN /usr/local/lib/perl5/5.8.1/mach /usr/local/lib/perl5/5.8.1 . /usr/local/ /usr/local/lib/perl) at /opt/rt3/bin/webmux.pl line 26. BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 26. I already did rm -rf /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1 Where is the file to modify so that I can point to 5.8.2 and not 5.8.1 ? tia -Wash -- |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 + Lactomangulation, n.: Manhandling the "open here" spout on a milk carton so badly that one has to resort to using the "illegal" side. -- Rich Hall, "Sniglets"