Re: perl issues after port upgrade

2004-02-05 Thread Nelis Lamprecht
On Fri, 2004-02-06 at 08:33, george vagner wrote:
> 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.

You'll find that all the programs you installed that required perl
before you upgraded to 5.8.2 will give you problems. My advice for you
is a re-install of all those programs. Apache if you use it will
probably also need to be re-installed. 

Regards,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
"Unix IS user friendly.. It's just selective about who its friends are."


signature.asc
Description: This is a digitally signed message part


perl issues after port upgrade

2004-02-05 Thread george vagner
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


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"