Perl and OpenWebMail question...

Shantanoo Mahajan fbsd at dhumketu.cjb.net
Sun Nov 9 08:04:48 PST 2003


+++ Peter Elsner [freebsd] [07-11-03 16:03 -0600]:
| Hi list...
| 
| I've been using OpenWebMail with Perl 5.8.0 for some time now.  Recently 
| updated ports
| using port upgrade, and now my Perl version is 5.8.1.
| 
| chuck:root # perl -v
| 
| This is perl, v5.8.1 built for i386-freebsd
| 
| --snip--
| 
| chuck:root #
| 
| After that, OpenWebMail stopped working... I noticed also that my 
| portupgrade updated
| OpenWebMail as well, (it was 2.10 and is now 2.20).  Okay, I thought no 
| problem, I'll
| just do a "make deinstall" and "make reinstall".   But it fails with the 
| following error message
| each and every time...
| 
| ...
| 
| ===>   openwebmail-2.20 depends on file: 
| /usr/local/lib/perl5/site_perl/5.8.1/ma
| ch/Text/Iconv.pm - found
| ===>   openwebmail-2.20 depends on file: 
| /usr/local/lib/perl5/site_perl/5.8.1/ma
| ch/MIME/Base64.pm - found
| ===>   openwebmail-2.20 depends on executable: speedy_suid - found
| ===>   Generating temporary packing list
| ===>  Checking if mail/openwebmail already installed
| 12602 blocks
| 19199 blocks
| Can't locate warnings/register.pm in @INC (@INC contains: 
| /usr/local/lib/perl5/s
| ite_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 
| /usr/local/lib/perl5/si
| te_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach 
| /usr/l
| ocal/lib/perl5/5.8.0) at /usr/local/lib/perl5/site_perl/5.8.0/mach/vars.pm line
| 7.
| BEGIN failed--compilation aborted at 
| /usr/local/lib/perl5/site_perl/5.8.0/mach/v
| ars.pm line 7.
| Compilation failed in require at /dev/fd/9 line 8.
| BEGIN failed--compilation aborted at /dev/fd/9 line 8.
| speedy_backend[46985]: perl_parse error
| speedy[46983]: Cannot spawn backend process
| *** Error code 1
| 
| Stop in /usr/ports/mail/openwebmail.
| chuck:root #
| 
| So the first few dependent modules are found in the correct locations
| (/usr/local/lib/perl5/site_perl/5.8.1/mach ...  etc...
| 
| But register.pm and vars.pm are being located in 5.8.0....
| 
| I thought that since I'm no longer using 5.8.0, it shouldn't be looking 
| there, it
| should be looking in 5.8.1   But it's not.
| 
| Does anyone have any idea's as to why this is doing this?  And how I can
| go about fixing it?
| 
| Thanks in advance..
| 
| Peter Elsner
| 
| Oh by the way, I'm running 4.9-STABLE #7.
| 
| 
| 
| 
| 
| Peter Elsner - President
| peter at sri-software.com
| SRI Software
| 726 Dalworth Suite 1007
| Grand Prairie, TX. 75050
| 972-266-8870 - Voice
| 817-887-1609 - Fax
| www.sri-software.com
| 
| Service Plus(tm)
| Public Warehouse Management Software
| -------------- next part --------------

	what's the output of
	# ls -l `which suidperl`

	permissions should be 4555.  
-r-sr-xr-x  3 root  wheel  50816 Oct 29 03:26 /usr/bin/suidperl*


More information about the freebsd-questions mailing list