perl issues after port upgrade

george vagner george at vagner.com
Thu Feb 5 22:35:30 PST 2004


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




More information about the freebsd-questions mailing list