Date: Sat, 26 Aug 2017 23:24:29 +0100 From: Alexander Regueiro <alexreg@me.com> To: Ivan Radovanovic <radovanovic@gmail.com> Cc: Russell Haley <russ.haley@gmail.com>, freebsd-mono@freebsd.org Subject: Re: Update on porting mono 5 Message-ID: <8CE257C4-128B-4E5E-89F5-51707B979038@me.com> In-Reply-To: <ffa1b159-4a69-23b6-58c5-d2079940ad53@gmail.com> References: <AC5B4074-19CE-460F-BA28-2FCD847DCC5D@me.com> <20170824184423.6422611.83240.30832@gmail.com> <0434E7AC-4627-4AF1-AF70-63219E632E52@me.com> <CABx9NuQV27%2BGHgOz6P0QTU_zZ3VP8beYDbMs8RrYkJ7eR%2BnwdQ@mail.gmail.com> <955EEBAF-5C94-4647-AF8C-507F1B8C12C4@me.com> <CABx9NuQgKZqO43pNDjxhMFKtc1nfkWJw8AV4s3VWmW_KWaAmow@mail.gmail.com> <78CE544C-7B29-4561-AEDB-0EF53F0C6E03@me.com> <ffa1b159-4a69-23b6-58c5-d2079940ad53@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <radovanovic@gmail.com> = 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 = <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/ = <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8CE257C4-128B-4E5E-89F5-51707B979038>