Date: Sat, 26 Aug 2017 09:48:03 +0200 From: Ivan Radovanovic <radovanovic@gmail.com> To: Alexander Regueiro <alexreg@me.com> Cc: Russell Haley <russ.haley@gmail.com>, freebsd-mono@freebsd.org Subject: Re: Update on porting mono 5 Message-ID: <ffa1b159-4a69-23b6-58c5-d2079940ad53@gmail.com> In-Reply-To: <78CE544C-7B29-4561-AEDB-0EF53F0C6E03@me.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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26/08/2017 02:47, Alexander Regueiro wrote: > Thanks for the tip. In fact, it turns out I just needed to use the `—disable-dtrace` option when configuring, to get rid of that linkage error, oops! > > Here’s the successful procedure that I followed to build & install Mono 5.2 on my FreeBSD 11 machine, in case it’s of interest to anyone while the port is being updated. I’m 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=“$HOME/build/mono/“ && > VERSION=“5.2.0.215” && > FILENAME=“mono-$VERSION.tar.bz2” && > curl -O "https://download.mono-project.com/sources/mono/$FILENAME <https://download.mono-project.com/sources/mono/$FILENAME> && > tar -xvf “$FILENAME” && > cd “mono-$VERSION” && > ./configure —prefix=“$PREFIX" --disable-nls --disable-dtrace --build="$(gcc -dumpmachine)” && > sed -EI -e "s|#define HAVE_LOCALCHARSET_H.*|#undef HAVE_LOCALCHARSET_H|" eglib/config.h && > mkdir -p “$PREFIX” && > gmake && > gmake install && > echo “Mono $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 > > 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) Kind regards, Ivan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ffa1b159-4a69-23b6-58c5-d2079940ad53>