Update on porting mono 5
Alexander Regueiro
alexreg at me.com
Sat Aug 26 22:24:40 UTC 2017
Thanks for the tip, Ivan. It’s actually enabled by default on Mono 5.2.
A
> On 26 Aug 2017, at 08:48, Ivan Radovanovic <radovanovic at gmail.com> wrote:
>
> 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
More information about the freebsd-mono
mailing list