Re: pearl má problémy se závislostma-BSD 12

Marek Soudny soumar at linux.fjfi.cvut.cz
Tue Jan 22 09:45:40 CET 2019


> taka mě napadlo se podívat po vyšší verzi a tu 5,28 jsem nainstaloval. Ale
> na začátku instalace bylo upozornění, že mám někde něco přepsat aby byla
> default verze 5,28. Jenže než jsem se rozkoukal, tak se rozběhla instalace
> a já se už na to nedostanu, abych si to přečet.

Rec byla pravdepodobne o make.conf, a ze tam mas pridat volbu 
"DEFAULT_VERSIONS+= perl5=5.28"

> Můžeš mi prosím napsat nějakej blbuvzdornej návod jak ty závislosti
> updatnout?

Tady zalezi na tom, jakou metodu instalace/kompilace pouzivas. Nicmene z 
/usr/ports/UPDATING:

20181213:
   AFFECTS: users of lang/perl5*
   AUTHOR: mat at FreeBSD.org

   The default Perl version has been switched to Perl 5.28.  If you are 
using
   binary packages to upgrade your system, you do not have anything to 
do, pkg
   upgrade will do the right thing.  For the other people, follow the
   instructions in entry 20161103, it should still be the same.


20161103:
   AFFECTS: users of lang/perl5*
   AUTHOR: mat at FreeBSD.org

   The default Perl version has been switched to Perl 5.24.  If you are 
using
   binary packages to upgrade your system, you do not have anything to 
do, pkg
   upgrade will do the right thing.  For the other people, assuming you are
   migrating from 5.20 to 5.24, do:

   First, add to /etc/make.conf:

   DEFAULT_VERSIONS+=  perl5=5.24

   Portupgrade users:
         portupgrade -o lang/perl5.24 -f lang/perl5.20

           You can now remove the DEFAULT_VERSIONS line added earlier
           from /etc/make.conf

           Then you will need to rebuild everything that uses 
libperl.so, you
           can do so with:

         portupgrade -f `pkg shlib -qR libperl.so.5.20`

   Portmaster users:
         portmaster -o lang/perl5.24 lang/perl5.20

           You can now remove the DEFAULT_VERSIONS line added earlier
           from /etc/make.conf

           Then you will need to rebuild everything that uses 
libperl.so, you
           can do so with:

         portmaster -f `pkg shlib -qR libperl.so.5.20`



Tedy pridas DEFAULT_VERSIONS to /etc/make.conf a pak zalezi, jestli 
pouzivas portupgrade:

portupgrade -o lang/perl5.28 -f lang/perl5.26
portupgrade -f `pkg shlib -qR libperl.so.5.26`

anebo portmaster:

portmaster -o lang/perl5.28 lang/perl5.26
portmaster -f `pkg shlib -qR libperl.so.5.26`

Marek


More information about the Users-l mailing list