[MonoDevelop] Fw: MonoDevelop for FreeBSD?

Russell Haley russ.haley at gmail.com
Fri Aug 14 06:05:33 UTC 2015


Thanks, that worked like a charm! KqueueMonitor still seems broken, but at
least I can use MD. It seems that the landing page when mono is started may
be the source of the problem, but I don't know for sure.

I've found two things in your build that make building on FreeBSD difficult:

1)
>From scripts/configure.sh:
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

This fails because it assumes the shell is bash. The fix that was suggested
to me was to prefix the command with env SHELL=/usr/local/bin/bash. My file
now looks like this:











*#Don't assume sh is bashenv SHELL=/usr/local/bin/bashDIR="$( cd "$(
dirname "${BASH_SOURCE[0]}" )" && pwd )"if [ ! -f $DIR/configure.exe ];
then        mcs $DIR/configure.cs -out:$DIR/configure.exefiLANG=C mono
$DIR/configure.exe "$@"*

2) the file main/Makefile has a target called restore-packages that
contains this:
 *nuget restore*

which fails utterly. I replaced it with this:


*#Magic! Monodevelop needs mozroots*


*mozroots --import --sync mono ${CURDIR}/external/nuget-binary/NuGet.exe
restore*

and was successful.

Is this enough notification or would you like me to make a pull request
from github?

Thanks,

Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20150813/612a2bda/attachment.html>


More information about the Monodevelop-list mailing list