Re: Failures after upgrading perl
On Wed, 9 Feb 2005 10:07:59 - , in local.freebsd.questions you wrote: >I have a 4.7-based system I use as a mail gateway. Yesterday I >did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that >I have no incoming mail, due to mimedefang no longer functioning: Bang my head against a wall and repeat ten times: "I will read /usr/ports/UPDATING *before* I do a portupgrade, not after!". ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Failures after upgrading perl
Jim Hatfield wrote: I have a 4.7-based system I use as a mail gateway. Yesterday I did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that I have no incoming mail, due to mimedefang no longer functioning: But pkg_info shows p5-MIME-Base64 as present! And it is, but not on any of the directories on the @INC path It seems to think it's dependent on perl 5.6.1, which isn't present, then wants to install 5.6.2, which is already installed. Do I have to remove and reinstall all the perl addons due to the upgrade of the perl version? You should read UPDATING in your ports directory, there you'll find the instructions on how to update perl: 20050201: AFFECTS: users of lang/perl5 and lang/perl5.8 lang/perl5 has been updated to 5.6.2, and lang/perl5.8 has been updated to 5.8.6. you should update everything depending on perl, that is: * first, upgrade your perl installation (use either lang/perl5 or lang/perl5.8, the latter being recommended); * for FreeBSD 4.X, run "use.perl port", so that the system knows you have 5.8.6 or 5.6.2; this step is not needed on FreeBSD 5.X and FreeBSD -CURRENT; * run some magic incantations to upgrade all ports depending on perl, that is run something like : portupgrade -f `(pkg_info -R perl-5\* |tail +4; \ find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \ | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u` This is likely to fail for a few ports, you'll have to upgrade them afterwards by hand. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Failures after upgrading perl
I have a 4.7-based system I use as a mail gateway. Yesterday I did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that I have no incoming mail, due to mimedefang no longer functioning: >Feb 9 09:56:39 highland mimedefang-multiplexor[91186]: Slave 0 stderr: Can't >locate MIME/Base64.pm in @INC (@INC contains: >/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.6.2/mach >/usr/local/lib/perl5/site_perl/5.6.2 >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd >/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl >/usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach >/usr/local/lib/perl5/5.6.2 .) at >/usr/local/lib/perl5/site_perl/5.6.1/MIME/Words.pm line 85. BEGIN >failed--compilation aborted at /usr/local/lib/perl5/site_per But pkg_info shows p5-MIME-Base64 as present! And it is, but not on any of the directories on the @INC path: >highland# find /usr/local/lib -name Base64.pm -print >/usr/local/lib/perl5/site_perl/5.6.1/mach/MIME/Base64.pm >/usr/local/lib/perl5/site_perl/5.6.1/MIME/Decoder/Base64.pm If I try a portupgrade -f it seems to get confused about perl versions: >highland# portupgrade -f p5-MIME-Base64 >---> Reinstalling 'p5-MIME-Base64-3.05' (converters/p5-MIME-Base64) >---> Building '/usr/ports/converters/p5-MIME-Base64' >===> Cleaning for perl-5.6.2_2 >===> Cleaning for p5-MIME-Base64-3.05 >===> Vulnerability check disabled >===> Extracting for p5-MIME-Base64-3.05 >=> Checksum OK for MIME-Base64-3.05.tar.gz. >===> p5-MIME-Base64-3.05 depends on file: /usr/local/bin/perl5.6.1 - not >found >===>Verifying install for /usr/local/bin/perl5.6.1 in /usr/ports/lang/perl5 >===> Vulnerability check disabled >===> Extracting for perl-5.6.2_2 >=> Checksum OK for perl-5.6.2.tar.gz. >=> Checksum OK for BSDPAN-5.6.2.tar.gz. It seems to think it's dependent on perl 5.6.1, which isn't present, then wants to install 5.6.2, which is already installed. Do I have to remove and reinstall all the perl addons due to the upgrade of the perl version? And what's the "mach" directory for? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"