Perl and OpenWebMail question...

2004-10-09 Thread Victor Hugo Bilouro
hi,
to resolv type:
# use.perl port
The OS will use perl 5.8
regards
Bilouro
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl and OpenWebMail question...

2003-11-09 Thread Shantanoo Mahajan
+++ 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
| [EMAIL PROTECTED]
| 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*
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Perl and OpenWebMail question...

2003-11-07 Thread Peter Elsner
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
[EMAIL PROTECTED]
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

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl and OpenWebMail question...

2003-11-07 Thread Matthew Seaman
On Fri, Nov 07, 2003 at 04:03:12PM -0600, Peter Elsner wrote:
 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...

You need to run

# use.perl port

again.  What's happening is that your /etc/make.conf file still
contains the PERL_VERSION as 5.8.0, which causes any perl modules to
be installed into a directory outside the usual @INC path.  Plus if
fixes up some other locations where the perl version is referenced.

Running perl -e 'print join( \n, @INC ), \n;' should return a list
of directories with the version string 5.8.1 in them:

% perl -e 'print join( \n, @INC ), \n;'
/usr/local/lib/perl5/site_perl/5.8.1/mach
/usr/local/lib/perl5/site_perl/5.8.1
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.1/BSDPAN
/usr/local/lib/perl5/5.8.1/mach
/usr/local/lib/perl5/5.8.1
.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature