[MacPorts] #55563: pspp @1.0.1: configure failed

MacPorts noreply at macports.org
Wed Jan 10 18:49:09 UTC 2018


#55563: pspp @1.0.1: configure failed
----------------------+----------------------
  Reporter:  dr15854  |      Owner:  nerdling
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.4.2
Resolution:           |   Keywords:
      Port:  pspp     |
----------------------+----------------------

Comment (by kencu):

 Well, I think we've found part of your problem:
 {{{
 Error: Failed to activate glib2: Image error: /opt/local/bin/gdbus already
 exists and does not belong to a registered port.  Unable to activate port
 glib2. Use 'port -f activate glib2' to force the activation.
 }}}
 I don't know what this file is doing there, dangling, all by itself, but
 you'll need to overwrite it to install glib2. That file should not be
 sitting there like that.

 Part 2 of your problem is that once again, the MacPorts instructions don't
 tell you about sudo. So you follow the suggestion:
 {{{
 port -f activate glib2
 }}}
 and it doesn't work because you need `sudo` to write into the MacPorts
 directory.

 so do this:
 {{{
 sudo port -f activate glib2
 }}}
 then
 {{{
 sudo port clean pspp
 sudo port -v install pspp
 }}}
 And please report back success.

 Note: You don't _always_ need `sudo` to write into a MacPorts directory
 (if for example you put it in a suitable directory with suitable
 permissions), so the MacPorts instructions don't mention the need for
 `sudo`. But in your case, and in almost every case in fact, you will
 always need to use `sudo` to install, uninstall, or otherwise work with
 the MacPorts installation.

--
Ticket URL: <https://trac.macports.org/ticket/55563#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list