perl issues after port upgrade

george vagner george at
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/
 Can't locate Text/ 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/ line 7. 
BEGIN failed--compilation aborted at /usr/local/www/cgi-bin/openwebmail/
shares/ line 7. 
this is where i found the file.


there is a directory  /usr/local/lib/perl5/site_perl/5.005
but it has no 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!


More information about the freebsd-questions mailing list