Re: Updating Perl..

2009-04-05 Thread Matthew Seaman

Leslie Jensen wrote:

Hello list.

When one updates perl, one should rebuild all ports dependend on perl 
according to the UPDATING file.


I'm just wondering, isn't the script perl-after-upgrade supposed to do 
the work needed, so that one can save the time of upgrading the ports?


It depends on the upgrade.  For 5.8.8 - 5.8.9 then perl-after-upgrade
works fine: this is because there is binary compatibility so that .so
modules compiled for 5.8.8 will load just fine into 5.8.9. The work of
perl-after-upgrade is simply to move files from
/usr/local/lib/perl/site_perl/5.8.8 to .../5.8.9

For the upgrade from 5.8.[89] to 5.10.0, there is no binary compatibility
so all perl modules that install loadable binaries will have to be
recompiled.  Rather than trying to produce a long list of what modules
are pure perl and what aren't the advice is simply to reinstall everything.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Error after updating Perl

2009-04-04 Thread Leslie Jensen
I updated Perl and it went ok. But when I want to rebuild the ports 
depending on perl I get the error below.



portmaster -o lang/perl5.10 lang/perl5.8


===  Cleaning for perl-5.10.0_1

=== Updating package dependency entry for each dependent port

=== Delete perl-5.8.9.tar.bz2? [n] y
=== Delete BSDPAN-5.8.9_20090303.tar.bz2? [n] y
=== Delete defined-or-5.8.9.bz2? [n] y
=== Delete old and new distfiles for lang/perl5.8
   without prompting? [n] y
=== Upgrade of perl-5.8.9_2 to perl-5.10.0_1 complete






:portmaster -r perl\*


=== No ORIGIN in /var/db/pkg/perl-5.10.0_1/+CONTENTS:@comment 
ORIGIN:lang/per
l5.10 /var/db/pkg/perltidy-20071205/+CONTENTS:@comment 
ORIGIN:devel/perltidy/+CO

NTENTS
=== Aborting update




I've been looking in the +CONTENTS files for perl and perltidy, but it's 
not obvious to me where the error is.


Does anyone have an idea on what I should do?


Thanks

/Leslie




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error after updating Perl..Not fixed, but portupgrade can build!

2009-04-04 Thread Leslie Jensen




:portmaster -r perl\*


=== No ORIGIN in /var/db/pkg/perl-5.10.0_1/+CONTENTS:@comment 
ORIGIN:lang/per
l5.10 /var/db/pkg/perltidy-20071205/+CONTENTS:@comment 
ORIGIN:devel/perltidy/+CO

NTENTS
=== Aborting update




I've been looking in the +CONTENTS files for perl and perltidy, but it's 
not obvious to me where the error is.


Does anyone have an idea on what I should do?


Thanks

/Leslie



The command

portupgrade -fr perl

Does not produce the error!

/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Updating Perl..

2009-04-04 Thread Leslie Jensen

Hello list.

When one updates perl, one should rebuild all ports dependend on perl 
according to the UPDATING file.


I'm just wondering, isn't the script perl-after-upgrade supposed to do 
the work needed, so that one can save the time of upgrading the ports?


Thanks.

/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


updating perl

2005-06-25 Thread dave
Hello,
Trying to update my perl port from 5.8.6 to 5.8.7. The updating of perl
itself went fine, but all the dependent ports on it like swatch, php, etc.
previously referenced modules that were included in 5.8.6, now they're not
working. What extra step do i do?
Thanks.
Dave.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating perl

2005-06-25 Thread John Webster
Read /usr/ports/UPDATING:

20050624:
  AFFECTS: users of lang/perl5.8
  AUTHOR: [EMAIL PROTECTED]

  lang/perl5.8 has been updated to 5.8.7.  You should update
  everything depending on perl.  The easiest way to do that is
  to use perl-after-upgrade script supplied with lang/perl5.8.
  Please see its manual page for details.



--On Saturday, June 25, 2005 12:45:37 -0400 dave [EMAIL PROTECTED] wrote:

 Hello,
 Trying to update my perl port from 5.8.6 to 5.8.7. The updating of perl
 itself went fine, but all the dependent ports on it like swatch, php, etc.
 previously referenced modules that were included in 5.8.6, now they're not
 working. What extra step do i do?
 Thanks.
 Dave.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 





pgpjECJ5RqTXO.pgp
Description: PGP signature


Re: updating perl

2005-06-25 Thread Dick Hoogendijk
On 25 Jun John Webster wrote:
 Read /usr/ports/UPDATING:
 
 20050624:
   AFFECTS: users of lang/perl5.8
   AUTHOR: [EMAIL PROTECTED]
 
   lang/perl5.8 has been updated to 5.8.7.  You should update
   everything depending on perl.  The easiest way to do that is
   to use perl-after-upgrade script supplied with lang/perl5.8.
   Please see its manual page for details.

In other words:

run perl-after-upgrade (note the remarks)
run perl-after-upgrade -f (to make the changes)

Never updated a perl version easier before!
What a relief.. this script :-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating perl

2005-06-25 Thread Chris
Dick Hoogendijk wrote:
 On 25 Jun John Webster wrote:
 
Read /usr/ports/UPDATING:

20050624:
  AFFECTS: users of lang/perl5.8
  AUTHOR: [EMAIL PROTECTED]

  lang/perl5.8 has been updated to 5.8.7.  You should update
  everything depending on perl.  The easiest way to do that is
  to use perl-after-upgrade script supplied with lang/perl5.8.
  Please see its manual page for details.
 
 
 In other words:
 
 run perl-after-upgrade (note the remarks)
 run perl-after-upgrade -f (to make the changes)
 
 Never updated a perl version easier before!
 What a relief.. this script :-)
 

HA! It seems my Amavis/SA sure dont like it. I had to backpeddle perl so
the mail server would work.

-- 
Best regards,
Chris

The man who has no more problems is out of the game.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-07 Thread Tuc
Hi,

Who do I contact to see if they can add a step to the UPDATING 
document in ports to make sure/remind/etc people to use.perl port before
upgrading all the modules?

Thanks, Tuc/TTSG Internet Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-07 Thread Matthew Seaman
On Fri, May 07, 2004 at 10:13:14AM -0400, Tuc wrote:

   Who do I contact to see if they can add a step to the UPDATING 
 document in ports to make sure/remind/etc people to use.perl port before
 upgrading all the modules?

Try contacting the maintainer of the perl ports: 

% cd /usr/ports/lang/perl5.8
% make -V MAINTAINER

It might be more worthwhile to put in a pkg-message, which should be
displayed any time anyone installs the port or the pkg built from it.

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


UPDATING - perl

2004-05-02 Thread Tuc
Hi,

Trying to upgrade my perl as mentioned in /usr/ports/UPDATING :

20040204:
  AFFECTS: 5.2-CURRENT users who started with a 5.2-RELEASE or older.

  Change the default version of perl to 5.8.

  1) Force perl-5.6.1 to be upgraded with perl-5.8.
portupgrade -o lang/perl5.8 -f perl-5.6.1_15

  2) Update all p5-* modules.
portupgrade -f p5-\*

And the first step goes fine, but when I do the second step it seems
to want to go back to loading/installing perl 5.6.1 . I CTRL-C'd it before
it got too far. Is it ok to allow it to continue? Is there a step that
should be changed/added?

Thanks, Tuc/TTSG Internet Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-02 Thread Matt Emmerton
 Hi,

 Trying to upgrade my perl as mentioned in /usr/ports/UPDATING :

 20040204:
   AFFECTS: 5.2-CURRENT users who started with a 5.2-RELEASE or older.

   Change the default version of perl to 5.8.

   1) Force perl-5.6.1 to be upgraded with perl-5.8.
 portupgrade -o lang/perl5.8 -f perl-5.6.1_15

   2) Update all p5-* modules.
 portupgrade -f p5-\*

 And the first step goes fine, but when I do the second step it seems
 to want to go back to loading/installing perl 5.6.1 . I CTRL-C'd it before
 it got too far. Is it ok to allow it to continue? Is there a step that
 should be changed/added?

cvsup ports-all first?

--
Matt Emmerton

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-02 Thread Tuc
 
 cvsup ports-all first?
 
Done. Did it just before I started.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-02 Thread Kent Stewart
On Sunday 02 May 2004 04:25 pm, Tuc wrote:
  cvsup ports-all first?

   Done. Did it just before I started.


I think you need to run use.perl port before you update your p5-*

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-02 Thread Kiel Stirling
On Mon, 2004-05-03 at 09:29, Kent Stewart wrote:
 On Sunday 02 May 2004 04:25 pm, Tuc wrote:
   cvsup ports-all first?
 
  Done. Did it just before I started.
 
 
 I think you need to run use.perl port before you update your p5-*
 

I thought you did this after upgrading?

-- 
Regards,
 
Kiel R Stirling.
[Systems Admin/Programmer]
[Planet Netcom P/L][http://portal.pnc.com.au]
[+61 417 735 743 +61 2 4724 7013]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-02 Thread Tuc
 
 On Sunday 02 May 2004 04:25 pm, Tuc wrote:
   cvsup ports-all first?
 
  Done. Did it just before I started.
 
 
 I think you need to run use.perl port before you update your p5-*
 
Thats what I wondered, how they were getting around that part. Thought
maybe the way the portupgrade was done it somehow might have gotten around it
or done it on its own or something.

Ok, after I do that, it doesn't seem to want to load 5.6.1 anymore.

Besides a p5 module, is there other commands I should run to update
other things that depend on perl? (I wanted this mainly for the perl part of
GAIM).

Thanks, Tuc/TTSG Internet Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-02 Thread Kent Stewart
On Sunday 02 May 2004 04:39 pm, Tuc wrote:
  On Sunday 02 May 2004 04:25 pm, Tuc wrote:
cvsup ports-all first?
  
 Done. Did it just before I started.
 
  I think you need to run use.perl port before you update your p5-*

   Thats what I wondered, how they were getting around that part.
 Thought maybe the way the portupgrade was done it somehow might have
 gotten around it or done it on its own or something.

What I see is a link to the current version and I run use.perl port 
after every update of perl.


   Ok, after I do that, it doesn't seem to want to load 5.6.1 anymore.

   Besides a p5 module, is there other commands I should run to update
 other things that depend on perl? (I wanted this mainly for the perl
 part of GAIM).



portupgrade -f  automake

It has the current version of perl as the first line of code.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-02 Thread Kent Stewart
On Sunday 02 May 2004 04:35 pm, Kiel Stirling wrote:
 On Mon, 2004-05-03 at 09:29, Kent Stewart wrote:
  On Sunday 02 May 2004 04:25 pm, Tuc wrote:
cvsup ports-all first?
  
 Done. Did it just before I started.
 
  I think you need to run use.perl port before you update your p5-*

 I thought you did this after upgrading?

The upgrade from 5.6 to 5.8 is the upgrade. You want to use it to build 
the p5-* and other ports that depend on perl.

You also see links in /usr/bin and /usr/local/bin that use.perl port 
creates. I want to make sure they point to the latest version and not 
the one I updated.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]