From owner-freebsd-mono@freebsd.org Sat Aug 26 22:24:40 2017 Return-Path: Delivered-To: freebsd-mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 969E9DDC619 for ; Sat, 26 Aug 2017 22:24:40 +0000 (UTC) (envelope-from alexreg@me.com) Received: from st14p31im-asmtp003.me.com (st14p31im-asmtp003.me.com [17.163.246.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D158A7F2CF for ; Sat, 26 Aug 2017 22:24:39 +0000 (UTC) (envelope-from alexreg@me.com) Received: from process-dkim-sign-daemon.st14p31im-asmtp003.me.com by st14p31im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0OVB00H00CKBXV00@st14p31im-asmtp003.me.com> for freebsd-mono@freebsd.org; Sat, 26 Aug 2017 22:24:33 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1503786272; bh=+8T1sDtIBtW7qD+h/JvUP/nn2UB14WHDNGNCmCDAjuA=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=2Tdu1//52jL2yt41wxqjSlHmpoaFu2Aq74CCDDEv+2wkN1Q3tYzCKPXmMOFCee11c A8/5N0Gk+twI7ORRIbHEiXeIBfj+RfhjRbG5EafFc4XDWgG3G5CCF4sjrC7G/2U3bl 0FkxB5zAs6MCijxMmqAuIDUqifQQae/eaC9KV07Tovfu93yFg9uV8lxeIJQP5nw242 iM3Xq7GV8OmTe65pra8wTGsLJnMMS1uPX14yDut6gcJ8hKzgKuXbmiL0Jnpa2vDJAN Kmd2nBr3Z47jt6+5alEeLzQ3xiP1w0eUlIiQW16sCQo4+4YJtX94ZE66E0ZeNSNTAg ZKCM7LsNo+evQ== Received: from icloud.com ([127.0.0.1]) by st14p31im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0OVB002P3CWUKK30@st14p31im-asmtp003.me.com>; Sat, 26 Aug 2017 22:24:32 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-26_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1708260365 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Update on porting mono 5 From: Alexander Regueiro In-reply-to: Date: Sat, 26 Aug 2017 23:24:29 +0100 Cc: Russell Haley , freebsd-mono@freebsd.org Content-transfer-encoding: quoted-printable Message-id: <8CE257C4-128B-4E5E-89F5-51707B979038@me.com> References: <20170824184423.6422611.83240.30832@gmail.com> <0434E7AC-4627-4AF1-AF70-63219E632E52@me.com> <955EEBAF-5C94-4647-AF8C-507F1B8C12C4@me.com> <78CE544C-7B29-4561-AEDB-0EF53F0C6E03@me.com> To: Ivan Radovanovic X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Aug 2017 22:24:40 -0000 Thanks for the tip, Ivan. It=E2=80=99s actually enabled by default on = Mono 5.2. A > On 26 Aug 2017, at 08:48, Ivan Radovanovic = wrote: >=20 > On 26/08/2017 02:47, Alexander Regueiro wrote: >> Thanks for the tip. In fact, it turns out I just needed to use the = `=E2=80=94disable-dtrace` option when configuring, to get rid of that = linkage error, oops! >> Here=E2=80=99s the successful procedure that I followed to build & = install Mono 5.2 on my FreeBSD 11 machine, in case it=E2=80=99s of = interest to anyone while the port is being updated. I=E2=80=99m CCing = the mailing list in case this is of use to someone. >> (Make sure beforehand you have installed ports/packages for mono [to = bootstrap], gcc, and gmake.) >> The following can be run as a bash script and should do the whole = job. >> PREFIX=3D=E2=80=9C$HOME/build/mono/=E2=80=9C && >> VERSION=3D=E2=80=9C5.2.0.215=E2=80=9D && >> FILENAME=3D=E2=80=9Cmono-$VERSION.tar.bz2=E2=80=9D && >> curl -O "https://download.mono-project.com/sources/mono/$FILENAME = =E2=80=9D && >> tar -xvf =E2=80=9C$FILENAME=E2=80=9D && >> cd =E2=80=9Cmono-$VERSION=E2=80=9D && >> ./configure =E2=80=94prefix=3D=E2=80=9C$PREFIX" --disable-nls = --disable-dtrace --build=3D"$(gcc -dumpmachine)=E2=80=9D && >> sed -EI -e "s|#define HAVE_LOCALCHARSET_H.*|#undef = HAVE_LOCALCHARSET_H|" eglib/config.h && >> mkdir -p =E2=80=9C$PREFIX=E2=80=9D && >> gmake && >> gmake install && >> echo =E2=80=9CMono $VERSION successfully built and installed to = '$PREFIX'." >> (This was inspired by the docs at = http://www.mono-project.com/docs/compiling-mono/mac/ = , but with some = significant changes.) >> Alex >=20 > I suggest enabling btls, otherwise it won't be able to connect to = servers using TLS 1.2 (unless it is enabled by default in 5.2) >=20 > Kind regards, > Ivan