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

MacPorts noreply at macports.org
Thu Jan 11 15:36:42 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 dr15854):

 Installation was unsuccessful. It gave an error about requiring GTK+ 3.0.
 we have tried to install from the website using their commands, and we
 have been unsuccessful. I have attached the entire terminal output,
 including the results of the suggested steps.

 Please provide next steps. Thank you.



 -----Original Message-----
 From: MacPorts <noreply at macports.org>
 Reply-To: "macports-dev at lists.macports.org" <macports-
 dev at lists.macports.org>
 Date: Wednesday, January 10, 2018 at 1:49 PM
 To: "dr15854 at hotmail.com" <dr15854 at hotmail.com>, "snc at macports.org"
 <snc at macports.org>
 Cc: "macports-tickets at lists.macports.org" <macports-
 tickets at lists.macports.org>
 Subject: Re: [MacPorts] #55563: pspp @1.0.1: configure failed

 #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

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


More information about the macports-tickets mailing list