Bus errorとSegmentation faultに困ったら見るブログ

物理の研究者による日々の研究生活のメモ書きです ( python/emacs/html/Japascript/シェルスクリプト/TeX/Mac/C言語/Linux/git/tmux/R/ポケモンGO)

mac portでgnuplotをインストール中にエラーで止まった【MacOS15】

Error: Failed to activate dbus: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port.  Unable to activate port dbus. Use 'port -f activate dbus' to force the activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 82)
    invoked from within
"foreach file $imagefiles {
                incr progress_step
                _progress update $progress_step $progress_total_steps
                se..."
    invoked from within
"registry::read {
            foreach file $imagefiles {
                incr progress_step
                _progress update $progress_step $progress_t..."
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_dbus/dbus/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gnuplot failed

過去の設定ファイルがきちんと消せてなかったのが原因かな?

sudo port -f activate dbus

と打ってもっかいインストールコマンドを走らせたらうまくいった

ランキング参加中です

↓クリックしていただけると嬉しいです〜