Subject: Bug#973: X2Go issue (in src:x2goclient) has been marked as pending for release

From: Mihai Moldovan <[email-masked]>
Date: Wed, 13 Jan 2016 19:23:12 +0100

On 13.01.2016 06:52 PM, David Laxer wrote:
> Yep.  It’s getting the Macports one first:
> 
> David-Laxers-MacBook-Pro:~ davidlaxer$ whereis g++
> /usr/bin/g++
> David-Laxers-MacBook-Pro:~ davidlaxer$ which g++
> /opt/local/bin/g++

And that's exactly the problem. You'll need to edit PATH to (temporarily) to not prefer the MacPorts prefix.

echo "$PATH"

With this information, re-arrange the values like so:

PATH=/usr/bin:/usr/sbin:...:/opt/local/bin:/opt/local/sbin ./macbuild.sh

Where "..." means anything you have in-between. If you also have /opt/local/libexec/gnubin in there, move it before
/opt/local/bin.

Mihai