From unknown Tue May 19 20:33:26 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#973: [X2Go-Dev] Bug#973: X2Go Client Build Issue(s) on Mac
Reply-To: Mihai Moldovan <ionic@ionic.de>, 973@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 13 Jan 2016 06:10:01 +0000
Resent-Message-ID: <handler.973.B973.14526652524673@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 973
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 973-submit@bugs.x2go.org id=B973.14526652524673
          (code B ref 973); Wed, 13 Jan 2016 06:10:01 +0000
Received: (at 973) by bugs.x2go.org; 13 Jan 2016 06:07:32 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,SPF_HELO_PASS,
	T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 506 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Wed, 13 Jan 2016 07:07:30 CET
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A0E883C574
	for <973@bugs.x2go.org>; Wed, 13 Jan 2016 07:07:30 +0100 (CET)
Received: from [IPv6:2003:73:8f28:f601:fa1e:dfff:fedd:1f7] (p200300738F28F601FA1EDFFFFEDD01F7.dip0.t-ipconnect.de [IPv6:2003:73:8f28:f601:fa1e:dfff:fedd:1f7])
	by mail.ionic.de (Postfix) with ESMTPSA id 9C9B24F09DFE;
	Wed, 13 Jan 2016 06:59:03 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1452664743; bh=X8DdMNUYVBV7HkJzS8QWWmGtrP7nF0wbLTC0+r/dWkw=;
	h=Subject:To:References:From:Cc:Date:In-Reply-To:From;
	b=r4w0lQzkgH/2YBhY/53E77RLRZd8mK1vCLbJHMCctuR9n5ulqgExPt9Slrj+r0qhZ
	 IChYQq+Ngj114LjsVbPFaKW7e3FBWvG2A4rze+CnGv0vIJ9lkWf9GufaU6iO/CL2A7
	 aNuV37Kc3jLOtLrGCNAZNgQ8S91kU1RqCLHpXOJk=
To: 973@bugs.x2go.org
References: <984A01A1-369C-466F-86EB-E486FB9D8D9E@softintel.com>
From: Mihai Moldovan <ionic@ionic.de>
X-Enigmail-Draft-Status: N1110
Cc: David Laxer <davidl@softintel.com>
Message-ID: <5695E79C.5040105@ionic.de>
Date: Wed, 13 Jan 2016 06:58:53 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0)
 Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <984A01A1-369C-466F-86EB-E486FB9D8D9E@softintel.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="Aom3s6ckxJsSsdDklqWoSB9fPSaH4OBha"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Aom3s6ckxJsSsdDklqWoSB9fPSaH4OBha
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 21.12.2015 04:17 PM, David Laxer wrote:
> Package: X2Go Client
>=20
> Version:  4.0.5.0
>=20
>=20
> I=92m trying to build X2GoClient from source and the ./macbuild.sh has =
build errors:
>=20
> g++: error: unrecognized command line option '--stdlib=3Dlibstdc++'
> g++: error: unrecognized command line option '-Xarch_x86_64'
> g++: error: unrecognized command line option '--stdlib=3Dlibstdc++'
> g++: error: unrecognized command line option '-Xarch_x86_64'

These errors likely mean that you're trying to use a compiler different f=
rom what is in the Command Line Tools as
shipped by Apple.

Try "type g++" in the terminal to determine which location g++ is taken f=
rom by your shell. Ideally it should be
/usr/bin/g++, but in your case I bet it's not. You will probably need to =
edit PATH in order to correct that problem.

(Also, I actually have a typo in the build process. --stdlib=3D... should=
 be -stdlib. clang does seem to accept both,
though, while GCC likely chokes on it, being a ported clang feature. I'll=
 correct this with the next commit to master.)



Mihai


--Aom3s6ckxJsSsdDklqWoSB9fPSaH4OBha
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJWleelAAoJEB/WLtluJTqHotAP/0JLdyWI/lwN2A3xS9U3i/mA
ddHCqZeBYO1tWCXgy1MoS6++1XZqargyDnglMJ6IJLLvcVBWaHQevUxLQjZ/HKJI
zsv8CfSAKQ4EpkvdpFFnJGBoS/s/hcOBTJr+B/bvL/zY4WDjlXdYQl9J6d2Qe71K
IpxRlaRLXa592UanJEfafoWfOFNcTMJgJfpPzIWLvzhkZFLy48mW2MkIHMRFYX2t
vN6I/cP8nZoplxtGog/fBarXR1RuCd7h8lsRXiGOfJ+ksHy99icu/CyPckO/cGYD
dd5OKWmF1xV3DnHIWUzPbvrD3UkUeWMmfuEKBVL5SLL+/k7LhvJf13uEb5p0rAlN
YNvQjmzD8sNuxQQyj7kpQ3mkWnGyi1WlWyaKioKKG9xU8AEa02ukjhY6VGo5K7O/
7S02MF3XYQr4l3LHUuXC6evjrJaMiJEizyutOMffiH2twMwDQ6pqGP22SAnxdvW4
UtIgy7Vbq7cb+DbFUyWX5tYdaEluFjbLNJAme6p+Vmm1toeS3yjc9v2lcWohAWvL
AccoY+lOL5181D3yhkYAPWEJN5JKB/g1ypcqhe6SrtPFwprutnom0UlSCNGXHjVW
CbT+xTVJWdupglRpJEr2Jjvyn6HKpnKUzefuiYpH9MNi+7gkfzuv9+MLj4IPeiek
ImaF19oJ/sJMqen6Mh0h
=HFY9
-----END PGP SIGNATURE-----

--Aom3s6ckxJsSsdDklqWoSB9fPSaH4OBha--
