LoginSignup
0
1

More than 5 years have passed since last update.

Mac OS Mojaveインストール後brew,portエラー

Posted at

Mac OSをMojaveにアップデートしてしまい、

brew、portコマンドが使用できなくなってしまい、、

sudo port install phpadmin

  • Error: Current platform "darwin 18" does not match expected platform "darwin 17" Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration OS platform mismatch while executing "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch

sw_vers

ProductName: Mac OS X
ProductVersion: 10.14
BuildVersion: 18A391

darwinのバージョンまで調べることができなかった。
参照:OS Xでバージョンをコマンドラインから確認する方法

参照URLによると、"About This Mac"の"System Report"から、SystemInformationを開き、SoftwareOverviewから確認をすることができるようだ。
Screen Shot 2018-10-04 at 19.27.14.png
Screen Shot 2018-10-04 at 19.27.18.png

MacPortの最新版インストーラーを、公式から拝借し、インストーラーを実行する。

バージョンが古かったので、下記のURLにあったコマンドがエラーとなっていた。
あとは、、メッセージにあったhttps://trac.macports.org/wiki/Migrationに従う。

macportのアップデートは完了した。次は、Xcodeだ。
Xcode最新版でエラー

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1