From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 22:35:30 2004 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 6E20716A4CE for ; Thu, 5 Feb 2004 22:35:30 -0800 (PST) Received: from ns1.vagner.com (ns1.vagner.com [65.39.87.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D9D43D1D for ; Thu, 5 Feb 2004 22:35:29 -0800 (PST) (envelope-from george@vagner.com) Received: from localhost (localhost [127.0.0.1]) by ns1.vagner.com (8.12.11/8.12.10) with ESMTP id i166ZQ90027212 for ; Thu, 5 Feb 2004 23:35:26 -0700 (MST) (envelope-from george@vagner.com) Received: from ns1.vagner.com ([127.0.0.1]) by localhost (ns1.vagner.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27186-01 for ; Thu, 5 Feb 2004 23:35:24 -0700 (MST) Received: from 192.168.0.6 (c-65-97-24-21.va.client2.attbi.com [65.97.24.21]) (authenticated bits=0) by ns1.vagner.com (8.12.11/8.12.10) with ESMTP id i166Y3dt027199 for ; Thu, 5 Feb 2004 23:35:22 -0700 (MST) (envelope-from george@vagner.com) From: george vagner To: questions@freebsd.org Date: Fri, 6 Feb 2004 01:33:41 -0500 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402060133.42608.george@vagner.com> X-Virus-Scanned: by amavisd-new at vagner.com Subject: perl issues after port upgrade 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: Fri, 06 Feb 2004 06:35:30 -0000 I upgraded perl via ports to 5.8.2 and typed in "use.perl port" as it said and now i am getting problems with my scripts such as. Message: Premature end of script headers: /usr/local/www/cgi-bin/openwebmail/ openwebmail-send.pl Can't locate Text/Iconv.pm in @INC (@INC contains: /usr/local/lib/perl5/ site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 /usr/ libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/www/cgi-bin/ openwebmail) at /usr/local/www/cgi-bin/openwebmail/shares/iconv.pl line 7. BEGIN failed--compilation aborted at /usr/local/www/cgi-bin/openwebmail/ shares/iconv.pl line 7. this is where i found the iconv.pm file. /usr/local/lib/perl5/site_perl/5.8.2/mach/Text/Iconv.pm there is a directory /usr/local/lib/perl5/site_perl/5.005 but it has no iconv.pm file in it. I am thinking I may need a link to the new perl but dont know the correct syntax of how to apply it. I thought i might make a link from the 5.005 to the 5.8.2 directory but am afraid it may be incorrect to do it this way and need suggestions. thanks for the support! George