CONTENTS


Lastmodified 2024-07-25 (木) 11:30:19


www2

/etc/make.conf

DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
######### DEFAULT_VERSIONS+= perl5=5.36
DEFAULT_VERSIONS+= python=3.9 python3=3.9

/usr/ports/UPDATING

  727  16:01   portupgrade -o lang/perl5.36 -f lang/perl5.34
  728  16:02   portupgrade -f `pkg shlib -qR libperl.so.5.34`
  729  16:16   /usr/ports/lang/perl5.36
  730  16:16   cd /usr/ports/lang/perl5.36
  731  16:16   make reinstall clean
  732  16:17   pkg delete perl5.36-5.36.3_1
  733  16:17   make install clean
 

smb212

/etc/make.conf

#DEFAULT_VERSIONS+=  perl5=5.32
NO_SENDMAIL= true
OPTIONS_UNSET+=X11
DEFAULT_VERSIONS+= bdb=18
WITH_BDB6_PERMITTED=yes
########################################### ↓ これを追加
DEFAULT_VERSIONS+= python=3.9 python3=3.9
# portupgrade -r --batch apache24-2.4.58_2
[Reading data from pkg(8) ... - 450 packages found - done]
** Port marked as IGNORE: www/apache24:
       Invalid perl5 version 5.34
--->  Skipping 'www/mod_php81' (mod_php81-8.1.27_1) because a requisite package 'apache24-2.4.58_2' (www/apache24) failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - www/apache24 (marked as IGNORE)
        * www/mod_php81 (mod_php81-8.1.27_1)

と言われる。perl はインストールされていないが

/usr/ports/UPDATING

によれば、20231017 にデフォルトのパールバージョンが変更されている。

20231017:
  AFFECTS: users of lang/perl5*
  AUTHOR: delphij@FreeBSD.org

  The default Perl version has been switched to Perl 5.36.  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.34 to 5.36, do:

  First, add to /etc/make.conf:

  DEFAULT_VERSIONS+=  perl5=5.36
 
  Portupgrade users:
	portupgrade -o lang/perl5.36 -f lang/perl5.34

	  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.34`

	  If, for some reason, this command fails at one point, it is safe to
	  run it again, it will not rebuild what it already rebuilt, as the
	  ports that have been rebuilt no longer depend on libperl.so.5.34 but
	  on libperl.so.5.36.

にしたがって、先ず /etc/make.conf に DEFAULT_VERSIONS+= perl5=5.36 を追加

ついで 

portupgrade -o lang/perl5.36 -f lang/perl5.34

インストール後

DEFAULT_VERSIONS+=  perl5=5.36

をコメントアウト。で

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

を実行。

これで、

# portupgrade -r --batch apache24-2.4.58_2

が実行された。


Total access 130:本日 1:昨日 0

Counter: 130, today: 1, yesterday: 0

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS